* Add aria-label for page numbers within pagination
* Add changelog
* Fix innerText to camel case format
* Update plugins/woocommerce/src/Blocks/BlockTypes/ProductCollection.php
Co-authored-by: Darin Kotter <darin.kotter@gmail.com>
* Add screen reader text to the page numbers in the pagination partial
* Fix linting spacing errors
* Fix linting space remaining
* Bump template on pagination template
* Update plugins/woocommerce/templates/loop/pagination.php
Co-authored-by: Karol Manijak <20098064+kmanijak@users.noreply.github.com>
* Add aria-label to pagination numbers
* Improve logic to get current page number
* Rename $r parameter to $html
* Fix post-increment php lint error
* Account for two dots elements to add aria-label to page link
---------
Co-authored-by: amesplant <95257231+amesplant-dmv@users.noreply.github.com>
Co-authored-by: Darin Kotter <darin.kotter@gmail.com>
Co-authored-by: Karol Manijak <20098064+kmanijak@users.noreply.github.com>
Co-authored-by: Gabriel Manussakis <9420947+Manussakis@users.noreply.github.com>
Co-authored-by: Gabriel Manussakis <gabrielmanussakis@gmail.com>
* Remove underline from sale prices in WooCommerce block themes
* Add changefile(s) from automation for the following project(s): woocommerce
* Improve css properties
---------
Co-authored-by: github-actions <github-actions@github.com>
* Add global_unique_id to Exporter
* Add changefile(s) from automation for the following project(s): woocommerce
---------
Co-authored-by: github-actions <github-actions@github.com>
* We are now using 16:9 images for themes in the in-app marketplace, so we need to change the image ratio.
* Add changefile(s) from automation for the following project(s): woocommerce
---------
Co-authored-by: github-actions <github-actions@github.com>
* In-App Marketplace: hide subscriptions for maxed out connections
If we don't add this check, subscriptions with no connection allowances,
still show up in the "Available to Use" table. This can be misleading.
* In-App Marketplace: Fix My Subscriptions table row statuses
When there are multiple subscriptions for a product, we can't manage the
state between "installed" and "available to use". This commit separates
some of the functionality between the tables in the My Subscriptions
page.
1) Don't show "not connected" badge on the "available to use" table
2) Don't show the "update" button on the "available to use" table
We can't test the number two, because I noticed we no longer send the
verison number in the WCCOM endpoint
* Add changefile(s) from automation for the following project(s): woocommerce
* Marketplace: remove unused useEffect
---------
Co-authored-by: github-actions <github-actions@github.com>
* Make themes util compatible with ext env and unskip relevant tests
* Add theme activation in test helper apis and update util
* Fix whitespace lint issue
* Make the util compatible with local and external envs
* Rename to activate theme
* Add theme name empty check
* Simplify theme util and update relevant tests
* Remove only from the test
* Add missing brackets to the shopper test
* Include error handling to see failure on CI
* Include themes installation in the test setup
* Revert and refact util helper
* Fix WooCommerce Blocks storybook
* Add blocks storybook to main storybook
* Add post build for iframe.html
* Only add WooCommerce Blocks when building storybook
* Use manager file again and add blocks build for storybook build
* Add changelog
* Update CatalogSorting classname to include wp-block class
* Add wp-block class name to the product button block
* Add wp-block classname to the product average rating block
* Add changelog
* Update changelog
* Fix lint issues
* Preserve dash in Mongolia postcodes
* Add changefile(s) from automation for the following project(s): woocommerce
---------
Co-authored-by: github-actions <github-actions@github.com>
* [wcml-4848] Fixes for incorrect blocks in WC's refunds policy page
Closes#51618
* Add changefile(s) from automation for the following project(s): woocommerce
---------
Co-authored-by: github-actions <github-actions@github.com>
In this PR we aim to reduce filesystem modification when copying assets into the core by splitting copy tasks in three (one per source package) and using rsync over remove/copy combo.
* Redirect to canonical product permalink
This ensures that if product permalinks are set to include the
%product_cat% replacement token, arbitrary values for that part of the
URL will redirect to the canonical product category value, rather than
successfully loading the single product page.
Fixes#24244
* phpcs exception
* Update plugins/woocommerce/changelog/fix-24244-custom-permalink
Co-authored-by: Barry Hughes <3594411+barryhughes@users.noreply.github.com>
* WC cleanup plugin
* Fix linter errors
* More linter fixes
* Clean up spacing
* File doc comment
* Remaining linter problems
* Linter warnings too. Sigh.
* Media cleanup, DB table cleanup, tax rate cleanup
* Exclude media files used in tests from cleanup
* Exclude media files regardless of extension
---------
Co-authored-by: Jon Lane <jon.lane@automattic.com>
* Render coming-soon template content without header and footer if the current theme is not a fse
* Check for store pages only
* Add changefile(s) from automation for the following project(s): woocommerce
* Make sure get_the_block_template_html exist
* Lint fixes
* Lint fixes
* Lint fixes
---------
Co-authored-by: github-actions <github-actions@github.com>
* Refactor WooCommerce Helper class
This commit refactors the WooCommerce Helper class in the `class-wc-helper.php` file. The changes include:
- Updating the comparison operator from `==` to `===` in the `activate_plugin` condition.
- Renaming the `get_install_base_url` method to `get_woocommerce_com_base_url`.
- Adding a new `get_install_base_url` method that returns the base URL for the plugin auto installer.
These changes improve the readability and maintainability of the code.
* Refactor data source poller classes for marketing recommendations, payment gateway suggestions, shipping partner suggestions, inbox notifications, remote free extensions, and WooPayments promotion
- Refactor the data source poller classes for marketing recommendations, payment gateway suggestions, shipping partner suggestions, inbox notifications, remote free extensions, and WooPayments promotion to use a dynamic base URL for the data sources.
- Update the deprecated DATA_SOURCES constant to an empty array in each class.
- Add a new method get_data_sources() in each class to return the updated data sources with the dynamic base URL.
- Modify the constructor of each class to use the get_data_sources() method instead of the deprecated DATA_SOURCES constant.
* Add changelog
* Add set-woocom-base-url tool
* Add changelog
* Rename woo_com and woocom -> wccom
* Change to falsy check !url
* Change woocom/WOOCOM to wccom/WCCOM
* Change default value to https://woocommerce.com/
---------
Co-authored-by: Ilyas Foo <foo.ilyas@gmail.com>
* Resolved fatal error when applying Brands-restricted coupon
* Add changefile(s) from automation for the following project(s): woocommerce
---------
Co-authored-by: github-actions <github-actions@github.com>
* Update heading for Hand-Picked collection
- Added 'recommend' to the keywords array.
- Changed heading content from 'Hand-Picked' to 'Recommended products'.
* Add changefile(s) from automation for the following project(s): woocommerce-blocks
---------
Co-authored-by: github-actions <github-actions@github.com>
In this PR, we aim to improve the speed of ppm installs by making changes in ppm configuration and post-install hooks. The main principle behind the changes is to leverage the identified parallelization potential.