Commit Graph

29765 Commits

Author SHA1 Message Date
Mike Jolley f6fe8d1abc Priority should use integers
#22227
2019-01-14 14:58:00 +00:00
Mike Jolley d83c9c5f5b When page is ready, make fields update for all country fields 2019-01-14 14:44:54 +00:00
Mike Jolley 3922d186e0 trigger event when ready (wc_address_i18n_ready) 2019-01-14 14:44:14 +00:00
Mike Jolley 9799301b0a Add script dep 2019-01-14 14:43:53 +00:00
Gerhard dc0f8fb696 PHPCS fixes 2019-01-14 09:41:24 +02:00
Gerhard 9d3053ce9a Check if WooCommerce is active on blog before running WooCommerce queries for the MS widget. 2019-01-14 09:40:04 +02:00
Gerhard 6220399163 Switch to use v3 of the API for network orders. 2019-01-14 09:15:20 +02:00
Jesús Ramirez 88335691cd
Updating Venezuelan Currency
The new Venezuelan currency is Bs S
2019-01-13 10:01:37 -04:00
Renovate Bot 9b42f74cf1
Update dependency autoprefixer to v9.4.5 2019-01-12 17:18:40 +00:00
unknown 883ecc3ca4 removed variable that was not being used 2019-01-11 19:19:15 -05:00
Kathy Daring 1e51bf3e69 switch ordered_again hook to ref_array 2019-01-11 12:14:29 -05:00
Ron Rennick 6b1341138f phpcs sniff fixes for class-wc-ajax.php 2019-01-11 12:57:33 -04:00
Ron Rennick 641884b71b return coupon error messages as text message for alert() 2019-01-11 12:50:44 -04:00
Mike Jolley 14b0e87301 Fixes edge case due to orders screen expecting unrounded values. 2019-01-11 14:07:41 +00:00
Gerhard 2974154ae8 Update processing order email copy as per feedback https://github.com/woocommerce/woocommerce/pull/22418#discussion_r247105693 2019-01-11 15:04:06 +02:00
Gerhard cf38ed4aba Remove on-hold orders from tax reports as they are not paid yet. Tax reports should only contain paid orders. 2019-01-11 14:44:09 +02:00
Gerhard 4c6da744fe PHPCS fixes 2019-01-11 14:30:13 +02:00
Gerhard 77537d2cd3 Update copy for processing order emails to not mention payment as some stores take payment after orders are placed. 2019-01-11 14:29:21 +02:00
Gerhard c24faa8ab4 Use array_values when checking assertSame for sort comparison of arrays. 2019-01-11 14:02:54 +02:00
Gerhard 0c3f5261c7 Add unit tests for wc_ascii_uasort_comparison 2019-01-11 13:48:37 +02:00
Mike Jolley 96603720ca Item subtotal rounding must match cart calc class
Fixes #21871
2019-01-11 11:41:22 +00:00
Gerhard 0a5d3b1675 Sort countries based on wc_ascii_uasort_comparison 2019-01-11 13:40:38 +02:00
Mike Jolley a4a421a86b Failing test case for the issue 2019-01-11 11:34:47 +00:00
Gerhard f8dfac9f48 Add wc_ascii_uasort_comparison function to compare values based on ascii values 2019-01-11 13:18:59 +02:00
Gerhard 11b9f49d18 Add a fallback to cURL version check in system status so it still shows if cURL is installed when the version function is disabled by the host. 2019-01-11 10:38:21 +02:00
Rodrigo Primo c15d622dd2 WC_Data::get_id() does not take any parameters
This commit removes a parameter from a call to WC_Data::get_id() as this method does not take any parameters
2019-01-10 17:10:13 -02:00
Rodrigo Primo 609430a8f1 Remove unused parameter from WC_Webhook_Data_Store::delete() 2019-01-10 17:08:41 -02:00
Rodrigo Primo 3cf945d5d9 Fix PHPCS errors automatically using phpcbf 2019-01-10 17:07:53 -02:00
Rodrigo Primo a7463c5535 Merge branch 'master' of github.com:woocommerce/woocommerce 2019-01-10 16:39:22 -02:00
Rodrigo Primo 3b3da24546 Fix typo in inline comment 2019-01-10 16:38:58 -02:00
Rodrigo Primo c2b49dc6e3 fix phpcs violation 2019-01-10 16:38:26 -02:00
Rodrigo Primo c82346b095 Restore code to delete wc_layered_nav_counts_* transients
Commit a9994feeea removed the code to delete wc_layered_nav_counts_* transients whenever a product attribute is updated and moved it to wc_delete_product_transients(). This was done to make sure those transients are deleted whenever a product is updated and not only when a product attribute changes. But, as Claudiu pointed out (https://github.com/woocommerce/woocommerce/pull/22029#issuecomment-451473512), this change introduced a bug as if you remove an attribute from a product, by the time the code reaches wc_delete_product_transients() the changes have been applied already to the product, the attribute doesn't belong to it anymore, and thus the layered nav counts transient for that attribute is not deleted.

To work around this problem, this commit restores the code that deletes wc_layered_nav_counts_* transients inside WC_Product_Data_Store_CPT::update_attributes(). Now, in most cases, WC will try to delete the same transient twice, but I can't see any other way to implement a solution for the problem above without doing this.
2019-01-10 14:19:03 -02:00
Ron Rennick 6618d1e626 fix merge conflict 2019-01-10 11:22:31 -04:00
Ron Rennick 951b68be48 phpcs sniff fixes for class-wc-widget-price-filter.php 2019-01-10 11:13:50 -04:00
Ron Rennick 1033217860 only hide price filter widget when archive has no products 2019-01-10 11:12:09 -04:00
Mike Jolley 96ba549b2b Remove type hint 2019-01-10 13:23:49 +00:00
Mike Jolley f67ab4e447 correct version 2019-01-10 13:20:02 +00:00
Mike Jolley 1815928208 Merge branch 'master' into pr/21217 2019-01-10 13:10:11 +00:00
Mike Jolley f4ed56a894
Merge pull request #21153 from jamesckemp/patch-12
`woocommerce_variation_option_name` Parameters
2019-01-10 12:28:21 +00:00
Mike Jolley f0772e6b2c Merge branch 'pr/21235' 2019-01-10 12:25:07 +00:00
Mike Jolley 8c0e0b62cd Add legacy class and version bump 2019-01-10 12:24:48 +00:00
Gator92 a240623f47 pass all arguments to woocommerce_order_item_display_meta_value filter 2019-01-10 07:21:34 -05:00
Rodrigo Primo 5117a65638
Merge pull request #22116 from woocommerce/fix/refund-hash-reload/22115
Strip hash from URL that prevents reload on refunds
2019-01-09 18:20:37 -02:00
Claudiu Lodromanean e27ef52875
Merge pull request #20667 from woocommerce/fix/20658
Make product edit form aware publish was pressed
2019-01-09 12:17:38 -08:00
Rodrigo Primo b4db23a4fc Bump template version after change in #22078 2019-01-09 17:39:02 -02:00
Rodrigo Primo edd8f14e40 Merge branch 'master' of github.com:woocommerce/woocommerce 2019-01-09 17:38:32 -02:00
Rodrigo Primo 0b09bef386
Merge pull request #22078 from unfulvio/make-shipping-options-available-text-filterable
Make shipping may be available text filterable
2019-01-09 17:38:00 -02:00
Rodrigo Primo 7daf97d1f8 phpcs fixes
this indentation change is a bit odd but makes phpcs happy
2019-01-09 17:32:27 -02:00
Rodrigo Primo b115a7587f
Merge pull request #21966 from woocommerce/add/21955
Filter out buttons from edit order row click
2019-01-09 17:23:29 -02:00
Ron Rennick 0d0f004c66 update default attribute slug when atribute term slug is changed 2019-01-09 15:10:24 -04:00