Commit Graph

10539 Commits

Author SHA1 Message Date
Mike Jolley 2877752e1f array_flip 2017-04-06 20:18:14 +01:00
Mike Jolley 70778abade When setting props, exclude deprecated ones
Fixes #13928
2017-04-05 23:16:45 +01:00
Mike Jolley 359213d720 Fix direction 2017-04-05 20:25:21 +01:00
Mike Jolley 0035afc5a0 Make sure we have number > 0 so all variations are not deleted 2017-04-05 20:22:05 +01:00
Mike Jolley a6080aa4a9 Pass ID, not the product object 2017-04-05 20:21:33 +01:00
Claudio Sanches f250cac8d1 Merge pull request #13967 from woocommerce/fix/13933
Use parent settings for determining if variations are sold individually.
2017-04-05 15:33:17 -03:00
Claudiu Lodromanean 5389844a1b Use parent data for sold_individually 2017-04-05 11:02:26 -07:00
Mike Jolley 27b35c0515 Using WPDB is quicker than wp_update_post 2017-04-05 18:40:59 +01:00
Claudio Sanches 6135aa8175 Merge pull request #13927 from woocommerce/fix/13921
Fallback to home URL if no shop page is set for system status security check.
2017-04-05 14:29:16 -03:00
Claudio Sanches 67274e8c2c Make sure that ID exists 2017-04-05 14:23:50 -03:00
Claudio Sanches 7a34e4a176 Merge pull request #13959 from woocommerce/fix/customer-set-defaults
Wrap in try catch so WC_Data_Exceptions are caught on bad email.
2017-04-05 14:20:56 -03:00
Claudio Sanches 1590ba135b Merge pull request #13961 from woocommerce/fix/system-status-hook
Add back removed filter for system status rows.
2017-04-05 14:11:40 -03:00
Claudiu Lodromanean f4a04c088b Merge pull request #13958 from woocommerce/fix/remove-legacy-clear
Removed extra clear parameter from addresses
2017-04-05 09:41:08 -07:00
Claudiu Lodromanean 87b71b0653 Merge pull request #13941 from woocommerce/fix/hook-deprecated-function-calls
Use wc_deprecated_function so notices are not triggered on ajax requests
2017-04-05 09:36:01 -07:00
Claudiu Lodromanean 691441f87f Merge pull request #13935 from woocommerce/fix/13920
wc_get_object_terms should check it's not an error object
2017-04-05 09:30:02 -07:00
Claudiu Lodromanean e1b9165439 Merge pull request #13931 from woocommerce/fix/register-admin-settings
If The $object is not really an object, don't continue. It's invalid.
2017-04-05 09:24:37 -07:00
Justin Shreve 6b6f48e7dc Prior to 3.0 there was a woocommerce_debug_posting filter that could be used to add rows to the environment section of the system status page. It was removed. This PR adds it back as woocommerce_system_status_environment_rows and aliases/deprecates the old one. 2017-04-05 09:13:20 -07:00
Mike Jolley ab4c921bd1 Wrap in try catch so WC_Data_Exceptions are caught on bad email. 2017-04-05 16:36:28 +01:00
Claudio Sanches 5a7af35d46 Removed extra clear parameter from addresses 2017-04-05 11:57:39 -03:00
Claudio Sanches f1df9e8dd9 Merge pull request #13955 from psiico/patch-1
Update class-wc-coupon.php
2017-04-05 11:52:23 -03:00
Claudio Sanches 2e7393d156 Merge pull request #13899 from woocommerce/fix/missing-array-declaration
Fixed missing array declaration
2017-04-05 11:49:10 -03:00
Ivo Santos b7dfc10dee Update class-wc-coupon.php
Updated get_amount() method description.
2017-04-05 16:32:02 +02:00
Mike Jolley e66efc1dcc Use wc_deprecated_function so notices are not triggered on ajax requests 2017-04-05 13:06:43 +01:00
Mike Jolley 4ad05dfa83 wc_get_object_terms should check it's not an error object
Fixes #13920
2017-04-05 12:06:37 +01:00
Mike Jolley 5770fb132e If The $object is not really an object, don't continue. It's invalid. 2017-04-05 11:10:27 +01:00
Mike Jolley 811d59feec Fallback to home URL if no shop page is set for system status security check.
Fixes #13921
2017-04-05 10:03:41 +01:00
Mike Jolley b251973a66 Don't filter hidden grouped products
Fixes #13903
2017-04-04 20:33:36 +01:00
Claudio Sanches cf954fac1e Fixed missing array declaration 2017-04-04 14:53:05 -03:00
Claudio Sanches d881bf0500 Coding standards and changelog for #13867 2017-04-04 11:40:02 -03:00
Claudio Sanches faf0104b49 Merge pull request #13260 from JeroenSormani/product-data-tab-priority
Add 'priority' support to product data tabs
2017-04-04 11:33:48 -03:00
Claudio Sanches 620a92d6fd Merge pull request #13867 from woocommerce/fix/13788
Updated Emogrifier to 1.2.0
2017-04-04 11:30:47 -03:00
Claudio Sanches ca23ea9ef2 Merge pull request #13815 from woocommerce/fix-13813-1
Include WooCommerce endpoints to customize nav menu setting
2017-04-04 11:03:26 -03:00
Mike Jolley b2e4052e3b Stock qty should be wrapped in wc_stock_amount 2017-04-04 13:35:31 +01:00
Mike Jolley d917856378 Validate status if object_read
#13891
2017-04-04 12:39:35 +01:00
Mike Jolley 505813403e @used-by WC_Order::set_status comment
#13891
2017-04-04 11:52:54 +01:00
Claudio Sanches c89cb04194 Fixed api version compare for #13872 2017-04-03 21:41:00 -03:00
Mike Jolley c844ec6487 Merge pull request #13817 from woocommerce/improvement-13716
Allow setup wizard filtering
2017-04-03 19:26:39 +01:00
Claudiu Lodromanean ef7dbc75a1 bump down version number 2017-04-03 11:24:01 -07:00
Claudio Sanches 88445f4dd4 Merge pull request #13888 from woocommerce/fix-13887
Timezone can be + 30 mins
2017-04-03 15:22:05 -03:00
Mike Jolley 71ce5b85bc Merge pull request #13884 from woocommerce/fix-13875-13877
Private and variable product fixes
2017-04-03 19:16:35 +01:00
Mike Jolley bf601e7b23 docblock 2017-04-03 19:14:55 +01:00
Claudiu Lodromanean 82c3f93340 Change to single quotes 2017-04-03 09:54:24 -07:00
Mike Jolley 6b11bfbff0 Timezone can be + 30 mins
Fixes #13887
2017-04-03 16:01:18 +01:00
Mike Jolley 0a96f17747 Flip orderby 2017-04-03 12:12:13 +01:00
Mike Jolley c06fdc2e2e If product has_options, don't show qty in grouped product add to cart form
Fixes #13875
2017-04-03 12:05:28 +01:00
Mike Jolley 8598f82c8a If user can edit private products, search them
Fixes #13877
2017-04-03 12:04:59 +01:00
Mike Jolley 31cd2dcb90 Merge pull request #13853 from woocommerce/crud-security-hardening
CRUD security/hardening
2017-04-03 11:09:38 +01:00
Mike Jolley 75f79b3279 Se 20y limit on datepicker too 2017-04-03 10:46:37 +01:00
Mike Jolley da86e02331 Merge pull request #13872 from woocommerce/fix/missing-rest-api-v2-webhooks-settings
Include missing REST API v2 from webhooks options.
2017-04-03 09:51:31 +01:00
Claudio Sanches 014262c0cc Fixed returned data from WC_AJAX::get_customer_details() 2017-04-03 03:00:07 -03:00