Commit Graph

52943 Commits

Author SHA1 Message Date
Niels Lange 0abc8b247e
Add snippet for chaning the number of related products output 2023-07-12 19:56:01 +02:00
Vlad Olaru 96f15ec5bd
Update incentive cache logic to use context hash for cache invalidation 2023-07-12 20:26:55 +03:00
Vlad Olaru cf72af9d38
refact: Return early when filtering 2023-07-12 20:26:20 +03:00
Vlad Olaru 35b397940d
Change the has_wcpay logic to better align with our server intent 2023-07-12 20:25:48 +03:00
Vlad Olaru d7f0208f5a
Reduce incentive cutoff condition to just WCPay plugin active 2023-07-12 20:22:38 +03:00
Vlad Olaru e5381787b2
docs: More precise docs 2023-07-12 20:21:27 +03:00
Vlad Olaru 758139ee00
refact: Add type hints 2023-07-12 20:20:13 +03:00
Vlad Olaru 36abbfd233
refact: Use short array syntax 2023-07-12 20:14:24 +03:00
Niels Lange ba690a3d19
Link code snippet 2023-07-12 16:30:47 +02:00
Niels Lange 5bb07fd579
Add snippet for adding content above the login/register form (#39177) 2023-07-12 16:18:25 +02:00
Niels Lange 4b7e828cf9
Add directory for snippet docs and include README.md (#39176) 2023-07-12 16:14:00 +02:00
Panos (Panagiotis) Synetos 269d893072
Finally, that's the changelog :) 2023-07-12 16:34:49 +03:00
Panos (Panagiotis) Synetos 9dd71e8d9b
Changelog 2023-07-12 16:16:28 +03:00
Panos (Panagiotis) Synetos 12904843e7
Changelog (again) 2023-07-12 15:43:45 +03:00
Darren Ethier a5f46e9b96
Use sentence case for heading.
Co-authored-by: Niels Lange <info@nielslange.de>
2023-07-12 08:32:47 -04:00
Darren Ethier ba053f791e
Update to follow WooCommerce CS
Co-authored-by: Niels Lange <info@nielslange.de>
2023-07-12 08:32:13 -04:00
Panos (Panagiotis) Synetos e7b3f9f4e8
Changelog 2023-07-12 15:24:18 +03:00
Panos (Panagiotis) Synetos 2c1fe3e8c9
Remove styles from buttons, as theme colors.css is taking care of them 2023-07-12 15:09:15 +03:00
Panos (Panagiotis) Synetos 5fe4a08312
Applied review comments 2023-07-12 15:01:36 +03:00
Panos (Panagiotis) Synetos 658e11920f
Merge branch 'trunk' into fix/admin-colors-use-theme 2023-07-12 13:26:44 +03:00
Sam Seay e91a72b8a1
WooCommerce Docs: Support Gutenberg block conversion with CommonMark, add some basic unit tests. (#39096)
* Extract docs manifest generation into a CLI tool
2023-07-12 19:29:15 +12:00
Phill 64942cb195
Enhancement class-wc-admin-api-keys-table-list.php
Replaced Ellipses for asterisk when hiding part of the API Key
2023-07-12 14:20:43 +07:00
Vedanshu Jain 435619b5c1 Add filter `woocommerce_redirect_order_location` for consistency with posts and HPOS. 2023-07-12 11:39:19 +05:30
rodelgc dddd0e65ac
E2E: Update locators and force-check in `order-email-receiving` and `order-emails` specs (#39159)
* Add changelog

* Update locator and force check
2023-07-11 13:02:00 -07:00
Matt Sherman 17f83af095
Product Editor: Add help menu item to description modal editor (#39178)
* More menu skeleton

* Help menu item

* Tracks event for help menu item

* Remove invalid/unused ref from MoreMenu

* Changelog
2023-07-11 13:19:53 -04:00
Panos (Panagiotis) Synetos ec6ab3bf8d
Merge branch 'trunk' into fix/admin-colors-use-theme 2023-07-11 19:44:14 +03:00
Panos (Panagiotis) Synetos 4bbc7b3eca
Remove hardcoded text color wherever variable background color is used 2023-07-11 19:43:05 +03:00
Panos (Panagiotis) Synetos 6ee83e0f5e
Fix activation css to use wp-admin-theme-color 2023-07-11 19:21:37 +03:00
Panos (Panagiotis) Synetos 111841f783
Use new branding colors in activation and wc setup 2023-07-11 19:04:49 +03:00
Vedanshu Jain 780f2a1d99 Coding standard fixups. 2023-07-11 20:17:03 +05:30
Panos (Panagiotis) Synetos b467c0f25b
Shipping methods empty state follow theme colors (and minor improvements) 2023-07-11 17:45:39 +03:00
Thilina Pituwala 19b3d40595
Prevent unwanted helper api calls when loading subscription notes (#37378)
* Load subscription notes only via WC Admin home page and extensions page to avoid calling helper API endpoints unnecessarily.

* Adding change log.

* Moving connection check after the early return statements.

* Use admin_head hook instead of admin_init to load subscriptions notes.

Since `get_current_screen` function can not be called within `admin-init` hook it is not possible to determine if the subscriptions are being loaded via WC related page or not.

* Update doc block.
2023-07-11 09:02:32 -05:00
Panos (Panagiotis) Synetos 9412de17b6
Use page-title-action instead of deprecated add-new-h2 2023-07-11 16:43:39 +03:00
Panos (Panagiotis) Synetos c80b0bcc8b
Untested extensions modal uses theme colors 2023-07-11 16:43:09 +03:00
Panos (Panagiotis) Synetos 4c196332c2
Auth page uses Woo colors, according to branding 2023-07-11 16:41:10 +03:00
Panos (Panagiotis) Synetos 5b72907070
Importer/Exporter use admin theme color 2023-07-11 16:40:41 +03:00
Panos (Panagiotis) Synetos 6263316b3f
Breadcrump up link use admin theme color 2023-07-11 16:38:18 +03:00
Panos (Panagiotis) Synetos 76af662744
Email status use admin theme color 2023-07-11 16:37:15 +03:00
Panos (Panagiotis) Synetos 54bdd0d038
Input toggles use admin theme color 2023-07-11 16:35:20 +03:00
Panos (Panagiotis) Synetos a697949cde
WooCommerce message use admin theme color 2023-07-11 16:34:56 +03:00
Panos (Panagiotis) Synetos eee7c0a46e
Blankstate buttons follow theme colors 2023-07-11 16:34:24 +03:00
Panos (Panagiotis) Synetos 903ce08690
Change default WooCommerce color 2023-07-11 16:24:57 +03:00
Vedanshu Jain 5c5b2ce289 Fix syntax from GH UX commit + use consistent description. 2023-07-11 18:49:35 +05:30
Vedanshu Jain 95d2220c7f
Move out HTML out of translatable string for easier translation.
Co-authored-by: Barry Hughes <3594411+barryhughes@users.noreply.github.com>
2023-07-11 18:45:06 +05:30
Vedanshu Jain bbd93841da
Fix indentation.
Co-authored-by: Barry Hughes <3594411+barryhughes@users.noreply.github.com>
2023-07-11 18:44:09 +05:30
Vedanshu Jain c0dc48df00
Add the `the`.
Co-authored-by: Barry Hughes <3594411+barryhughes@users.noreply.github.com>
2023-07-11 18:43:58 +05:30
Vedanshu Jain ffb20eb7ec
Use proper pluralization of pending sync message.
Co-authored-by: Barry Hughes <3594411+barryhughes@users.noreply.github.com>
2023-07-11 18:43:33 +05:30
Vedanshu Jain bdffe69340
Capitalisation fix for posts.
Co-authored-by: Barry Hughes <3594411+barryhughes@users.noreply.github.com>
2023-07-11 18:41:50 +05:30
Vedanshu Jain 2c53c35a61
Add name so that it's displayed in the incompatible plugins UX.
Co-authored-by: Barry Hughes <3594411+barryhughes@users.noreply.github.com>
2023-07-11 18:41:32 +05:30
Nathan Silveira e85491bdea
Focus on name field when mounting and update summary field UI (#39050)
* Move placeholder of summary to help text at bottom of the component

* Focus the name field when mounting

* Add changelog

* Create 'autoFocus' block attribute instead of using useEffect

* Add changelog
2023-07-11 09:48:26 -03:00