Commit Graph

34427 Commits

Author SHA1 Message Date
Christopher Allford 37ff503855 Adjusted the ordering of the cache clear on order item deletion to prevent leaving behind a ghost cache entry 2020-02-26 09:36:28 -08:00
Christopher Allford 165138fc30 Renamed the WC_Order_item_Data_Store::clear_cache method to be consistent with other data stores. 2020-02-26 09:34:27 -08:00
Peter Fabian d43d8685b6
Merge pull request #25661 from woocommerce/update/changelog
Update 3.9.2 changelog and fixes for 4.0 changelog
2020-02-26 13:25:59 +01:00
Peter Fabian 150c77ba29 Improve coupon name output handling. 2020-02-26 12:24:04 +01:00
Peter Fabian 1edddebbde
Merge pull request #25701 from woocommerce/fix/25700
change the namespace of the WC Admin Package class
2020-02-26 12:10:14 +01:00
Peter Fabian d9c90dc873
Merge pull request #25757 from woocommerce/fix/25756
move edited attribute message to consistent location
2020-02-26 11:28:29 +01:00
Peter Fabian 7fdee5b03e
Merge pull request #25707 from woocommerce/fix/as-460
Mark AS migration pending when updating WC to ensure migration happens.
2020-02-25 22:03:45 +01:00
Paul Sealock 27504e8bd5 bump wc-admin to 0.26.1 2020-02-26 10:02:01 +13:00
Peter Fabian 4271eb94d7
Merge pull request #25736 from woocommerce/try/db-update-notice
Added the WC Admin enabled db update notice.
2020-02-25 20:19:38 +01:00
Ron Rennick 25ab5596a2 fix composer.lock conflict 2020-02-25 15:00:55 -04:00
Ron Rennick 39417f161e merge previous commit 2020-02-25 14:56:22 -04:00
Ron Rennick 4e43b27aed update status report to correctly show active plugin 2020-02-25 14:51:22 -04:00
Peter Fabian 4138aecdcd
Merge pull request #25696 from woocommerce/renovate/woocommerce-woocommerce-blocks-2.x
Update dependency woocommerce/woocommerce-blocks to v2.5.13
2020-02-25 19:05:44 +01:00
Patricia Hillebrandt c3379482a2 Updating docblock 2020-02-25 16:53:40 +01:00
Ron Rennick 84c2c7fb00 move edited attribute message to location consistent with other edited messages 2020-02-25 11:28:11 -04:00
Peter Fabian d9f702c3d4
Merge pull request #25670 from woocommerce/fix/25664-2
Replaced deprecated Jetpack::is_staging_site call
2020-02-25 15:20:11 +01:00
Peter Fabian 63486a1cb0 Force the saving of notices for the 'install' notice to prevent performance problems for all notices, while also making it less prone to race conditions during the installation. 2020-02-25 15:00:37 +01:00
Peter Fabian 992c6538dc Force the saving of notices only for the 'update' notice to prevent performance problems. 2020-02-25 14:58:02 +01:00
Peter Fabian f3dceae5df Added more exclusions for the DB notice show_reminder method.
Also, moved `woocommerce_hide_update_notice` outside those exclusions in case
it would get triggered from cron or via AJAX.
2020-02-25 14:51:09 +01:00
Peter Fabian aec5373ab2 Updated the Package class namespace according to latest changes in WC Admin. 2020-02-25 14:38:13 +01:00
Peter Fabian d115418c29
Merge pull request #25747 from woocommerce/fix/jetpack-configure
Add defensive checks because `configure` is not present in older jetp…
2020-02-25 11:36:17 +01:00
Renovate Bot 0f317108cf
Update dependency woocommerce/woocommerce-blocks to v2.5.13 2020-02-25 10:25:02 +00:00
vedanshujain f5220383a5 Add defensive checks because `configure` is not present in older jetpack version 2020-02-25 15:03:15 +05:30
Peter Fabian 56839efcbf
Merge pull request #25745 from woocommerce/update/AS-3.1.1-unit-tests
Bump Action Scheduler to 3.1.1 + unit tests
2020-02-25 10:26:49 +01:00
Peter Fabian f1f02dc292 Remove the patch from PR 450, as it's already included in 3.1.1. 2020-02-25 10:13:56 +01:00
Peter Fabian 19b180af7e Updated composer.lock file. 2020-02-25 09:32:56 +01:00
Vedanshu Jain 0dc5c0bcb1
Merge pull request #25742 from woocommerce/fix/25651
Run configure for Jetpack plugin before attempting to try_registration.
2020-02-25 09:31:27 +05:30
Ron Rennick 77d6dc1342 update WCA class namespace in unit tests 2020-02-24 23:22:11 -04:00
Ron Rennick 22d5dce682 change the namespace of the WC Admin Package class 2020-02-24 22:56:32 -04:00
Ron Rennick 2d70a48361 bump action scheduler version, add queue unit tests 2020-02-24 21:45:19 -04:00
Peter Fabian d4933d9a5d Run configure for Jetpack plugin before attempting to try_registration.
This should prevent the fatal error otherwise occuring when connecting with Jetpack
during the OBW if Jetpack is inactive/not installed.
2020-02-24 17:47:07 +01:00
Peter Fabian 27b5210fdf Merge branch 'master' into fix/25664-2 2020-02-24 13:34:24 +01:00
Peter Fabian 3dcb3e0106 Correct the fallback check logic for is_staging_site().
There are JP versions where \Automattic\Jetpack\Status exists, but does not
contain is_staging_site() function, so this commit should correctly handle
those cases as well.
2020-02-24 11:01:44 +01:00
Peter Fabian 7ec65a1b35 Added the WC Admin enabled db update notice. 2020-02-23 21:59:03 +01:00
Christopher Allford 6a292de9f9 Cleared the cache when order items are added, updated, or deleted 2020-02-23 12:41:33 -08:00
Christopher Allford e2a09ac1a7 Added a cache clearing method to the order item data store
The order items utilize caching, but the cache is never cleared. This will allow us to resolve this issue in a way consistent with other data stores.
2020-02-23 12:11:23 -08:00
TimBHowe 34bec7d839 Added the get_woocommerce_currency_symbols function to allow developers to get an array of all the currency symbol registered with woocommerce 2020-02-23 13:51:19 -05:00
Patricia Hillebrandt bd53e2eb60 Prevents the Undefined property error when updating the post meta for a given coupon 2020-02-23 14:07:18 +01:00
Francesco Leanza c90a275bc7 Added woocommerce_can_restock_refunded_items filter 2020-02-21 19:15:09 +01:00
vedanshujain 6f53f42da6 Add checks to prevent if AS loaded is different version than we expect. 2020-02-21 16:35:37 +05:30
Francesco Leanza 5dfb618ff9 Add woocommerce_order_get_tax_location filter 2020-02-21 11:45:06 +01:00
vedanshujain d904786d7d Support both `.data()` and `.datasore` to have better compatibility
PR #24818 replaces data with datastore, however both of them have nothing to do with each other. `.data()` is jQuery specific memory datastore per element, whereas datastore is relatively newer way to store data associated with elements using `data-*` attributes.
There is no reason to not support both.
2020-02-21 15:47:31 +05:30
Christopher Allford bfac625cdc
Merge pull request #25667 from jacoswan/fix-25666
Fix 25666 - Schema rating markup is missing required bestRating and worstRating
2020-02-19 18:09:23 -08:00
Christopher Allford cc1e0c5f31
Merge pull request #25703 from woocommerce/update/e2e-test-docs
Update documentation related to running e2e and unit tests
2020-02-19 14:15:29 -08:00
Julia Amosova 4a316b776f Fix markdown issue in the content and add more details to the docs 2020-02-19 11:31:27 -05:00
Peter Fabian 88b8c006db Extracted the test to a function and fixed is_callable call. 2020-02-19 14:44:16 +01:00
vedanshujain 90ab985cfb Mark AS migration pending when updating WC to ensure migration happens.
Ideally https://github.com/woocommerce/action-scheduler/pull/470 should take care of this issue, but since we have AS 3.x in the wild without fix in the PR, this change is also necessary.
2020-02-19 18:19:11 +05:30
Julia Amosova 13761799cc Update documentation related to running e2e and unit tests 2020-02-18 17:09:03 -05:00
Christopher Allford 18d42d5880
Merge pull request #25697 from woocommerce/fix/autoloader-conflict
Avoid `Automattic\Jetpack\Constants` in main woocommerce class
2020-02-18 14:07:59 -08:00
Christopher Allford 9557b2e15a
Merge pull request #25681 from woocommerce/fix/25638
Apply new filter in MaxMind database migration
2020-02-18 12:10:09 -08:00