* Remove active shipping zones check for displaying shipping calculator
- Remove active shipping zones check for displaying shipping calculator on Cart Page
* Add changefile(s) from automation for the following project(s): woocommerce-blocks, woocommerce
---------
Co-authored-by: Tarun Vijwani <tarun.vijwani@automattic.com>
Co-authored-by: github-actions <github-actions@github.com>
Co-authored-by: Seghir Nadir <nadir.seghir@gmail.com>
* Use admin password reset link on admin login screen
* Add changelog
* Take a different approach that’s compatible with JN
* Update code comment
* use existing variable
* Update tests
* Lintfix
* Change to alternative aproach for detecting admin login form
* Whitespace
* Update test
* Lint fix
* Update sidebar-navigation-screen-typography.tsx
* Add changefile(s) from automation for the following project(s): woocommerce
---------
Co-authored-by: github-actions <github-actions@github.com>
* CYS: improve CTA
* Add changefile(s) from automation for the following project(s): woocommerce
---------
Co-authored-by: github-actions <github-actions@github.com>
* Correctly cast the account creation nag option
* Add changefile(s) from automation for the following project(s): woocommerce
---------
Co-authored-by: github-actions <github-actions@github.com>
* Update 920.md
* Add changefile(s) from automation for the following project(s): woocommerce-blocks
---------
Co-authored-by: github-actions <github-actions@github.com>
Co-authored-by: Seghir Nadir <nadir.seghir@gmail.com>
* Change address title from h3 to h2 on my account
* Bump up my-address template version
* Add changelog file
* Change address title from h3 to h2 on edit address page
* Bump up form-edit-address template version
* Update form-edit-address.php
* Update my-address.php
---------
Co-authored-by: Alex Florisca <alex.florisca@automattic.com>
* Update config.js
* Update data.json
* Add changefile(s) from automation for the following project(s): woocommerce
---------
Co-authored-by: github-actions <github-actions@github.com>
Create a new filter woocommerce_is_store_page for filtering if the URL is a store page.
Fixes#50173
* Create new filter for filtering if the URL is a store page
* Fix brace
* Update plugins/woocommerce/src/Admin/WCAdminHelper.php
Co-authored-by: Corey McKrill <916023+coreymckrill@users.noreply.github.com>
* Add changefile(s) from automation for the following project(s): woocommerce
* Remove extra whitespace
---------
Co-authored-by: Corey McKrill <916023+coreymckrill@users.noreply.github.com>
Co-authored-by: github-actions <github-actions@github.com>
* move checkout docs with front matter to main folder (#49186)
* move checkout docs with front matter to main folder
---------
Co-authored-by: Jacklyn Biggin <hi@jacklyn.dev>
* initial commit to reapply changes from PR #49186
* update html tags to unicode and clean up hashlinks
* revert unicode
* remove emoji
* update manifest
* test readme page
* remove avail-filters since it is now redundant with the readme
* update links
* test htmlentity
* pdate links
* typo fix
* update readme with actual doc
* fix links
---------
Co-authored-by: Jacklyn Biggin <hi@jacklyn.dev>
* Improve the error when a request fails due to permissions
* Add changefile(s) from automation for the following project(s): woocommerce
* Fix regression and copy
* Fix feedback: improve types
---------
Co-authored-by: github-actions <github-actions@github.com>
* CYS: Improve tracking survey
* Add changefile(s) from automation for the following project(s): woocommerce
---------
Co-authored-by: github-actions <github-actions@github.com>
* Fix image gallery state conflict with external consumer state
* Fix the image gallery removal conflict now that the image gallery is stateless
* Add changelog files
* Ignore the media if it is replaced by itseft
* Update filter-setter.php
* Add changefile(s) from automation for the following project(s): woocommerce
---------
Co-authored-by: github-actions <github-actions@github.com>
Co-authored-by: Jorge A. Torres <jorge.torres@automattic.com>
* Make use of GB Combobox for the product select
* Update E2E tests
* Add changelog
* Small CSS changes
* Fix create variable product E2E test
* Add changelogs
* Use our internal wrapper of the combobox
* A couple small fixes
* Fix bug and address feedback
* Address small formatting in comments
* Move search products back to consolidated function
* Add a label to the product pagination for the woocommerce pagination
* Bump template version
---------
Co-authored-by: amesplant <95257231+amesplant-dmv@users.noreply.github.com>
* Add bumpStat and fix tests
* Add changelog
* chore: Update dependencies and add @woocommerce/tracks for remote logging
* feat: Track frequency of unhandled JS errors with bumpStat
* chore: Update error boundary to log unhandled JS errors with bumpStat
* Add changelog
* Fix lint
* Check if tracks is enabled before bumping stats
* Fix test
* Fix lint
* chore: Refactor buildQuerystring to buildQueryParams for clarity and consistency
* Add bumpStat to wc tracks mock
* Keep focus on shipping option input once selected
* Add changelog file
* Remove unnecessary space
* Manage focus of the shipping methods inputs on checkout
* Refactor the code to use native JS instead of jQuery
* Revert native JS usage on jQuery code
* Focus shipping input after re-initing payment methods on checkout
* Replace includes with indexOf for consistency
* Revert usage of native JS
* Remove unnecessary if statement
* Check if event exists before assigning current target
* Get current target with native JS
* Remove unnecessary spaces
* Optimize maybe_assign_default_product_cat
maybe_assign_default_product_cat should flush cache, delete transients and update term counts only if changes were made
* Fix whitespace
* Add changefile(s) from automation for the following project(s): woocommerce
---------
Co-authored-by: github-actions <github-actions@github.com>
Co-authored-by: Barry Hughes <3594411+barryhughes@users.noreply.github.com>
* Logging: Add parameter to avoid log directory creation
The `get_log_directory` method, by default, attempts to create the
directory if it doesn't exist yet. However, the method is called early
in the initialization of the WooCommerce plugin, regardless of whether
the logging system is configured to use the filesystem. This adds a
parameter to `get_log_directory` to specify whether to attempt directory
creation, and ensures that the parameter is set to false in a couple
of specific places.
* Remove usage of method from old log file handler
* Don't initialize log directory when getting size
* Add missing translator note
* Rename param to
* Reduce usage of wp_upload_dir
* When matching subscriptions to installed products, giving priority to subscriptions available for activation.
* Add changefile(s) from automation for the following project(s): woocommerce
---------
Co-authored-by: github-actions <github-actions@github.com>
* Enable test to add existing attributes
* Enable test to update product attribute
* Add changelog
* Locate item by aria-label instead of label
* Add blur to the summary field
* Strip HTML tags from aria-label in wc_help_tip function
* Run same escape sequence for aria_label string
* Refactor wc_help_tip and add additional test case
* Remove blank line
* Fix spacing/capitalisation on comments.
* Use get_fields_for_location to prevent numeric keys going into locale
* Merge default locale with current locale
Required because the current locale only contains a diff against the default
* Iterate over current locale to get validate required fields
* Add unit tests to cover the state/postcode checks
* Add changelog
* Fix lint errors
* Ensure locale filter runs when tests need it.
* Update tests to reset locale after running
* Add validate_required_additional_fields function
* Add test to ensure required additional fields are passed
* Add throws tag to docblock