Commit Graph

52651 Commits

Author SHA1 Message Date
github-actions[bot] 6be7214fda
Delete changelog files based on PR 38999 (#39076)
Delete changelog files for 38999

Co-authored-by: WooCommerce Bot <no-reply@woocommerce.com>
2023-07-04 16:59:23 +12:00
Nestor Soriano 9e10e5c605
Fix linting errors in StringUtilTest 2023-07-04 12:45:16 +09:00
Chi-Hsuan Huang 3a402a1235
Replace button text "Proceed" with "Continue" to be more consistent (#38961)
* Replace "Proceed" with "Continue" to be more consistent

* Add changelog

* Update button label for WCPay setup step in task list
2023-07-04 11:36:28 +08:00
Nestor Soriano 161bffe054
Fix a couple of @since tags 2023-07-04 12:32:15 +09:00
Nestor Soriano 0759984b9f
Modify the stray order deletion migration to work in batches.
Also introduce some utility methods:

StringUtil::to_sql_list
StringUtil::class_name_without_namespace
2023-07-04 12:24:15 +09:00
Kathy 9d5c90dad8
Send $product_name through woocommerce_cart_item_name filter once (#38999)
* Send $product_name through woocommerce_cart_item_name filter only once. Closes #38744.

* Replace additional product name filters, with already filtered variable.

* add additional params to docblock of woocommerce_cart_item_name

* bump template version to 7.9.0

* revert cart_item_name filter change in #37830

* Minor fixes

* Bump template version

---------

Co-authored-by: Ron Rennick <ronald.rennick@automattic.com>
Co-authored-by: Jorge A. Torres <jorge.torres@automattic.com>
2023-07-04 15:16:39 +12:00
Nestor Soriano 49caf09db7
Remove the explicit creation of deletion records for child orders.
See the comment added at the end of
OrdersTableDataStore::handle_order_deletion_with_sync_disabled
2023-07-04 10:25:04 +09:00
github-actions[bot] baca2fbfe1
Delete changelog files based on PR 39048 (#39069)
Delete changelog files for 39048

Co-authored-by: WooCommerce Bot <no-reply@woocommerce.com>
2023-07-04 12:16:20 +12:00
github-actions[bot] 5909b3522d
Update changelog.txt from release 7.8.2 (#39065)
Prep trunk post release 7.8.2

Co-authored-by: WooCommerce Bot <no-reply@woocommerce.com>
2023-07-04 11:57:58 +12:00
Moon 7bbffd3284
Update CSS styles for core profiler headers (#39059)
* Remove letter-spacing and use 500 for font-weight

* Add changelog

* Style updates for the header

* Set letter-spacing to normal
* Use 500 for font-weight
* Remove max-width

* Add changelog
2023-07-03 10:54:48 -07:00
Nestor Soriano 77af8532c6
Add a 'suppress_filters' arg to Abstract_WC_Order_Data_Store_CPT::delete
Also this method now fires 'woocommerce_before_delete/trash_order'
hooks, for symmetry with OrdersTableDataStore::delete.
2023-07-03 16:14:42 +09:00
Nestor Soriano 406e2acba7
Add a 'suppress_filters' arg to OrdersTableDataStore::delete
Also set it to true in DataSynchronizer::process_deleted_orders
2023-07-03 16:10:39 +09:00
Nestor Soriano 5e1624be46
Remove the "verify parent id" logic for orders 2023-07-03 14:39:19 +09:00
Nestor Soriano 79a6c798de
Merge branch 'trunk' into add/sync_of_deleted_orders 2023-07-03 14:34:20 +09:00
Nestor Soriano 0793d9da40
get_next_batch_to_process now returns changes of all types.
Previously it wouldn't mix "deleted" with "created" or "updated"
in the same batch.

Also dded the HposTestCase::set_order_as_updated method.
2023-07-03 13:45:36 +09:00
barryhughes b0f14a26ea Correct another mismatched closing tag. 2023-06-30 11:53:37 -07:00
barryhughes 213e402cc4 Closing and opening tags must match. 2023-06-30 11:50:27 -07:00
louwie17 f8c6c43721
Update/create product block package (#39023)
* Add publish config

* Add changelog
2023-06-30 15:23:13 -03:00
Luigi Teschio 61a6fc618c
Update WooCommerce Blocks to 10.4.5 (#39048)
bump WC Blocks to 10.4.5
2023-06-30 15:27:27 +02:00
github-actions[bot] 6fac9fe376
Delete changelog files based on PR 39030 (#39044)
Delete changelog files for 39030

Co-authored-by: WooCommerce Bot <no-reply@woocommerce.com>
2023-06-30 16:22:39 +12:00
github-actions[bot] 192843b487
Delete changelog files based on PR 38872 (#38924)
Delete changelog files for 38872

Co-authored-by: WooCommerce Bot <no-reply@woocommerce.com>
2023-06-30 16:13:58 +12:00
github-actions[bot] 3b7b8cddac
Update changelog.txt from release 7.8.1 (#38981)
Prep trunk post release 7.8.1

Co-authored-by: WooCommerce Bot <no-reply@woocommerce.com>
2023-06-30 16:13:22 +12:00
Moon 87393e0ef1
Update CSS styles for core profiler headers (#39042)
* Remove letter-spacing and use 500 for font-weight

* Add changelog
2023-06-29 20:16:44 -07:00
Daniel Dudzic 3d0c5af5fe
FSE: Fix frontend stylesheets not being enqueued in the Site Editor (#38769) 2023-06-29 22:30:02 +02:00
louwie17 690bd7da2b
Require wc-admin-functions into products tracking class (#39030)
* Require wc-admin-functions into products tracking class

* Add changelog

* Revert old change back
2023-06-29 17:00:04 -03:00
Daniel Dudzic b1dc8b67f9
Merge branch 'woocommerce:trunk' into fix/35495-stylesheets-not-enqueued-in-site-editor 2023-06-29 21:54:44 +02:00
github-actions[bot] 1aab0eccab
Delete changelog files based on PR 38987 (#39034)
Delete changelog files for 38987

Co-authored-by: WooCommerce Bot <no-reply@woocommerce.com>
2023-06-29 13:36:20 -05:00
github-actions[bot] 3915ea496f
Delete changelog files based on PR 38929 (#39032)
Delete changelog files for 38929

Co-authored-by: WooCommerce Bot <no-reply@woocommerce.com>
2023-06-29 13:33:07 -05:00
Gan Eng Chin f36b00021b
Replace deprecated WC_ADMIN_IMAGES_FOLDER_URL with plugins_url function call.
Co-authored-by: Jeremy Pry <JPry@users.noreply.github.com>
2023-06-30 00:29:09 +08:00
louwie17 8978f2a929
Prepare create product editor block package (#39022)
* Prepare create product editor block package

* Remove legacy message
2023-06-29 10:32:04 -03:00
Gan Eng Chin bb8079def8
Fix PHP lint issues. 2023-06-29 19:12:48 +08:00
Gan Eng Chin f8b509a710
Add changelog. 2023-06-29 19:00:02 +08:00
Sam Seay 957fb2b07e
Update pnpm to 8.6.5 (#38990) 2023-06-29 16:51:29 +12:00
Sam Seay 59e1ba174d
MVP process manifest JSON and convert to WordPress categories/posts (#38874)
---------

Co-authored-by: Leif Singer <git@singer.sh>
2023-06-29 16:47:22 +12:00
Paul Sealock b6b093225e
Package release: Handle new package validation (#39008) 2023-06-29 13:28:19 +12:00
Corey McKrill 55b2c67eda
Analytics API: Parameter to omit customer records with specific empty fields (#38827)
Adds `filter_empty` parameter, so that customer records with specific empty fields can be left out of the results, resulting in more efficient requests.

Fixes #38820
2023-06-28 17:17:53 -07:00
Corey McKrill b81a86c922
OrdersTableDataStore: capture+log exceptions when populating order properties (#38840)
Even if errors are found when populating the order properties, the order object will be returned anyway. Additionally, these errors will be logged as warnings, both when using the new HPOS-based orders datastore and when using the old CPT based datastore.
2023-06-28 17:13:33 -07:00
Nima Karimi 8d5d8d9302
Release Woo AI plugin v0.2.0 (#39011)
Updating versions and changelog
2023-06-29 02:21:33 +03:00
louwie17 cb0fb46e7b
Add gitignore to package and update package.json (#39007)
* Add .gitignore

* Update package.json

* Add changelog
2023-06-28 18:18:02 -03:00
Moon 55280aea96
Override Jetpack connection data endpoint when Jetpack is not installed (#38987)
* Override /jetpack/v4/connection/data to return 404 to fix conflict with Android app flow

* Add changelog

* Override only for the mobile devices
2023-06-28 12:51:09 -07:00
louwie17 b11b17c17c
Added initial changelog and ran prepare package release (#39001)
* Added initial changelog and ran prepare package release

* Add gitkeep to changelog folder

* Remove legacy link that is not required
2023-06-28 14:55:25 -03:00
Joel Thiessen 9927facfb3
Adding tracks events indicating visibility for ai features (#39005) 2023-06-28 10:32:12 -07:00
Nestor Soriano 43172a32e7
Log errors when setting order properties using the CPT datastore too. 2023-06-28 14:20:57 +02:00
Sam Seay 625a3ae296
Fix the monorepo utils lint job (#38991)
* Fix lint issues in monorepo utils.
* Add monorepo utils to the lint CI.
2023-06-28 23:45:46 +12:00
Emmanuel Hesry 25601eaaa0
Remove hardcoded 'shop order' screen id in order edit page (#38938) 2023-06-28 10:51:56 +02:00
Karol Manijak b5cbc1d7cf
Fix "View Cart" link layout in post/page (#38950) 2023-06-28 08:46:46 +02:00
Ron Rennick 4476129595
do not use image size cache while in customizer (#38875)
Co-authored-by: Ron Rennick <ronald.rennick@automattic.com>
2023-06-27 14:50:51 -07:00
Mahmoud Saeed b0ae9dac27
Use NumberUtil::round() instead of number_format() in WC_Order::get_item_subtotal() (#36760)
* Use NumberUtil::round() instead of number_format() in WC_Order::get_item_subtotal()

* Add changelog

---------

Co-authored-by: Jorge A. Torres <jorge@0xbad.com>
2023-06-27 14:32:43 -07:00
github-actions[bot] 233860b704
Delete changelog files based on PR 38834 (#38986)
Delete changelog files for 38834

Co-authored-by: WooCommerce Bot <no-reply@woocommerce.com>
2023-06-27 16:09:46 -05:00
Mike Jolley 84171baaaa
Fix display of "empty cart" notices when using a shortcode cart and the checkout block (#38738)
* Wrap wc_empty_cart_message with a new `wc-empty-cart-message` class

* use `wc-empty-cart-message` in cart.js

* changelog

* phpcs violations
2023-06-27 12:35:44 -07:00