Previously, the code assumed that all memory_limit values used the "M"
suffix (for megabytes); values using "G" (for gigabytes), "K" (for
kilobytes), or no suffix (for bytes) were all parsed incorrectly. Now,
all possible values should be handled correctly.
This bug has actually been fixed twice before in other locations:
Commit 538403306c (#30908)
Commit 4557108805 (#21557)
* Changing shopper feedback on payment response issues
* Add changefile(s) from automation for the following project(s): woocommerce
* Disambiguated error log
* Prevent unexpected error response from outputting technical data to the user. Instead display an helpful message to prevent retries.
* Fix PHP linting.
* Changed error message and added translators comment
* Safeguarding against wc_checkout_params.i18n_checkout_error definition
* Added null check
* Add deselect callabck to attribute filter
* Add deselect callabck to created filter
* Add deselect callabck to featured filter
* Add deselect callabck to handpicked filter
* Cleanup deselect callabck to keyword filter
* Add deselect callabck to on salefilter
* Add deselect callabck to order by option
* Add deselect callabck to stock status filter
* Add deselect callabck to price range filter
* Add deselect callabck to price taxonomies filter
* Call all the reset filer callbacks on reset
* Add changelog
* Remove unused variable
* Replace hardcoded default filter values with the DEFAULT_FILTERS constant
* Copy change for coming soon setting
* Add changefile(s) from automation for the following project(s): woocommerce
---------
Co-authored-by: github-actions <github-actions@github.com>
* Add 'woocommerce_coming_soon_page_id' option to API options
* Add useComingSoonEditorLink hook to handle the coming soon editor link
* Add useComingSoonEditorLink hook and update styles
* Add changelog
* Move use-launch-your-store.js to ./hooks and update import path
* Add live-branches/install.php to API
* Add changefile(s) from automation for the following project(s): woocommerce-beta-tester
---------
Co-authored-by: github-actions <github-actions@github.com>
* Track site visibility actions
* Move private link text box to prevent accidental toggle
* Add changefile(s) from automation for the following project(s): woocommerce
* Restirct site visibility settings to general tab
* Remove unnecessary site visibility render logic
* Lint fix
---------
Co-authored-by: github-actions <github-actions@github.com>
* Move site visibility settings to a new tab
* Add changefile(s) from automation for the following project(s): woocommerce
* Update tab id to site-visibility and link to it from the homescreen badge
* Fix tests
* Remove unused code
* Lower case tab title
* Remove general from the slotfill id
* Remove typo
* Lint fix
* Lint fix
---------
Co-authored-by: github-actions <github-actions@github.com>
* fix the CI unit test path for legacy unit tests
* update the pattern in all the relevant CI jobs
* add the tests/unit-tests folder as well
---------
Co-authored-by: Ron Rennick <ronald.rennick@automattic.com>
* Fix tests currently failing against HPOS environment setup
* Add changefile(s) from automation for the following project(s): woocommerce
* fix lint warning for print_r usage
---------
Co-authored-by: github-actions <github-actions@github.com>
* Directs devs to docs site where contributing to woo links are clearly laid out and defined
* Adds updated manifest.json
* Fixes typo
---------
Co-authored-by: Shani Banerjee <shanibanerjee@Shanis-MBP.lan>
* bump husky, remove remnants from blocks
* Add changefile(s) from automation for the following project(s): woocommerce-blocks
* add @playwright/test to syncpack
* Add changefile(s) from automation for the following project(s): woocommerce-blocks
* update pnpm-lock.yaml
* add github-label-sync to syncpack
* add stylelint to syncpack
* add classnames to syncpack
* manually sync wp-prettier
* sync sass-loader version
---------
Co-authored-by: Ron Rennick <ronald.rennick@automattic.com>
Co-authored-by: github-actions <github-actions@github.com>
* When order is out of sync, suggest a fix
* Allow cleanup tool to remove data for placeholders even if order can’t be loaded from HPOS
* Prevent infinite loops in cleanup tool
* Add changelog
* Fix PHPCS violations
* Improve error messages
* Fix syntax error
* Minor fix
* CYS - color picker: fix CSS
* Add changefile(s) from automation for the following project(s): woocommerce
---------
Co-authored-by: github-actions <github-actions@github.com>
* Stop relying on snapshot for footer and header tests
* Remove only
* Add changefile(s) from automation for the following project(s): woocommerce
---------
Co-authored-by: github-actions <github-actions@github.com>
* CYS: add debounce to improve performance
* Fix button colors
* Format
* Add changefile(s) from automation for the following project(s): woocommerce
---------
Co-authored-by: Luigi Teschio <gigitux@gmail.com>
Co-authored-by: github-actions <github-actions@github.com>
* CYS: add debounce to improve performance
* Add changefile(s) from automation for the following project(s): woocommerce
---------
Co-authored-by: github-actions <github-actions@github.com>
* Disable assembler header test temporarily
* Add changefile(s) from automation for the following project(s): woocommerce
---------
Co-authored-by: github-actions <github-actions@github.com>
* Add data providers for WC_Formatting_Functions_Test tests
* Add tests for Denmark postcodes
* Add formatting for Sweden postcodes
* Add formatting for CZ, SK postcodes. Cleanup formatting for LV
* Group wc_format_postcode tests by country
* Add changefile
* Match digits only in LV, CZ, SK postcode formatting
* Update postcode validation for CZ, SK
* Minor adjustment to regex
---------
Co-authored-by: Jorge Torres <jorge.torres@automattic.com>
* Fix the overlay color of the "Featured Category Triple" pattern
* Add changefile(s) from automation for the following project(s): woocommerce
---------
Co-authored-by: github-actions <github-actions@github.com>
* Add e2e tests for the assembler footer section
* Add changefile(s) from automation for the following project(s): woocommerce
* Renam var
* Rename pageObject
* Add test for the preview
* Improve the test by extracting the expected class from the selected footer
* Update snapshot
---------
Co-authored-by: github-actions <github-actions@github.com>
* Add e2e tests for the assembler header section
* Rename var
* Add changefile(s) from automation for the following project(s): woocommerce
* Add test to check the preview changes when selecting a header
* Add missing header classes and all preview test
---------
Co-authored-by: github-actions <github-actions@github.com>
* Add unit test simulating order mix up when order ID is zero.
* Better tests.
* Dont try reading from DB when order is zero to prevent mixups.
* PHPCS fixes and changelog.
* Syntax sugar
Co-authored-by: Corey McKrill <916023+coreymckrill@users.noreply.github.com>
---------
Co-authored-by: Corey McKrill <916023+coreymckrill@users.noreply.github.com>
* Add E2E tests for Product Filter: Price block
* Add changefile(s) from automation for the following project(s): woocommerce-blocks
* Use web first assertions
* Replace `toB` by `toHaveValue` in E2E tests
---------
Co-authored-by: github-actions <github-actions@github.com>
* skip color picker E2E tests
* Add changefile(s) from automation for the following project(s): woocommerce
---------
Co-authored-by: github-actions <github-actions@github.com>