Commit Graph

19885 Commits

Author SHA1 Message Date
vedanshujain fcd4057218 More preventive check for order object in tracks. 2020-04-08 11:43:20 +00:00
vedanshujain e573390356 Add protective checks around order to prevent issues when order is drafted. 2020-04-08 09:56:18 +00:00
Vedanshu Jain c2d6d230f9
Merge pull request #26094 from woocommerce/bump/min-wp-version
Updated min WP version to 5.2
2020-04-07 17:26:06 +05:30
Nestor Soriano 0eed82b3b7 Fix code standards violations introduced in #25092 2020-04-07 12:28:30 +02:00
Claudio Sanches 58db7314a8 Added validation for product fields. 2020-04-07 11:29:54 +02:00
Peter Fabian 5a1ad5daf1 Updated min WP version to 5.2 2020-04-07 11:25:29 +02:00
Vedanshu Jain 46caa40854
Merge pull request #26085 from woocommerce/add/25849-implement-additional-tracks-take-2
Implement additional tracks take 2
2020-04-07 14:48:19 +05:30
Christopher Allford 172ceb51e8
Merge pull request #26084 from woocommerce/add/cart-checkout-block-settings-data
add customised cart & checkout block settings to wc-tracker snapshot
2020-04-06 18:22:24 -07:00
Rua Haszard 7b55096288 fix logic errors in get_blocks_from_page:
- declare closure use (dependency) on $block_name from surrounding func
- re-index the filtered array so $blocks[0] returns first filtered block
2020-04-07 10:23:03 +12:00
Rua Haszard bc8553f3d5 refactor block tracker data into standard function:
- use parse_blocks to detect block instead of SQL match
- method is now generic, can get data about any block on any woo page
2020-04-07 09:40:22 +12:00
Vedanshu Jain 3bf473517d
Merge pull request #25708 from woocommerce/update/reserve-stock-for-checkout
Introduce a `reserved stock` class and database table to prevent race conditions during checkout
2020-04-07 02:16:22 +05:30
Vedanshu Jain 057b352de7
Merge pull request #26016 from woocommerce/fix/26010
Setup Wizard: Default 100% of users to new OBW.
2020-04-07 02:10:09 +05:30
Claudio Sanches e95f34e81e Fixed coding standards and hooks priority 2020-04-06 17:10:09 -03:00
Vedanshu Jain dff7d8fd44
Merge pull request #26039 from soulseekah/master
Fix WC_Product_Data_Store_CPT::update_product_stock race condition
2020-04-07 00:44:33 +05:30
Vedanshu Jain 237463c39b
Merge pull request #25800 from woocommerce/fix/25748
Fixes tax rounding issues
2020-04-07 00:24:34 +05:30
Vedanshu Jain 5adb16e287
Merge pull request #25904 from woocommerce/fix/25073
Change string for untested WC extensions to avoid confusion
2020-04-06 23:18:42 +05:30
Vedanshu Jain 251e1ea273
Merge pull request #25851 from woocommerce/add/tracks-props-filter
Tracks: Add Ability to Filter Event Props
2020-04-06 18:25:58 +05:30
Vedanshu Jain a8d60a8864
Merge pull request #25856 from woocommerce/fix-reset-action-scheduler-db-update-routine
Fix minor inconsistencies in the WC 4.0 database update routines
2020-04-06 18:07:39 +05:30
Vedanshu Jain e3eb30c509
Merge pull request #26066 from woocommerce/fix/26002
Fix/26002
2020-04-06 18:05:47 +05:30
Vedanshu Jain 52ded367f5
Merge pull request #26075 from woocommerce/fix/26015
Prune elements with display none to fix regression.
2020-04-06 18:03:45 +05:30
Néstor Soriano 13765d9e91
Merge pull request #25092 from leanzafrancesco/fix/25091
Fix/25091 - Wrong totals in orders with taxable and non-taxable products and percentage coupons
2020-04-06 12:31:07 +02:00
Rebecca Scott 3807b809b4 Localise edit product header in products tracking 2020-04-06 11:22:24 +10:00
Rebecca Scott b8c2ce48b8 Revert "Revert "Implement additional tracks""
This reverts commit c24b565477.
2020-04-06 10:27:45 +10:00
Rua Haszard 3f42fbbeba remove stale/redundant comments 2020-04-06 12:10:35 +12:00
Rua Haszard e93bb453e1 use anonymous functions for array_filter when finding cart etc blocks 2020-04-06 12:08:37 +12:00
Rua Haszard 029e27cc25 add customised cart & checkout block settings to wc-tracker snapshot 2020-04-06 11:59:31 +12:00
Christopher Allford e3c120c1d9
Merge pull request #26034 from woocommerce/fix/package-update-error
Corrected error messaging on update for expired WooCommerce.com subscriptions
2020-04-03 08:35:46 -07:00
Mike Jolley 1acae4ef92 woocommerce_payment_complete priority 2020-04-03 15:58:59 +01:00
Mike Jolley f248902454 Update versions 2020-04-03 15:56:43 +01:00
Mike Jolley 4faea42c23 Change priorities 2020-04-03 15:55:15 +01:00
Mike Jolley e965f854d6 Missing class name 2020-04-03 15:55:15 +01:00
Mike Jolley 62e099bd84 Add table schema 2020-04-03 15:55:15 +01:00
Mike Jolley c983677a6f Implement stock functions 2020-04-03 15:55:15 +01:00
Mike Jolley 802fff94c2 Remove stock methods from order class 2020-04-03 15:55:14 +01:00
Mike Jolley 910a13f544 Fire action hooks rather than call stock holding functions directly 2020-04-03 15:55:14 +01:00
Mike Jolley 02cf328afe Remove check for held stock minutes during stock checks - this will be handled elsewhere 2020-04-03 15:55:14 +01:00
Mike Jolley 51aca598b9 Only implement get_query_for_stock in data store 2020-04-03 15:55:14 +01:00
Mike Jolley 7228d67799 Remove helpers from order functions 2020-04-03 15:55:14 +01:00
vedanshujain 3bd34184e4 Fixed bool error on when to disable feature 2020-04-03 15:55:14 +01:00
Claudio Sanches 2ebd86f2dc Revert "Revert "Add support for '_held_for_checkout` records to prevent race conditions."" 2020-04-03 15:55:13 +01:00
vedanshujain 6612d1f859 Prune elements with display none to fix regression.
In an earlier emogridier version (til WC 3.9.3) this was happening by
default, however now we have to do this explicitly since we update
emogrifier to > 3.x.
2020-04-03 13:47:04 +00:00
Claudio Sanches 83609d4844 Improved escaping 2020-04-02 14:25:09 -03:00
Claudio Sanches f02780e764 Update theme update available message 2020-04-02 14:22:50 -03:00
Claudio Sanches 9345eb3624 Improved dependency and update message style 2020-04-02 14:17:38 -03:00
vedanshujain 8adb474149 Enforce per user coupon usage limit for guest user checkout.
In a previous commit, a regression was introduced where we were no
longer checking for usage limit of guest user in an install. This
commit adds back that check.
2020-04-02 15:00:06 +00:00
Claudio Sanches 5356fb1bf6 Removed undefined variable 2020-04-01 19:22:44 -03:00
Claudio Sanches c24b565477
Revert "Implement additional tracks" 2020-04-01 11:34:54 -03:00
Bec Scott 3e322793ec
Merge pull request #25942 from woocommerce/add/25849-implement-additional-tracks
Implement additional tracks
2020-04-01 09:54:05 +10:00
Claudio Sanches 8ae9df58ed
Merge pull request #25901 from woocommerce/fix-code-documentation
Fix PHP docblock for WC_Plugin_Updates::get_untested_plugins()
2020-03-31 15:20:54 -03:00
Gennady Kovshenin ca996a8941 Fix race condition in update_product_stock
Modify the increment and decrement SQL query in
WC_Product_Data_Store_CPT::update_product_stock to be atomic. This fixes
a race condition in concurrent order placement.
2020-03-31 16:01:26 +03:00