Commit Graph

23060 Commits

Author SHA1 Message Date
Claudiu Lodromanean abc43c473e Merge pull request #16877 from nicoladj77/patch-1
Check for nonce when Cancelling Order.
2017-09-21 10:27:12 -07:00
Claudiu Lodromanean e713b5beb3 Merge pull request #16869 from woocommerce/fix/16861
Fix legacy access to array props (fees, taxes, coupon totals + taxes)
2017-09-21 09:47:29 -07:00
claudiulodro d5981b34e8 Remove redundant rendundancy in deprecation notices 2017-09-21 09:45:38 -07:00
Matt Miller a871d36380 Added wp_unslash() to address fields on the checkout page (#16874)
* Added wp_unslash() to address fields on the checkout page

* Cleaned up code indentation

* Added wp_unslash() function on remaining POST address fields on checkout
2017-09-21 17:37:27 +01:00
Claudiu Lodromanean 3063825c4d Merge pull request #16867 from woocommerce/fix/16853
Add legacy shipping conditon
2017-09-21 09:24:14 -07:00
Claudiu Lodromanean 5e24b86d61 Merge pull request #16866 from woocommerce/fix/16840
Add subtotal to min and max spend code
2017-09-21 09:08:34 -07:00
Claudiu Lodromanean 3440460127 Merge pull request #16865 from woocommerce/fix/16862
remove spam field
2017-09-21 09:06:08 -07:00
claudiulodro 02e33b3cd7 Update template version 2017-09-21 09:05:04 -07:00
Mike Jolley 3c796e2ee7 Merge pull request #16873 from thenbrent/cart_filters
Tweak new cart getter filters - use __FUNCTION__ not __METHOD__ to avoid including WC_Cart:: in hook names
2017-09-21 14:52:49 +01:00
adnan 5e1d68608e Remove unused variable (#16882)
* commit

* Remove Unused Variable in set_coupon_discount_amounts functions.

* removed by mistake dd ss word by me
2017-09-21 14:47:16 +01:00
Nicola Peluchetti 74bea6ec7d Check for nonce when Cancelling Order. 2017-09-21 03:08:06 +03:00
Brent Shepherd 470c5f7a1d Use __FUNCTION__ for filter hook name
To avoid including the WC_Cart class name and a double colon.

Example hook from WC_Cart::get_total():
 * Before this PR: woocommerce_cart_WC_Cart::get_total
 * After this PR: woocommerce_cart_get_total
2017-09-20 14:45:37 -07:00
Mike Jolley 5151415eec Merge branch 'discounts-class-fixes-and-tests' 2017-09-20 18:44:18 +01:00
Mike Jolley 9c63da78c4 Fixed limit to x by avoiding changing the original item (uses clone) 2017-09-20 18:42:10 +01:00
Mike Jolley 21dfde842a Revised coupon sort order to not rely on IDs which can differ between cart and tests
Also edited test to match
2017-09-20 18:41:48 +01:00
Mike Jolley 29107d24a9 Remove filters from tests and correct sums 2017-09-20 18:37:26 +01:00
Mike Jolley c0542be4ff Merge branch 'pr/16841' 2017-09-20 15:47:37 +01:00
Mike Jolley 3d9902c4d5 Page template should have higher priority. 2017-09-20 15:47:30 +01:00
Mike Jolley eb79566985 Fix legacy access to array props (fees, taxes, coupon totals + taxes)
Closes #16861
2017-09-20 15:39:05 +01:00
Mike Jolley f1f3a6fbc0 Add legacy shipping conditon
Closes #16853
2017-09-20 14:11:47 +01:00
Mike Jolley 9e1bd3c54d phpcs 2017-09-20 14:03:06 +01:00
Mike Jolley 2c70444123 Add subtotal to min and max spend code
Closes #16840
2017-09-20 13:51:41 +01:00
Mike Jolley 6aea8d0718 Wrap conditonal in add to cart shortcode string output
Closes #16856
2017-09-20 13:18:16 +01:00
Mike Jolley d52677b0ac Fix like query escape in background processing
Closes #16846
2017-09-20 12:46:27 +01:00
Mike Jolley c91cd01379 remove spam field
Closes #16862
2017-09-20 11:51:33 +01:00
Mike Jolley 04ba489628 Merge pull request #16835 from thenbrent/tweak_internal_meta_message
Tweak internal meta notice
2017-09-20 03:39:56 -07:00
Mike Jolley de1eceb95e Merge pull request #16843 from woocommerce/fix/16800
Make importer columns case-insensitive
2017-09-20 03:39:27 -07:00
Mike Jolley 70df6eb72f Merge pull request #16844 from woocommerce/fix/16826-2
Only set prices if set in request for legacy API
2017-09-20 03:38:30 -07:00
claudiulodro 133b664cc3 Only set prices if set in request 2017-09-17 11:44:00 -07:00
claudiulodro 9d8e308a78 Make importer columns case-insensitive 2017-09-17 10:18:03 -07:00
Claudiu Lodromanean f9120672bd Merge pull request #16767 from hjoelr/bugfix-coupon-cache
Bugfix: coupon object cache not being cleared upon deletion
2017-09-17 09:45:45 -07:00
Claudiu Lodromanean 2bf8a742f2 Merge pull request #16838 from woocommerce/fix/16834
Init price slider after using customizer
2017-09-17 09:24:07 -07:00
Claudiu Lodromanean 21aaa584e7 Merge pull request #16836 from woocommerce/fix/16832
Add target blank to terms and conditons
2017-09-16 15:32:03 -07:00
Emran Ahmed 066a857d19 Supporting Custom Post Type Template
Supporting Custom Post Type Template for Single Product.
2017-09-17 02:22:05 +06:00
Mike Jolley d125739742 fix init 2017-09-16 12:37:29 -07:00
Claudiu Lodromanean 75279ddfbc Merge pull request #16824 from woocommerce/fix/16778
Ensure we have arrays in find/replace
2017-09-16 12:36:10 -07:00
Mike Jolley 7cc931c185 Init price slider after using customizer
Closes #16834
2017-09-16 12:16:43 -07:00
Joel Rowley b24eb0b46a Added more tests 2017-09-15 21:04:21 -04:00
Joel Rowley b8b67cf471 Made state cleanup more explicit in case there were filters that need run on cleanup. 2017-09-15 21:00:56 -04:00
Joel Rowley f2a06c1ef0 Made discount unit tests more robust using PHPunit's Data Provider and tearDown() 2017-09-15 21:00:56 -04:00
Mike Jolley d0d73f55a8 Add target blank
Closes #16832
2017-09-15 16:48:25 -07:00
Mike Jolley 2bbeab247c Merge pull request #16822 from woocommerce/fix-16821
Remove extra space in tax state code
2017-09-15 16:43:41 -07:00
Mike Jolley a62bb30200 Merge pull request #16803 from iamdharmesh/master
Apply filter on product csv importer steps.
2017-09-15 16:39:20 -07:00
Mike Jolley 8973a0cdad Merge pull request #16797 from Umangvaghela/add-esc_html
add esc_html in class-wc-checkout.php file
2017-09-15 16:37:50 -07:00
Brent Shepherd 81b9160973 Add offending key to error message 2017-09-15 15:58:34 -07:00
Brent Shepherd f404affff4 Tweak internal meta notice
To remove ambiguity with accessing properties via $object->meta_key
syntax, which was deprecated with WC 3.0.
2017-09-15 15:48:53 -07:00
Claudio Sanches 5627014cd9 Merge pull request #16831 from woocommerce/fix/16794
Move cart totals setter for 3.1 compat
2017-09-15 15:22:19 -07:00
Mike Jolley d3da954133 Move cart totals setter for 3.1 compat
Closes #16794
2017-09-15 11:15:50 -07:00
Mike Jolley 83f60c68ab Merge branch 'pr/16807' 2017-09-15 10:54:59 -07:00
Umangvaghela e38d01bcfa Resolve Issue 2017-09-15 10:54:30 -07:00