* Fix site visibility badge style
* Add changefile(s) from automation for the following project(s): woocommerce
---------
Co-authored-by: github-actions <github-actions@github.com>
* Update Block References doc
* Move the Block References to public Docs
* Change the place Block Reference is generated to
* Add changelog
* Update docs manifest file
* Update manifest
* Ensure WC's customer and cart props are initialized
If the customer or cart property of the main WooCommerce class is
accessed before the `woocommerce_init` action has fired, those
properties will be `null` instead of containing their respective
classes, which can cause a fatal error if you then try to access a
method on one of the classes. This makes sure the props will always
return a class.
Fixes#50245
* Revert "Ensure WC's customer and cart props are initialized"
This approach unexpectedly breaks a lot of things...
This reverts commit 310fd2c118.
* Alternate solution
The attempt to fix the problem wholistically ended up causing a lot of
things to break, so this is the band-aid approach instead.
* Add changelog file
* Remove unnecessary assignment to global POST var
This was polluting the results of the new test, causing it to fail.
* Remove usage of `prepare_item_for_response` function
* Add changefile(s) from automation for the following project(s): woocommerce
---------
Co-authored-by: github-actions <github-actions@github.com>
* Detect Legacy Template block when it's inside a pattern
* Detect Single Product blocks when they are inside a pattern
* Typo
* Remove empty error messages
* Fix wrong variable passed to parse_blocks()
* Remove unnecessary parameters
* Add tests to check if the Single Product template contents are updated when the Legacy Template is in the content
* Add changelog file
* Linting
* Typo
* Make sure the correct template is used when deciding whether to disable the compatibility layer or not
* Simplify code
* Remove duplicate content in tests
* Simplify single product slug logic
* Add an extra test to make sure Single Product template logic doesn't leak into other templates
* Linting
---------
Co-authored-by: Sam Seay <samueljseay@gmail.com>
The support for such property was removed in woocommerce/woocommerce-admin#4858 ~4 years ago.
Co-authored-by: github-actions <github-actions@github.com>
* Remove title attribute from images in product gallery
* Remove wp-post-image class from image selector
* Scope the image locator to the link
* Add changelog file
* Move image params filter out of wp_get_attachment_image call
* Add docblock to the woocommerce_gallery_image_html_attachment_image_params filter
* Remove unnecessary empty space
* Set the regular price when the `Change to:` price is left empty
* Avoid fatal error when price is empty
* Add changefile(s) from automation for the following project(s): woocommerce
* Add e2e test
* Fix lint errors
---------
Co-authored-by: github-actions <github-actions@github.com>
* CYS - Move the ai/store-title endpoint to woocommerce admin api
* Add middleware and callback
* Add changefile(s) from automation for the following project(s): woocommerce
* Fix lint error
* CYS - Move the ai/business-description endpoint to woocommerce admin API
* CYS - Move the ai/store-info endpoint to woocommerce admin API
* Update endpoint
* CYS - Move the ai/images endpoint to woocommerce admin API
* CYS - Move the `ai/patterns` endpoint to woocommerce admin API
* CYS - Move the `ai/product` endpoint to woocommerce admin API
* CYS - Move the `ai/products` endpoint to woocommerce admin API
* CYS - Move the `private/patterns` endpoint to woocommerce admin API
* Remove unnecessary variable
* Replace endpoint
* Add changefile(s) from automation for the following project(s): woocommerce
* Fix lint errors
* Fix some feedback
* Refactor route to return an error not an exception and add tests
* Fix lint errors
---------
Co-authored-by: github-actions <github-actions@github.com>
* Ensure translation is loaded for new shared file
* add other files
* Add changefile(s) from automation for the following project(s): woocommerce
---------
Co-authored-by: github-actions <github-actions@github.com>
* Revert "PluginUtil: Add method to get active valid plugins (#48709)"
This reverts commit 4d68cd486e.
* Reintroduce get_all_active_valid_plugins public function after revert (#50885)
Retroduce get_all_active_valid_plugins public function after revert
---------
Co-authored-by: Naman Malhotra <naman03malhotra@gmail.com>
* Fix typo
Fixed one typo
* Create reviews-guidelines.md
Creating the first draft of the Operation Star guidelines for partners to improve reviews and ratings.
* Adding more info and feedback!
adding info from https://wooengineering.wordpress.com/2024/07/30/closing-the-loop-enhancing-product-reviews-through-integrated-feedback/
* Update docs manifest
* Update menu_title for consistency
* Standardize language + remove unsupported characters from review doc
* Atomize review docs into subcategory + subpages
* Fix linting issues
* Update docs manifest with linter fixes
---------
Co-authored-by: Jacklyn Biggin <hi@jacklyn.dev>
* Add additional size units to product image element
* Add changefile(s) from automation for the following project(s): woocommerce-blocks
---------
Co-authored-by: github-actions <github-actions@github.com>