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
Mike Jolley
9d381d456b
Remove simplify commerce gateway
2019-01-10 12:01:27 +00: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
Rodrigo Primo
519886838c
Merge pull request #21969 from woocommerce/add/21964
...
Add woocommerce_valid_location_types filter
2019-01-09 17:02:20 -02:00
Rodrigo Primo
8b129a89bf
phpcs fixes
2019-01-09 16:33:38 -02:00
Will Gorham
ec9d1d9402
Tests phpcs
2019-01-09 13:31:51 -05:00
Will Gorham
56fa520b8e
Tests for get_shipping_continents()
2019-01-09 13:31:30 -05:00
Will Gorham
1fc4ef6c59
Clean up docblocks and unused vars
2019-01-09 12:54:37 -05:00
Will Gorham
da6f425488
phpcs
2019-01-09 12:49:11 -05:00
Will Gorham
8051a0b0fc
Only show available shipping continents in zone regions
2019-01-09 12:48:18 -05:00
Mike Jolley
bf5ea249b5
Merge pull request #21991 from johnbillion/21989/user-switching-support
...
User Switching support
2019-01-09 17:01:47 +00:00
Mike Jolley
fe02144d0a
Merge pull request #21927 from woocommerce/add/21925
...
Make links in order notes clickable.
2019-01-09 16:52:37 +00:00
Mike Jolley
83543a9232
Handle publish and save post buttons by storing ID of button pressed
2019-01-09 16:31:53 +00:00
Mike Jolley
679af01f8d
Merge branch 'fix/20658' of https://github.com/woocommerce/woocommerce into fix/20658
2019-01-09 16:11:14 +00:00
Mike Jolley
6dd984e0cf
Merge branch 'master' into fix/20658
2019-01-09 16:09:19 +00:00
Ron Rennick
1d05cf3d91
phpcs sniff fixes for class-wc-product-csv-exporter.php
2019-01-09 10:21:24 -04:00
Ron Rennick
74c9f16377
use slug sanitization on product export category slugs
2019-01-09 10:17:55 -04:00
Mike Jolley
b4427e0c25
Merge branch 'pr/22298'
2019-01-09 13:51:30 +00:00
Mike Jolley
06b5480f2d
Merge pull request #22071 from Prospress/fix/22060
...
don't html escape sku used in product lookup
2019-01-09 13:07:04 +00:00
Mike Jolley
0620389e46
Merge pull request #22266 from woocommerce/e2e-update-db
...
Update e2e tests database to WP 5.0.1 and WC 3.5.2
2019-01-09 12:14:47 +00:00
Mike Jolley
a07cadf510
Merge pull request #21958 from mahdiyazdani/patch-2
...
Updated conditional statements to Yoda style
2019-01-09 12:11:53 +00:00
Mike Jolley
5820faba78
Merge pull request #21986 from JPry/wc_customer_has_capability_return_doc
...
Use proper return value for wc_customer_has_capability() docblock
2019-01-09 12:10:34 +00:00
Mike Jolley
21d8f74cb3
Merge pull request #22389 from woocommerce/renovate/wp-cli-wp-cli-2.x
...
Update dependency wp-cli/wp-cli to v2
2019-01-09 11:54:11 +00:00
Mike Jolley
8edadae4df
Merge pull request #22123 from helgatheviking/additional-args-for-woocommerce_add_to_cart_redirect
...
Add param for woommerce_add_to_cart_redirect filter
2019-01-09 11:53:26 +00:00
renovate[bot]
29ff42468a
Update dependency grunt-shell to v3 ( #22387 )
2019-01-09 11:32:09 +00:00
Mike Jolley
72b510edec
Update dependency grunt-contrib-uglify to v4 ( #22385 )
2019-01-09 11:31:42 +00:00
Bradley Davis
44bfd1127f
Removed indent after <?php to be match other files ( #22390 )
2019-01-09 11:31:14 +00:00
Renovate Bot
5d779e23a3
Update dependency grunt-contrib-uglify to v4
2019-01-09 11:29:29 +00:00
Fitim
a50f279816
Add filters for mail callback and mail callback params in WC_Email::send method
2019-01-09 12:28:32 +01:00
Mike Jolley
b733e92c8f
Merge pull request #22384 from woocommerce/renovate/grunt-contrib-jshint-2.x
...
Update dependency grunt-contrib-jshint to v2
2019-01-09 11:28:31 +00:00
Renovate Bot
c7e6e92fb6
Update dependency grunt-contrib-jshint to v2
2019-01-09 11:26:53 +00:00