Commit Graph

17471 Commits

Author SHA1 Message Date
Justin Shreve 49676d1781 Hook up email settings to the API
Add support for option_key when registering settings, so we can also manage settings that are stored in the array of a single option.
2016-09-08 15:20:15 -07:00
Justin Shreve 9889222bd1 Swap "doesn't" with "does not" in 404 error messages. 2016-09-08 15:17:02 -07:00
Claudio Sanches fb1e2f8ee2 Merge pull request #11879 from ChaseWiseman/master
Prevent average product rating meta from being set for other post types
2016-09-08 16:56:46 -03:00
Claudio Sanches 1259a118c8 Fixed dashboard.php documentation, closes #11878 2016-09-08 15:58:37 -03:00
Chase Wiseman 51b5d11b97 Prevent average product rating meta from being set for other post types 2016-09-08 09:36:56 -07:00
Daniel Hüsken 47561278b8 API: Attribute slug will not be sanitize correctly #11874 2016-09-08 15:06:19 +02:00
Daniel Hüsken 367e16ffa9 API Variation returns sanitize attribute names #11868 2016-09-08 14:13:39 +02:00
Mike Jolley 238483ff2b No need to strip pa_ here
Closes #11868
2016-09-08 12:04:51 +01:00
Mike Jolley f4a30e3be6 Merge pull request #11873 from woothemes/issues/11872/args-for-updated_checkout
Added data to be passed in `updated_checkout` event handler.
2016-09-08 11:40:44 +01:00
Akeda Bagus e213e1cd00 Added data to be passed in `updated_checkout` event handler.
Resolves #11872.
2016-09-08 16:17:37 +07:00
Mike Jolley c96a3ea395 [2.6] Merge pull request #11860 from jobthomas/taxes-ux
Taxes ux
2016-09-08 10:07:45 +01:00
Mike Jolley 459d5584a4 Merge pull request #11865 from iconicwp/patch-1
[actions] Pass $atts into do_action
2016-09-08 10:06:56 +01:00
Mike Jolley 7c134d7f7c Do action when login fails.
Closes #11864
2016-09-08 10:06:16 +01:00
Aristeides Stathopoulos 734f284fa4 WordPress.PHP.YodaConditions.NotYoda 2016-09-08 01:32:24 +03:00
Aristeides Stathopoulos b70f62bfa9 Add 4th-level-deep tests 2016-09-08 00:34:39 +03:00
Aristeides Stathopoulos f6af54cb72 no need for verbose-mode phpcs tests. 2016-09-08 00:33:34 +03:00
Aristeides Stathopoulos 57674db3db Merge pull request #3 from woothemes/master
sync
2016-09-08 00:22:51 +03:00
Iconic 2dbeabffe1 [actions] Pass $atts into do_action 2016-09-07 19:17:46 +01:00
Mike Jolley 9cca27f21e Take out admin check
@justinshreve I’m not sure why we had the admin check there, but I’ve
removed it because the setting of WP_ADMIN was breaking unrelated unit
tests. I think we should leave constants alone if possible and just
modify gateways.
2016-09-07 12:37:39 +01:00
Job ff9c553b1b coding standards 2016-09-07 13:34:37 +02:00
Job ffa2c4dec2 crucial update 2016-09-07 13:25:34 +02:00
Job d086cf3248 update function 2016-09-07 13:12:18 +02:00
Job 50fe611cdb again small update after review 2016-09-07 13:01:55 +02:00
Job a0274e9dc5 small update 2016-09-07 12:47:24 +02:00
Job d0aaf68f27 Update UX for disabled taxes
If taxes are disabled in the “General settings tab”, then the “Tax” tab
disappears, and the suffix can no longer be edited, but is still
displayed in the store

This fix makes sure that the suffix is only displayed if taxes are
enabled
2016-09-07 12:38:38 +02:00
Job 41d7001622 Merge remote-tracking branch 'woothemes/master' 2016-09-07 11:42:03 +02:00
Mike Jolley 311c540662 Merge pull request #11833 from aristath/master
Coding Standards (2nd pass)
2016-09-07 10:14:17 +01:00
Mike Jolley e4c91aef62 [2.6] Don't SUM meta
#11838
2016-09-07 10:05:17 +01:00
Mike Jolley 3f9ab31461 Fix CRUD refunds 2016-09-07 10:04:56 +01:00
Mike Jolley ed2b7a9f57 [2.6] refunded_order_items should be reset per loop
#11838
2016-09-07 09:31:17 +01:00
Mike Jolley cf59524dd7 Fix order total race condition in CRUD 2016-09-07 09:28:11 +01:00
Mike Jolley d4fb2b4ade [2.6] Sync variations only
Closes #11852
2016-09-07 08:28:53 +01:00
Mike Jolley 0e409a4526 [2.6] Add missing tables to wpmu_drop_tables
Closes #11850
2016-09-07 08:26:51 +01:00
Justin Shreve 5113a8d19f Fix unusued variable in Payment Gateway's prepare_item_for_response and fix the phpdoc for get_gateway 2016-09-06 13:34:25 -07:00
James Koster 0edfadaf0d Tidy up order markup and add our new css classes. #11784 2016-09-06 19:55:16 +01:00
Justin Shreve 376a53de04 Merge pull request #11846 from woothemes/payment-gateway-api
Add Payment Gateways API
2016-09-06 10:34:09 -07:00
Justin Shreve 3dc0c5242a Update method_title and method_description to use their get_ methods, also update the resource does not exist message, based on feedback. 2016-09-06 10:32:54 -07:00
Claudio Sanches 22fd124b31 Merge pull request #11843 from terence1990/master
Order statuses valid for Order Again
2016-09-06 13:40:05 -03:00
terence1990 7f686c2f73 Spaces 2016-09-06 13:00:52 +01:00
Mike Jolley 0618719b03 [2.6] Dynamic max run text
fixes #11849
2016-09-06 12:52:10 +01:00
Mike Jolley 940170edc8 Tweak date format 2016-09-06 12:03:27 +01:00
Mike Jolley 0c78ed7f9b [2.6] Start sale on variation save if applicable
Fixes #11804
2016-09-06 11:37:20 +01:00
Mike Jolley cf5da4adb3 [2.6] Don't remove hyphens in attribute labels
Closes #11832
2016-09-06 10:40:08 +01:00
Mike Jolley ac7476002a autocomplete="off"
Closes #11839
2016-09-06 10:30:48 +01:00
Justin Shreve fd952e8efa Payment Gateways API 2016-09-05 14:49:29 -07:00
Claudio Sanches f9eda160a0 Merge pull request #11842 from JeroenSormani/patch-2
Allow checkbox to have '.update_totals_on_change' class
2016-09-05 15:49:10 -03:00
terence1990 36311b76f6 Fix: Order Again Statuses 2016-09-05 17:30:58 +01:00
terence1990 8b838c88a8 Order statuses valid for Order Again 2016-09-05 17:25:17 +01:00
Jeroen Sormani 8e757b78ef Allow checkbox to have '.update_totals_on_change' class 2016-09-05 16:42:25 +02:00
Claudio Sanches 10aabf2465 Merge pull request #11836 from corsonr/issue_11835
Remove un-used images
2016-09-02 15:56:31 -03:00