Commit Graph

16006 Commits

Author SHA1 Message Date
Mike Jolley 9f86839cab Remove wc_transaction_query in favour of logging 2018-06-14 14:39:18 +01:00
Mike Jolley 893e6affb1 Revert this change - no issue, just keeping diff small 2018-06-14 12:56:21 +01:00
Mike Jolley 90c90591f3 Round items for order total 2018-06-14 12:52:13 +01:00
Roshan Sameer 384f54f951 Static call 2018-06-14 16:40:48 +05:45
Mike Jolley aa4a89f92d Shipping tax may be a string, so cast it
Fixes #20519
2018-06-14 11:49:45 +01:00
claudiulodro 79551e9843 Wootenberg JITM 2018-06-13 11:36:36 -07:00
Claudiu Lodromanean 73dbec001a
Merge pull request #20456 from JPry/custom_coupon_item_limit
Custom coupon item limit
2018-06-13 09:57:47 -07:00
Claudio Sanches ed4c6898f7
Merge pull request #20472 from rnaby/090618-232243
Remove unused variable and unnecessary else if
2018-06-12 13:28:48 -03:00
Claudio Sanches 6b230706fb
Merge pull request #20502 from woocommerce/fix/20466
Initialize payment gateways before running bulk actions
2018-06-12 11:59:47 -03:00
Mike Jolley cfe1cb5c16 Handle login and change events 2018-06-12 15:32:01 +01:00
Claudio Sanches 5f37fe110a
Merge pull request #20499 from woocommerce/fix/20496
Remove API enabled check from auth endpoint
2018-06-12 11:22:54 -03:00
Mike Jolley 10a5779fd1 wp_localize_script 2018-06-12 14:57:44 +01:00
Claudio Marangon e3447635ae Conform returned error messages
The <strong>Error:</strong> should be removed because:

