Commit Graph

52055 Commits

Author SHA1 Message Date
“Chris ddb399b4aa Add order-pagination button class 2023-04-21 19:03:28 +03:00
“Chris 43bd317797 Add no-downloads button class 2023-04-21 19:03:04 +03:00
“Chris 65bf73835d Add order-again button class 2023-04-21 19:02:48 +03:00
Ron Rennick 78fce9af35 more filter PHPDocs 2023-04-21 12:59:59 -03:00
Barry Hughes ab13304b4e
Adjust changelog. 2023-04-21 08:54:10 -07:00
Matt Sherman 8c5053a385
Hide stock status field if stock management is enabled (#37890) 2023-04-21 11:13:03 -04:00
Ron Rennick e524e959d6 add filter PHPDocs 2023-04-21 10:51:46 -03:00
faisal-alvi a4c88e90b1 templates version bump to 7.8.0 2023-04-21 14:05:15 +05:30
faisal-alvi 70cbbeebd4 updating the product name var 2023-04-21 14:02:35 +05:30
louwie17 e88152ff3c
Add category field block (#37295)
* Add initial category block

* Add changelogs

* Add label to font family for block editor and fix template

* Fix rebase conflict and add content role

* Some styling changes for the category field

* Move category block to blocks folder and fix merge conflict.

* Address some styling issues, and update keywords

* Fix css lint error
2023-04-21 05:10:35 -03:00
mujuonly 9cfd58ad15
Fix: variations are counted as products in import message of number of products imported (#37829)
Co-authored-by: mujuonly <muju.only@gmail.com>
Co-authored-by: barryhughes <3594411+barryhughes@users.noreply.github.com>
Co-authored-by: Nestor Soriano <konamiman@konamiman.com>
2023-04-21 08:22:08 +02:00
Tyler Paulson c19a42398b
Prevent PHP Error in Customers API Endpoint (#37860)
Co-authored-by: Joshua T Flowers <joshuatf@gmail.com>
2023-04-21 08:14:24 +02:00
TarekNabil e92b607081 Fix #36664 2023-04-21 08:06:06 +02:00
Jarda Snajdr 8b8cc93f85
Rewrite the useOptionsHydration hook to not dispatch inside useSelect (#37882)
* Rewrite the useOptionsHydration hook to not dispatch inside useSelect

* Fix types of Options store to allow startResolution etc actions

* fixed tests and added changelog

---------

Co-authored-by: rjchow <me@rjchow.com>
2023-04-21 13:58:27 +08:00
Moon 4a52d6b82c
Rewrite withNavigationHydration to work with Gutenberg 15.5+ (#37901)
* Refactor withNavigationHydration to not dispatch inside useSelect

* Add changelog

* Remove unused import
2023-04-20 20:09:10 -07:00
Moon 83981c61b2
Rewrite the withPluginsHydration hook to not dispatch inside useSelect (#37896)
* Fix types to allow startResolutions etc actions

* Rewrite the usePluginsHydration hook to not dispatch inside useSelect

* Add changelog

* Remove unused import
2023-04-20 20:09:00 -07:00
Moon 85a71f8cee
Rewrite the withCurrentUserHydration hook to not dispatch inside useSelect (#37908)
* Rewrite withCurrentUserHydration hook to not dispatch inside useSelect

* Remove unused import

* Update comment
2023-04-20 20:08:48 -07:00
Paul Sealock 99c47835b6
Update php version requirement in readme to same as main file, 7.3 (#37780)
* fix PHP version in readme to same as main file. 7.3

* changelog
2023-04-21 09:52:18 +12:00
Darin Kotter 1fa28125e3
Add back figure CSS to support sites that may have overridden the single image template 2023-04-20 13:16:24 -06:00
“Chris 3a467bb6a0 Add changelog 2023-04-20 20:59:41 +03:00
Ron Rennick 7073fea067
Add REST API Products featured image (#37815) 2023-04-20 14:58:03 -03:00
“Chris e10fb35731 Fix tt3 attributes table 2023-04-20 20:57:24 +03:00
Ron Rennick 2ece044c6c
add/27803 add support for minlength in the template (#37840) 2023-04-20 14:09:04 -03:00
Gan Eng Chin 7a63646a0f
Add changelog. 2023-04-21 00:11:51 +08:00
Gan Eng Chin 1cadb3641a
Fix wrong file name in error message in update-wp-env.php. 2023-04-21 00:09:42 +08:00
Abdalsalaam Halawa eab77938c0 Add order note as a list of products 2023-04-20 17:29:35 +02:00
Shadi Manna 71fbc5fb59 Add PHPCS ignore missing hook comment 2023-04-20 15:50:02 +02:00
Shadi Manna f7bd95901b Remove white space 2023-04-20 15:34:58 +02:00
Shadi Manna 7ae2e66e58 Remove the default text in "Additional content" being sent for all emails when the field is empty for Admin New Order email 2023-04-20 15:13:28 +02:00
bartech 0da64a1eea Move filter to Option Sanitizer class 2023-04-20 11:12:48 +02:00
faisal-alvi bf83d61af9 add a changelog 2023-04-20 14:36:59 +05:30
faisal-alvi bfb1f08d2a translation hint for the product name 2023-04-20 14:21:18 +05:30
faisal-alvi 158748a6d4 escape the $product_name 2023-04-20 14:20:31 +05:30
Csaba Maulis 53276e786d
Fix CS 2023-04-20 16:38:00 +08:00
faisal-alvi 7d4a7ca883 update text: Remove %s from cart 2023-04-20 14:03:38 +05:30
Joel Thiessen 7023a80937
Adding global product block editor styles (#37805)
* Removing unecessary class

* Organizing editor styles

* Tweaking global fonts

* Correcting section spacing and adding divider

* Adding header styles

* Refactoring block editor styles

* Tweaks to spacing

* Adding changelogs

* Removing uneeded styles

* Fixing colors and link decoration

* Unifying error styles
2023-04-20 05:21:23 -03:00
Csaba Maulis 48d8bec2e3
Add CRUD tests 2023-04-20 15:48:23 +08:00
Csaba Maulis 46dceffece
Implement new featured field check
Internal logic:

- If the featured field is absent from all image objects in the request, set the first image in the array to featured.
- If the featured field is present in all image objects, we respect the value and set the featured image accordingly.
- If the featured field is absent from some image object, we set the featured image based on whether a true value exists; otherwise, we set the first image as featured.
- if multiple images have the featured field set to true, return a new 400 bad request response..
2023-04-20 15:48:07 +08:00
Siddharth Thevaril b1a87d0c16 update version number 2023-04-20 11:13:54 +05:30
Shojib khan ea85b1843c Add global variable to prevent error 2023-04-20 11:35:42 +06:00
Csaba Maulis 135d6f2b27
Add featured field to the schema with tests 2023-04-20 13:14:02 +08:00
Alexandre Lara 9a17d284c8
Reduce padding within notices for smaller screens in the Twenty Twenty One theme (#37862) 2023-04-20 00:39:17 -03:00
Darin Kotter 5620b39b44
Make selector more specific to avoid use of important. Use existing variables for padding calculations 2023-04-19 19:47:56 -06:00
Chi-Hsuan Huang 8b99b3f099
Drop WP 5.9 from CI (#37807) 2023-04-20 09:47:30 +08:00
Ravinder Kumar 2239270edd
Fix: Use `waitUntil` instead of `waitForLoadState` in page.goto() (#37831)
* fix: use correct argument in playwright test

use waitUntil instead of waitForLoadState.

* chore: add log for change

* chore: revert changes in e2e test

* Update analytics-overview.spec.js

Remove waits, failing on CI

---------

Co-authored-by: Jonathan Lane <lanej0@users.noreply.github.com>
2023-04-19 16:24:25 -07:00
Abdalsalaam Halawa 70c782fa63 fix notes array 2023-04-20 01:10:16 +02:00
Abdalsalaam Halawa 1109f7147a Add comment to the translatable string 2023-04-20 00:55:56 +02:00
Abdalsalaam Halawa 3b9be84659 products held stock notes variable rename 2023-04-20 00:55:04 +02:00
barryhughes 710bc8a8af Relocate changelog file. 2023-04-19 15:38:45 -07:00
barryhughes ddfcfe239f Move changelog file to correct location. 2023-04-19 15:35:42 -07:00