Commit Graph

12321 Commits

Author SHA1 Message Date
Matt Sherman d53966018d Include template events in script sent to client 2023-11-14 16:22:56 -05:00
Matt Sherman efe4b45d9a Update logging calls 2023-11-14 16:13:39 -05:00
Matt Sherman 0648b064ba Refactor logging and add template events 2023-11-14 16:13:39 -05:00
Matt Sherman 7b2767aa57
Template API: Only generate templates on WCA routes (#41410) 2023-11-14 15:47:20 -05:00
Žiga Sancin 62d21cc03d
Check if $data['billing_email'] is set (#41098)
* Check if $data['billing_email'] is set

Checks if $data['billing_email'] is set in the create_order function. Fixes #41097

* Add changelog entry

Adds the changelog entry for #41097
2023-11-14 19:18:42 +00:00
Nathan Silveira 55766ac140
Template API: Conditional disabling support (#41307)
* Add disable conditions functionality to back-end

* Evaluate _templateBlockDisableConditions in registerWooBlockType

* Add 'disabled' support for number, pricing, and text

* Add disabled support for checkbox

* Add disabled for taxonomy block

* Add changelogs

* Update documentation

* Add unit tests

* Augment attribute with disabled in back-end

* Fix disabled styling

* Remove disabled from toggle since it's being added for all blocks

* Improve CSS for disabled fields

* Only add disabled attribute when it's not added on the block json and refactor

* Allow adding disable conditions in the constructor

* Fix lint issue

* Fix test

* Add disableConditions to dependencies
2023-11-14 13:17:34 -03:00
Sagar Tamang 7ec5a88573
[Enhancement]: Added a new parameter $status_transition to the woocommerce_order_status_$status_transition["to"] hook. (#41051)
* Added a new parameter $status_transition to the woocommerce_order_status_$status_transition["to"] hook.

* Added changelog

* fix - phpcs errors

* Added version to the hook
2023-11-14 12:06:30 +00:00
github-actions[bot] 8f819f60ae
Delete changelog files based on PR 41409 (#41428)
Delete changelog files for 41409

Co-authored-by: WooCommerce Bot <no-reply@woo.com>
2023-11-14 18:30:16 +08:00
jonathansadowski e5cbf82781
Update/wp 6.4 (#41409)
* Update woocommerce.php required WP version for 6.4 release

* Update readme.txt for WP 6.4 release

* Add changefile(s) from automation for the following project(s): woocommerce

---------

Co-authored-by: github-actions <github-actions@github.com>
2023-11-14 18:10:30 +08:00
Eason efd2ae7e0a
Fix the slides overlapping on the Marketing > Coupon page (#41155)
* Fix the slides overlapping on the Marketing > Coupon page.

* Add changelog
2023-11-14 10:23:08 +08:00
Matt Sherman 48f0e14ba4 Changelog 2023-11-13 15:05:03 -05:00
Matt Sherman 4b3ee3c13d Move creation and registration of templates to only WCA admin pages, right before sent to client 2023-11-13 15:03:52 -05:00
Matt Sherman 3dbd06ef1b Remove setting template on productBlockEditorSettings 2023-11-13 14:43:57 -05:00
Maikel David Pérez Gómez fac0669fc8
Hide virtual & downloadable sections when the product type is 'variable' (#41331)
* Show virtual and downloadable features in simple product and variations only

* Add changelog file

* Fix php linter errors
2023-11-13 14:00:24 -05:00
Matt Sherman a8e996a0ff Refactor editor settings to separate function 2023-11-13 13:38:59 -05:00
Matt Sherman 9e292485c3 Refactor and remove unused init code 2023-11-13 13:32:47 -05:00
Mike Jolley 4e31ee605b Changelog 2023-11-13 14:52:51 +00:00
Mike Jolley 795117f711 Bump version in composer.json 2023-11-13 14:51:49 +00:00
nigeljamesstevenson 86a0e26f07
Add filter to remove some of the `order-received` page protections (#41347) 2023-11-13 10:14:34 +00:00
Barry Hughes 70154d5476
Reduce risk of accessing a property on a non-object while disabling autosave. 2023-11-10 16:32:41 -08:00
barryhughes 6f5708b396 Changelog. 2023-11-10 15:40:14 -08:00
Corey McKrill 5b9231edce
Fix typographic quotes used in HTML attributes (#41320)
Fixes #41179
2023-11-10 12:21:54 -08:00
Leif Singer be76c3c341
update references to woocommerce.com to now reference woo.com (#41241) 2023-11-10 20:47:58 +01:00
Barry Hughes 8134a9237c
Use consistent sanitization on tax classes (#41220) 2023-11-10 11:40:18 -08:00
Veljko V f51995a470
Add new E2E tests to cover Shopper Cart Block (#40522)
* Add new e2e tests to cover shopper cart block first part

* Add changelog

* Add more tests to cover coupons

* Update coupon tests to include discounts

* Split cart block tests and update tests

* Add E2E tests for cart block shipping

* Add tests for shopper cart block calculating tax

* Remove test.skip

* Add a workaround for filling shipping due to issue found

* Improve welcome modal closure

---------

Co-authored-by: Jon Lane <jon.lane@automattic.com>
2023-11-10 11:14:47 -08:00
Barry Hughes ab10a660e7
Minor tweak to changelog. 2023-11-10 10:59:06 -08:00
Veljko V ffe90ce432
Add new test scenario for mini-cart inclusive tax price (#41064)
* Update mini-cart test to include tax scenario

* Include changelog file

* Move changelog file to the right place

* Update taxing options

* Update calculation for tax price

* Remove only parameter

* Improve closing welcome popup if prompted

---------

Co-authored-by: Jon Lane <jon.lane@automattic.com>
2023-11-10 10:40:04 -08:00
Barry Hughes 9e0fbe8606
PHPCS fix. 2023-11-10 10:38:04 -08:00
Leif Singer 15058e1654 Revert "bump template versions"
This reverts commit 2ec041c9a0.
2023-11-10 19:13:51 +01:00
Leif Singer 09040b134f Revert "bump all edited templates to @version 8.4.0"
This reverts commit c788c8f9fa.
2023-11-10 19:13:06 +01:00
Leif Singer 030d67531f Woocommerce → WooCommerce (when used in prose only) 2023-11-10 16:13:06 +01:00
Leif Singer 5944fdcdff replace developer.woocommerce.com with developer.woo.com 2023-11-10 16:09:27 +01:00
Leif Singer 1e1fec80aa capitalize Woo.com when used in a sentence 2023-11-10 15:49:08 +01:00
Leif Singer c4cddc1eac wp_kses_post instead of esc_html as WC_Helper_Updater::get_updates_count_html returns HTML 2023-11-10 15:49:08 +01:00
Leif Singer 6ef64d5328 add back in woocommerce.com as a soon-to-be legacy check for the plugin URL 2023-11-10 15:49:08 +01:00
Leif Singer 96717cc3dc remove superfluous "here"
Co-authored-by: Corey McKrill <916023+coreymckrill@users.noreply.github.com>
2023-11-10 15:49:08 +01:00
Leif Singer 1c4215fd07 capitalize Woo.com when used in a sentence
Co-authored-by: Corey McKrill <916023+coreymckrill@users.noreply.github.com>
2023-11-10 15:49:08 +01:00
Leif Singer e4cae54e5a capitalize Woo.com when used in a sentence
Co-authored-by: Corey McKrill <916023+coreymckrill@users.noreply.github.com>
2023-11-10 15:49:08 +01:00
Leif Singer 8f901fa0e0 capitalize Woo.com when used in a sentence
Co-authored-by: Corey McKrill <916023+coreymckrill@users.noreply.github.com>
2023-11-10 15:49:08 +01:00
Leif Singer 1d052f2761 capitalize Woo.com when used in a sentence
Co-authored-by: Corey McKrill <916023+coreymckrill@users.noreply.github.com>
2023-11-10 15:49:08 +01:00
Leif Singer c788c8f9fa bump all edited templates to @version 8.4.0 2023-11-10 15:49:08 +01:00
Leif Singer 2ec041c9a0 bump template versions 2023-11-10 15:49:08 +01:00
Leif Singer 682ee2eba7 appease the linter 2023-11-10 15:49:08 +01:00
Leif Singer 0d344bf5d6 skip a test that is waiting for a fix from WooCommerce Blocks 2023-11-10 15:49:08 +01:00
Leif Singer caedd5ce91 fix linter findings in woocommerce 2023-11-10 15:49:08 +01:00
Leif Singer ab94bf8550 fix linter findings in woocommerce-admin 2023-11-10 15:49:08 +01:00
Leif Singer fb4da57966 more linter work 2023-11-10 15:49:08 +01:00
Leif Singer 075a520952 undo changes to test fixtures 2023-11-10 15:49:08 +01:00
Leif Singer 351d7f458b fix typo in test_wc_rest_urlencode_rfc3986 2023-11-10 15:49:08 +01:00
Leif Singer eb5a8a65f8 add changelog files 2023-11-10 15:49:08 +01:00