- the other errors in this function don't provide it either
- the process_registration() function in class-wc-form-handler.php also adds this string so it's added twice
2018-06-12 15:48:59 +02:00
Mike Jolley cca7972d8f Initialize payment gateways before running bulk actions 2018-06-12 13:14:09 +01:00
Jon Besga e75c3716d2
Update wc-rest-functions.php
Arguments passed to end function should be passed by reference.
2018-06-12 12:45:22 +01:00
Mike Jolley ddf9ab0605 Remove API enabled check from auth endpoint 2018-06-12 12:37:36 +01:00
Mike Jolley fcd23567f6 Clear transients tool; clear wc_layered_nav_counts 2018-06-12 12:31:15 +01:00
Mike Jolley cfda380d2f API: Order images by position before saving 2018-06-12 12:13:10 +01:00
therealgilles 3818598811 Rename woocommerce_checkout_skip_update_order_review_expired to woocommerce_checkout_update_order_review_expired and change filter polarity. 2018-06-11 20:29:16 +00:00
therealgilles 43db16a708 Merge branch 'master' of https://github.com/woocommerce/woocommerce 2018-06-11 18:14:30 +00:00
Claudiu Lodromanean 2c1c32bf91
Merge pull request #20487 from willgorham/remove-malta-checkout-state
Remove Malta checkout 'State' field
2018-06-11 10:34:52 -07:00
Claudiu Lodromanean c93a922876
Merge pull request #20486 from woocommerce/fix/20430
sanitize_special_column_name_regex trim
2018-06-11 10:28:41 -07:00
Claudiu Lodromanean b351bcac50
Merge pull request #20483 from woocommerce/fix/20431
Search for matching keys when updating meta data
2018-06-11 10:26:24 -07:00
Claudiu Lodromanean 4ba04cfc4e
Merge pull request #20481 from woocommerce/update/20444
Remove personal data confirmation notice
2018-06-11 09:56:26 -07:00
Will Gorham 1d4f76490e Remove malta state field 2018-06-11 11:23:27 -04:00
Mike Jolley 38be26e7a5 sanitize_special_column_name_regex trim 2018-06-11 14:55:36 +01:00
Mike Jolley 588be3a780 merge master 2018-06-11 13:46:04 +01:00
Mike Jolley 52a7fafd74 Search for matching keys when updating meta data 2018-06-11 12:50:49 +01:00
Mike Jolley 5e14953796 Avoid price setting when synced with children 2018-06-11 11:44:58 +01:00
Mike Jolley 35db31db32 Add notice text, fix typos 2018-06-11 10:35:34 +01:00
Roshan Sameer 32b734a1c1 Implementation of current action check in list table 2018-06-11 15:05:13 +05:45
Gerhard Potgieter 90a9fd49e6 X_FORWARDED_FOR standard states either just an IP or a comma seperated list of IP, Proxy, Proxy, ... 2018-06-11 10:49:03 +02:00
therealgilles 9adff87a1c Rename woocommerce_checkout_skip_cart_is_empty_check to woocommerce_checkout_redirect_empty_cart and invert filter polarity. 2018-06-10 18:58:47 +00:00
therealgilles 1d733236e0 Merge branch 'master' of https://github.com/woocommerce/woocommerce 2018-06-10 18:53:13 +00:00
Khan M Rashedun-Naby 8d7ae8b413 Remove unused variable and unnecesary else if 2018-06-09 23:24:08 +06:00
Mike Jolley 4bc7841325 search_products limit support 2018-06-09 17:23:07 +01:00
Mike Jolley 81149157a3 woocommerce_json_search_limit filter 2018-06-09 17:22:26 +01:00
Claudiu Lodromanean 3d4dfda568
Merge pull request #20435 from rnaby/070618-212333-wc-privacy-exporters-customer_data_exporter
Removed unnecessary parameter. Also removed from tests.
2018-06-08 11:34:42 -07:00
Jeremy Pry 01e1ef73e7 Handle item limit for custom coupon types
Fixes #20455
2018-06-08 14:18:16 -04:00
Claudiu Lodromanean 0c8b8e9dd7
Merge pull request #20429 from woocommerce/fix/add-nonce-to-update-url
Add nonces to WC update database and force update database URLs
2018-06-08 10:52:17 -07:00
Claudiu Lodromanean 327401e4ea
Merge pull request #20406 from unfulvio/20404-custom-webhook-topic-dropdown-bug
[#20404] Fix custom webhook topic selection in dropdown
2018-06-08 09:43:50 -07:00
Mike Jolley 6a59a1b498
Merge pull request #20438 from rnaby/070618-215706-wc-privacy-exporters-get_customer_personal_data
PHPDoc @throws Tag Added
2018-06-08 17:27:18 +01:00
Mike Jolley baa5abcffa
Merge pull request #20437 from rnaby/070618-214301-wc-privacy-exporters-download_data_exporter
PHPDoc Fixed | Used Unused Variable | Else Removed
2018-06-08 17:27:05 +01:00
Mike Jolley f70e8b4bd2
Merge pull request #20436 from rnaby/070618-214347-wc-privacy-exporters-order_data_exporter
Made use unused variable and removed else
2018-06-08 17:26:47 +01:00
Beka Rice 818c68fc83 Fix multisite dashboard widget to use proper order number 2018-06-08 11:59:27 -04:00
Mike Jolley e92463632b Held stock qty check for pay page 2018-06-08 16:58:33 +01:00
Mike Jolley d76474789d variable name 2018-06-08 16:30:58 +01:00
Mike Jolley 52854b7690 Add qty to order via modal, include stock qty in formatted name display for reference 2018-06-08 16:18:32 +01:00
Fulvio Notarstefano 468fb14c3c [#20404] Further indentation 2018-06-09 00:08:20 +09:00
Fulvio Notarstefano 38b1381fff [#20404] Code style standards 2018-06-09 00:07:20 +09:00
Mike Jolley ce8eabc4a5 Include qty and reduce stock field on add item modal 2018-06-08 12:19:14 +01:00
Mike Jolley 8084100cbb Tweak meta naming and order notes 2018-06-08 12:18:33 +01:00
Mike Jolley 6b8cd9661f exclude new meta data from admin screens 2018-06-08 12:18:15 +01:00
Roshan Sameer 72c8e3b9cc Fix - on webhook bulk action footer delete selection 2018-06-08 11:54:47 +05:45
Claudiu Lodromanean dc20237f40
Merge pull request #20426 from woocommerce/fix/20386
Made path /orders/refund_id return invalid order id msg instead of error.
2018-06-07 10:50:46 -07:00
Mike Jolley 2cad2414b3 Remove manual wc_reduce_stock_levels calls 2018-06-07 18:01:38 +01:00
Mike Jolley 8261cffaa7 Remove bulk actions 2018-06-07 18:01:21 +01:00
Mike Jolley 2657db4a97 Pending should restore stock too 2018-06-07 17:42:58 +01:00
Mike Jolley e38eccf828 Check pending orders even when hold stock is disabled 2018-06-07 17:42:23 +01:00
Mike Jolley 70c9cff608 Increase/decrease stock handling 2018-06-07 17:41:36 +01:00
Claudiu Lodromanean c8480b68f1
Merge pull request #20338 from Spreeuw/patch-5
apply bulk actions oldest to newest
2018-06-07 09:34:38 -07:00
Khan M Rashedun-Naby f617a84b1f PHPDoc @throws Tag Added 2018-06-07 22:02:11 +06:00
Khan M Rashedun-Naby ec76e60e33 PHPDoc Fixed | Used Unused Variable | Else Removed 2018-06-07 21:52:28 +06:00
Khan M Rashedun-Naby c773b9cb4c Made use unused variable and removed else 2018-06-07 21:45:03 +06:00
Khan M Rashedun-Naby 4b14cbc727 Removed unnecessary parameter. Also removed from tests. 2018-06-07 21:25:13 +06:00
Fulvio Notarstefano e68aa7c027 [#20404] Address code review feedback 2018-06-07 23:33:13 +09:00
Rodrigo Primo fc5aef8478 Add nonce to force update WC database URL
Doing this to check if the user has intention to perform a WC database update before starting the process.
2018-06-07 09:55:47 -03:00
Rodrigo Primo 467bd73ea9 phpcs fixes 2018-06-07 09:45:23 -03:00
Rodrigo Primo a200686005 Add nonce to update WC database URL
Doing this to check if the user has intention to perform a WC database update before starting the process.
2018-06-07 09:45:18 -03:00
Rodrigo Primo 860e3e6d93 phpcs fixes 2018-06-07 08:57:57 -03:00
Peter Fabian db9d2f2c30 Made path /orders/refund_id return invalid order id msg. 2018-06-07 13:26:29 +02:00
Mike Jolley de567c6a2e merge mistake 2018-06-07 11:26:19 +01:00
Mike Jolley 4df54b4e53 Merge branch 'master' 2018-06-07 11:24:12 +01:00
Mike Jolley db9ab9cb8f
Merge pull request #20330 from woocommerce/update/19745
Eircode validation and formatting tweaks
2018-06-07 10:41:35 +01:00
Mike Jolley 38e3e3f570
Merge pull request #20425 from rnaby/070618-130531-wc-core-functions-wc_get_logger
Simplified and Early Returned | wc_get_logger refactored
2018-06-07 10:34:51 +01:00
Mike Jolley 493060dcb6
Merge pull request #20424 from kravco/master
Fix: order billing fields do overwrite value, even if provided
2018-06-07 10:34:04 +01:00
Mike Jolley 86993a4f70 Merge branch 'master' into update/13624 2018-06-07 10:30:52 +01:00
Roshan Sameer c31b9acc8c If wp_doing_ajax is defined return it (#20421)
* If wp_doing_ajax is defined return it

* Simplify the function exits check
2018-06-07 10:21:22 +01:00
Mike Jolley 44404f2f7a
Merge pull request #20422 from rnaby/070618-115632-wc-core-functions
@access tag removed
2018-06-07 10:17:22 +01:00
Khan M Rashedun-Naby 76a9e19471 wc_get_logger refactored 2018-06-07 13:46:06 +06:00
Matej Kravjar 233ac4b313 order billing fields do not overwrite value, if provided
(overwriting introduced by 1fa36b5f15)
2018-06-07 09:02:12 +02:00
Khan M Rashedun-Naby 5442d30b6d Checking Improved 2018-06-07 12:35:58 +06:00
Khan M Rashedun-Naby 964435a34b @access tag removed 2018-06-07 12:31:35 +06:00
Khan M Rashedun-Naby 20c8468fe4 handle_auth_requests PHPDoc and WPCS Fix 2018-06-06 17:35:15 +06:00
TheDramatist 93e7419b17 Simplified wc_review_is_from_verified_owner (#20393)
* Simplified wc_review_is_from_verified_owner

* wc_review_is_from_verified_owner simplified
2018-06-06 12:16:43 +01:00
Mike Jolley 869415763c
Merge pull request #20396 from rnaby/060618-005642-wc-discounts-object-var-type
WC_Discounts | object Property Type PHPDoc Fix
2018-06-06 12:15:46 +01:00
Mike Jolley f9d9c395c7
Merge pull request #20397 from rnaby/060618-010003-wc-discounts-set_items_from_order
WC_Discounts|set_items_from_order Param Type Fix
2018-06-06 12:15:33 +01:00
Mike Jolley 833df18dff
Merge pull request #20398 from rnaby/060618-010246-wc-discounts-constructor
WC_Discounts | __construct PHPDoc and Param Fix
2018-06-06 12:15:19 +01:00
Mike Jolley 113d7ad781
Merge pull request #20400 from rnaby/060618-014013-wc-discounts-apply_coupon
WC_Discounts | apply_coupon Removed Unused Variable
2018-06-06 12:14:32 +01:00
Fulvio Notarstefano 264c83a166 [#20404] Fix custom webhook topic selection in dropdown 2018-06-06 11:26:33 +09:00
Khan M Rashedun-Naby ad7bc84c2b WC_Discounts | apply_coupon PHPDoc @throws Fix 2018-06-06 01:47:16 +06:00
Khan M Rashedun-Naby ba5671c052 WC_Discounts | apply_coupon Removed Unused Variable 2018-06-06 01:41:54 +06:00
Khan M Rashedun-Naby 1ce8338572 WC_Discounts|__construct PHPDoc and Param Fix 2018-06-06 01:08:35 +06:00
Khan M Rashedun-Naby 9310970938 WC_Discounts|set_items_from_order Param Type Fix 2018-06-06 01:01:39 +06:00
Khan M Rashedun-Naby a89161c8bf WC_Discounts| Type PHPDoc Fix 2018-06-06 00:57:49 +06:00
Mike Jolley 36c6aaf7a7
Merge pull request #20321 from woocommerce/fix/20311
Flexslider gallery fixes in RTL mode
2018-06-05 15:34:27 +01:00
Claudiu Lodromanean 839d52d153
Merge pull request #20390 from woocommerce/fix/20369
Clear needs_processing transient when adding a product to an order
2018-06-05 06:56:14 -07:00
Claudiu Lodromanean 0407b290d3
Merge pull request #20389 from woocommerce/fix/20378
Remove luxemberg state field
2018-06-05 06:36:14 -07:00
Mike Jolley f356269e6f
Merge pull request #20391 from smazur/master
fix order by price clauses when search within terms
2018-06-05 13:52:30 +01:00
Mike Jolley f065580b24
align 2018-06-05 13:51:37 +01:00