Commit Graph

51844 Commits

Author SHA1 Message Date
Corey McKrill b389a4e8ae
Add changelog file 2023-04-11 15:58:27 -07:00
Corey McKrill d8ec0490cb
Add unit test 2023-04-11 15:55:27 -07:00
Corey McKrill d4d375e874
WC_Data: Add method `delete_matched_meta_data`
Brings the CRUD layer's meta data handling closer to parity with
WP by allowing for selectively deleting meta entries with a specific
key only if they contain a specific value.

Fixes #37650
2023-04-11 15:51:38 -07:00
Corey McKrill 7fe96ac988
Don't hardcode table prefixes 2023-04-11 14:36:32 -07:00
Paul Sealock c4a7e9a11b
Monorepo CLI tooling: Set folder organisation (#37561) 2023-04-12 09:26:21 +12:00
Ron Rennick 450d9e9c8c
FlexSlider uses Web Animations API for "slide" instead of $.animate() (#36987) 2023-04-11 16:50:59 -03:00
Moon 30536f636e
Check min. WP and PHP versions before suggesting plugins (#37611)
* Add min_php_version for google and pinterest extensions

* Hide extensions that do not meet the min php version requirement.

* Add min_wp_version

* Add changelog

* Revert code style
2023-04-11 12:22:15 -07:00
Ron Rennick 9ee2307b65 Merge branch 'trunk' into flexcss 2023-04-11 16:00:53 -03:00
Maikel David Pérez Gómez f5591b7c9a
Add track inventory field to inventory section (#37585) 2023-04-11 11:52:20 -07:00
Barry Hughes f45e112f65
Update/contribution guide 2023 03 03 (#37559) 2023-04-11 08:37:50 -07:00
Maikel David Pérez Gómez 8354ae2792
Create schedule sale pricing block (#37567)
* Create schedule sale pricing block

* Add auto show/hide and clean fields depending on the initial values

* Add validations to From and To dates fields

* Add changelog files

* Align block with the figma design

* Revert linter replacement in the editor global style.scss file

* Fix some words typos

* Move and rename schedule sale block to the blocks folder

* Load datetime format from @wordpress/date instead of using the woo options datastore

* Remove the min difference using by moment to compare dates from 'minute' to undefined

* Make sure the dates are normalized for comparison
2023-04-11 10:53:37 -04:00
Nathan Silveira fa4dd90401
Change link all variations label (#37632) 2023-04-11 11:44:27 -03:00
Darren Ethier 50593c5257
Fix issue that breaks the WooCommerce Home Page when Gutenberg 15.5 is active (#37641)
Co-authored-by: Ilyas Foo <foo.ilyas@gmail.com>
Co-authored-by: Chi-Hsuan Huang <chihsuan.tw@gmail.com>
Co-authored-by: rjchow <me@rjchow.com>
2023-04-11 15:27:38 +08:00
Chi-Hsuan Huang 4cc6644c8b
Add default priority for countries that don't exist in payment recommendation map (#37590)
* Add default priority for countries that are not in the payment recommendation map

* Add changelog

* Add doc

* Fix linting
2023-04-11 14:13:59 +08:00
Nathan Silveira 5d68259480
Add different confirmation message when attribute is used in a variation (#37527)
* Add different confirmation message when attribute is used in a variation

* Update logic to only consider checkbox checked value when prompting message
2023-04-10 17:44:51 -03:00
Jorge A. Torres 18d00cadd0 Consider ‘auto-draft’ the same as ‘pending’ for orders
This for backwards compat with CPT
2023-04-10 15:11:03 -05:00
Jorge A. Torres 4e16e6117b Add changelog 2023-04-10 14:20:20 -05:00
Jorge A. Torres 4873f7c2c5 Test auto-draft deletion 2023-04-10 14:20:20 -05:00
Jorge A. Torres dec3dda375 Periodically delete auto-draft orders older than a week 2023-04-10 14:20:20 -05:00
Jorge A. Torres 9d60bf90ed Create orders as ‘auto-draft’ instead of ‘pending’ in the admin 2023-04-10 14:13:00 -05:00
Jorge A. Torres 2c626fe854 Add auto-draft to orders list table 2023-04-10 14:11:08 -05:00
Ron Rennick 054471618e
Dev - Add customer object parameter to taxable address filter (#37426) 2023-04-10 13:36:06 -03:00
Matt Sherman a054ddbf50
Beta Tester: Update WCA Test Helper option modal to show full option name (#37495)
* Adjust options modal so that option name is not cut off

* Changelog
2023-04-10 08:36:13 -04:00
Matt Sherman 5dda0aac48
Beta Tester: Update WCA Test Helper Features list (#37483)
* Alphabetize features list

* Use toggles instead of button for features

* Changelog
2023-04-10 08:34:38 -04:00
“Chris 0863a76ce1 Add changelog 2023-04-10 14:27:20 +03:00
“Chris 0bc31867a4 Print block-based css classes only on fse themes 2023-04-10 14:25:19 +03:00
Corey McKrill 62ceb8e08b
Add changelog file 2023-04-07 17:30:31 -07:00
Corey McKrill 208fa5ea00
Add unit tests 2023-04-07 17:21:12 -07:00
Corey McKrill ad565bd853
Add table name methods to OrderUtil
Adds methods to determine the names of the database tables currently
being used for orders and order meta, without needing to make a separate
check first to see if HPOS is enabled and in use.
2023-04-07 15:40:44 -07:00
Corey McKrill 152f0d3793
Make HPOS migration more strict by removing IGNORE. (#37595) 2023-04-07 12:30:48 -07:00
Jorge A. Torres c0efe1f2f5
Remove double checking for woocommerce_tax_display_cart filter (#37617) 2023-04-07 08:43:27 -05:00
Vedanshu Jain 40d823df5c Coding standard fix. 2023-04-07 18:31:21 +05:30
Vedanshu Jain 835d089fb7 Add changelog. 2023-04-07 18:11:32 +05:30
Vedanshu Jain e85e68e0c5 Merge branch 'trunk' into pr/36885 2023-04-07 18:07:24 +05:30
Vedanshu Jain e0327e3223 Fixup in unit test. 2023-04-07 18:06:55 +05:30
Barry Hughes 2396eb8e4c
Add link to GitHub Discussions per DevAdv feedback. 2023-04-06 12:24:35 -07:00
Ron Rennick ac06ebda1d
Enable WebP images in WooCommerce (#37307) 2023-04-06 16:22:48 -03:00
Barry Hughes 7cde8d500e
Merge branch 'trunk' into update/contribution-guide-2023-03-03 2023-04-06 12:15:00 -07:00
Anastasio 0d93e92bd1 Merge remote-tracking branch 'upstream/trunk' into woocommerce-webp-support 2023-04-06 21:39:42 +03:00
Ron Rennick b0f042e252 Merge branch 'trunk' into woocommerce-webp-support 2023-04-06 14:54:41 -03:00
Ron Rennick 8be211b45b
Change default order to ‘date DESC’ in orders list table (#37565) 2023-04-06 14:27:09 -03:00
Joshua T Flowers 868fbbf23a
Register product editor blocks server-side (#37339)
* Move product block editor to new feature name

* Register all blocks and block assets server-side

* Add changelog entry

* Disable phpcs rule for file_get_contents
2023-04-06 10:13:48 -07:00
Vedanshu Jain 322639bb7e Extra protection for empty order key orders.
Some order can have order key set to empty string. This commit disallows fetching those orders via key at DB level (its already disallowed from interface).
2023-04-06 21:06:38 +05:30
Vedanshu Jain 232a98317a Add changelog. 2023-04-06 20:48:45 +05:30
Vedanshu Jain 7f00d211d1 Make migration more strict by removing IGNORE. 2023-04-06 20:48:11 +05:30
Vedanshu Jain ebb43378a1 Remove unique constraint from order_key to prevent empty key conflict. 2023-04-06 20:46:59 +05:30
Vedanshu Jain dbb4bd5e27 Dont store order failures when verbose is enabled to save memory. 2023-04-06 15:23:19 +05:30
Vedanshu Jain 6eca1ed561 Prevent errors from being logged twice when verbose is passed. 2023-04-06 15:14:06 +05:30
github-actions[bot] 33352895bc
Delete changelog files based on PR 37569 (#37581)
Delete changelog files for 37569

Co-authored-by: WooCommerce Bot <no-reply@woocommerce.com>
2023-04-06 01:56:28 +02:00
Joel Thiessen 07b84051b2
Adding charge sales tax field to product block editor template (#37582) 2023-04-05 16:23:58 -07:00