Commit Graph

29762 Commits

Author SHA1 Message Date
Peter Fabian 42855592e4 Updated call to reflect function change. 2019-02-18 18:59:37 +01:00
Peter Fabian ba12cf723c Renamed filter and reused the function in auth code. 2019-02-18 18:54:56 +01:00
Peter Fabian dda4cab70c Updated todo to use the common format. 2019-01-28 13:13:12 +01:00
Peter Fabian 33584e767f Renamed function
As legacy REST API will be removed soon anyway.
2019-01-25 10:07:32 +01:00
Peter Fabian d390528d79 Updated check to only cover non-legacy REST API requests.
Updated filter name.
2019-01-24 12:06:47 +01:00
Peter Fabian 2d5fc8ef7d Merge branch 'master' into fix/20937-v0.1 2019-01-24 11:19:46 +01:00
Mike Jolley 00a93ae8f0
Merge pull request #22112 from Prospress/fix/22101
Introduce wc_attribute_taxonomy_slug()
2019-01-23 21:57:07 +00:00
Mike Jolley 5b40f24adc
Merge pull request #22526 from woocommerce/fix/21299
Sort terms by parent and work back from bottommost term
2019-01-23 21:36:55 +00:00
Mike Jolley e171718534
Merge pull request #22529 from james-allan/custom_coupon_usage_limit
Keep count of the number of times custom coupons apply
2019-01-23 21:36:19 +00:00
Mike Jolley 6cfd5db528
Merge pull request #22524 from woocommerce/fix/22499
Option "Used for variations" should not appear for non-variable product types
2019-01-23 20:22:49 +00:00
Mike Jolley 20330b01bd
Merge pull request #22531 from rellect/fix_ssl_check
Fix ssl check in case shop page no longer exists
2019-01-23 20:18:43 +00:00
Mike Jolley 467681c788
Merge pull request #22537 from woocommerce/fix/22450
round variation percentage price adjustments to decimal setting
2019-01-23 20:15:12 +00:00
Mike Jolley 407a5954dc
Merge pull request #22464 from woocommerce/fix/22245
include tax in subtotals when validating coupon minimum and maximum
2019-01-23 19:54:12 +00:00
Ron Rennick 6709049cbc round variation percentage price adjustments to decimal setting 2019-01-23 14:04:04 -04:00
Mike Jolley e9f0490829
Merge pull request #21719 from vyskoczilova/master
Custom settings on shipping section (#13463, #13461)
2019-01-23 17:07:13 +00:00
Mike Jolley 6a89a76c11 Merge 17796 2019-01-23 16:39:21 +00:00
Refael Iliaguyev 398bbe3754 sniff fixes 2019-01-23 17:26:17 +02:00
Mike Jolley 9cdcc3f1e5
Merge pull request #21817 from woocommerce/feature/pages-gutenberg-support
Use shortcode block for WooCommerce default pages
2019-01-23 15:25:28 +00:00
Mike Jolley f96d59ac2b Merge branch 'pr/21043' 2019-01-23 15:16:50 +00:00
Mike Jolley 987a24afdc Timeout param 2019-01-23 15:16:40 +00:00
Ron Rennick a6b1c45740 phpcs sniff fixes for class-wc-rest-products-v2-controller.php 2019-01-23 11:13:25 -04:00
Gerhard Potgieter f77e2d7316 Handle full refunds in the taxes by code report (#21843)
* Add full refund support to the taxes by code report.

* Some PHPCS fixes

* Do not include refund in initial tax lookup for report.

* Correct logic which loops orders

* match date report
2019-01-23 15:12:58 +00:00
Ron Rennick 8709351994 update function name to `wc_attribute_taxonomy_slug` 2019-01-23 11:11:27 -04:00
Ron Rennick b868b484f7 fix merge conflicts 2019-01-23 10:53:42 -04:00
Refael Iliaguyev 8f0f22c11b Fix ssl check in case shop page does not exists. 2019-01-23 16:08:13 +02:00
Luigi 548b00c660 Improve the way we do queries (#22043)
* Improve the way we do queries

* PHP legacy compatible

* Update aproach to filter queries with empty values

* Fixing Unit Tests

* Moving Unit Test to its the correct test function

* Filter missing the new param, allow_empty, also simplifiying unit test.

* Helper function to create counpon does not support empty coupon codes

* Helper function does not need to allot empty search

* Wrong code standard

* Fixing Code Standard Unit Test
2019-01-23 13:46:32 +00:00
Mike Jolley e8710e4ad6
Merge pull request #22530 from treibalen/master
Change footer wording for WooCommerce emails
2019-01-23 13:28:31 +00:00
Mike Jolley 99f663ad5c
Merge pull request #22131 from willgorham/improve-shipping-zone-continents
Improve shipping zone continents [Fixes #22130]
2019-01-23 13:27:16 +00:00
Mike Jolley 57ae0bec9d
Merge pull request #22073 from bekarice/fix/partial-refund-webhooks
Send webhooks for partial refund creation
2019-01-23 13:02:44 +00:00
Mike Jolley 30f5e1f88e
Merge pull request #21727 from woocommerce/fix/21663
Update sample_products.xml to include attachments
2019-01-23 12:58:39 +00:00
treibalen 178c7a7a9c Change wording for WooCommerce emails
Change emails footer from "Powered by WooCommerce" to "Built with WooCommerce"
2019-01-23 13:50:08 +05:30
James Allan 767abb3a8a Keep count of the number of times custom coupons apply 2019-01-23 16:47:52 +10:00
Mike Jolley 7cd20021e0 Sort terms by parent and work back from bottommost term
Fixes the issue described in #21299 by sorting terms by parent ID.

Remove the extra get_term call because we already have a term object.

Since we support 4.7+, also removed function exists for wp_list_sort function.
2019-01-22 19:06:58 +00:00
Will Gorham 45e7f344b1 Use shipping countries instead of selling countries 2019-01-22 13:51:35 -05:00
Mike Jolley 2a2863c5ba
Merge pull request #21648 from EmranAhmed/master
Add 3rd param on `woocommerce_product_option_terms` action to use custom attribute types on product attribute create
2019-01-22 18:28:24 +00:00
Mike Jolley 9b2866a310 Merge branch 'pr/21722' 2019-01-22 18:20:45 +00:00
Ron Rennick 343a217939 move add order tax to get_object_subtotal() 2019-01-22 13:42:37 -04:00
Mike Jolley 43ba62dc86
Merge pull request #22067 from Prospress/fix/22046
populate default variation attributes when it is the first variation
2019-01-22 17:29:54 +00:00
Rodrigo Primo d08745e041 'Used for variations' checkbox should only appear for variable products
When editing product attributes, the checkbox 'Used for variations' should only be displayed when editing a variable product. The code has checks in place to control the display of this checkbox when adding an attribute or when loading the product attributes, but it was missing a check when saving product attributes which is added in this commit.
2019-01-22 15:13:02 -02:00
Rodrigo Primo a713e63502 Fix eslint errors 2019-01-22 15:04:43 -02:00
Mike Jolley ed95fe2cd3
Merge pull request #22066 from Prospress/fix/22065
add is_array check to catalog ordering orderby
2019-01-22 16:25:20 +00:00
Mike Jolley c99495488b
Merge pull request #22458 from woocommerce/fix/22456
Set order vat exempt status to that of customer on checkout.
2019-01-22 16:13:36 +00:00
Mike Jolley 581d3c3195 Merge branch 'pr/22290' 2019-01-22 16:05:56 +00:00
Mike Jolley 11b172d583 phpcs 2019-01-22 16:04:16 +00:00
Mike Jolley 9b6694341f Fix code and improve indenting 2019-01-22 16:01:17 +00:00
Mike Jolley e3a1c1c3c0
Merge pull request #22475 from woocommerce/add/22474
Add stock qty increase/decrease option to bulk edit
2019-01-22 15:20:44 +00:00
Mike Jolley 380201be33
Merge pull request #22417 from woocommerce/fix/21175
Sort countries using new ascii comparison function
2019-01-22 14:47:41 +00:00
Mike Jolley 34a3d77080
Merge pull request #22303 from Prospress/fix/22063
only hide price filter widget when archive has no products
2019-01-22 14:44:48 +00:00
Mike Jolley 10518228aa
Merge pull request #22318 from Prospress/fix/21202
Only include the network orders widget on the main site dashboard
2019-01-22 14:38:46 +00:00
Mike Jolley d7f768f779
Merge pull request #21069 from tomaskavalek/patch-1
Added missing HTML filter for quantity
2019-01-22 14:36:20 +00:00