Claudio Sanches
b25665add9
Merge branch 'master' into update/pre-commit
2019-01-14 18:01:34 -02:00
Claudio Sanches
fbcbd55bf7
[REST API] Removed extra inherited filters from product endpoint
...
Closes #21700
2019-01-14 17:15:23 -02:00
Rodrigo Primo
507f67cb38
Merge pull request #22029 from woocommerce/fix/21429
...
FIx: Delete wc_layered_nav_counts_* transients whenever a product is updated
2019-01-14 15:26:15 -02:00
Mike Jolley
696d042c0e
Merge pull request #22255 from aelia-co/Tweak-wc_get_min_max_price_meta_query-filter
...
Added new filter "woocommerce_get_min_max_price_meta_query"
2019-01-14 17:04:59 +00:00
Mike Jolley
4dbee72c65
Merge pull request #22165 from woocommerce/fix/22089
...
Add new pre query filter to WC_Product_Data_Store_CPT::search_products()
2019-01-14 17:02:51 +00:00
Mike Jolley
1f63d59244
Merge pull request #22257 from manchumahara/patch-1
...
Add $orderby and $order params to filter woocommerce_get_catalog_ordering_args
2019-01-14 17:00:37 +00:00
Mike Jolley
5dc977802c
Merge pull request #22418 from woocommerce/fix/22037
...
Remove mention of payment from processing emails
2019-01-14 16:49:09 +00:00
Mike Jolley
fad3568e12
Merge pull request #22426 from JohnTendik/remove-unnecessary-variable-from-test-case
...
removed variable that was not being used in test case
2019-01-14 16:46:19 +00:00
Mike Jolley
283f3ba355
Merge pull request #22431 from woocommerce/renovate/autoprefixer-9.x
...
Update dependency autoprefixer to v9.4.5
2019-01-14 16:45:39 +00:00
Mike Jolley
4f4d7e6c9c
API - Rather than error, add users to blog like the checkout does
2019-01-14 16:31:52 +00:00
Mike Jolley
668c078bcf
This check is not needed - super admin should see it only
2019-01-14 16:31:05 +00:00
Mike Jolley
1b337dea64
Load customer data regardless of current blog
2019-01-14 16:30:47 +00:00
Mike Jolley
bd611172c2
Hide 0 costs for local pickup
2019-01-14 15:14:44 +00:00
Mike Jolley
47bd97862a
Change priority of notices on the account page so they appear above forms/content
2019-01-14 15:09:07 +00:00
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