Aristeides Stathopoulos
9668247b95
WordPress.PHP.YodaConditions.NotYoda
2016-09-09 03:14:28 +03:00
Aristeides Stathopoulos
734f284fa4
WordPress.PHP.YodaConditions.NotYoda
2016-09-08 01:32:24 +03: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
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
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
Justin Shreve
fd952e8efa
Payment Gateways API
2016-09-05 14:49:29 -07: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
Aristeides Stathopoulos
6ac7f03241
Generic.Formatting.DisallowMultipleStatements.SameLine
2016-09-02 06:40:52 +03:00
Aristeides Stathopoulos
9dc4949e0a
Squiz.ControlStructures.ControlSignature.SpaceAfterCloseParenthesis
2016-09-02 06:17:42 +03:00
Aristeides Stathopoulos
2346c3b735
Squiz.ControlStructures.ControlSignature.SpaceAfterCloseBrace
2016-09-02 06:15:49 +03:00
Aristeides Stathopoulos
c6a87301c1
Squiz.Commenting.InlineComment.SpacingBefore
2016-09-02 05:48:11 +03:00
Aristeides Stathopoulos
5280722f21
Squiz.Commenting.InlineComment.SpacingAfter
2016-09-02 05:47:24 +03:00
Aristeides Stathopoulos
15bec47475
Squiz.Commenting.InlineComment.NoSpaceBefore
2016-09-02 05:42:33 +03:00
Aristeides Stathopoulos
39d4d4bd69
Squiz.Commenting.DocCommentAlignment.SpaceBeforeStar
2016-09-02 05:40:36 +03:00
Aristeides Stathopoulos
cc0b29ccf4
PEAR.Functions.FunctionCallSignature.SpaceAfterCloseBracket
2016-09-02 05:00:46 +03:00
Aristeides Stathopoulos
d4e3faf014
PEAR.Functions.FunctionCallSignature.SpaceAfterOpenBracket
2016-09-02 04:51:31 +03:00
Aristeides Stathopoulos
0516e96843
PEAR.Functions.FunctionCallSignature.SpaceBeforeCloseBracket
2016-09-02 04:33:57 +03:00
Aristeides Stathopoulos
8fe4cd65a4
PEAR.Functions.FunctionCallSignature.SpaceBeforeOpenBracket
2016-09-02 04:12:22 +03:00
Aristeides Stathopoulos
d922d045a7
Squiz.Commenting.BlockComment.NoNewLine + indentation on class-wc-cart
2016-09-02 04:03:52 +03:00
Aristeides Stathopoulos
f648657432
enabling more tests
2016-09-02 03:50:48 +03:00
Aristeides Stathopoulos
e07511502d
Additional coding-standards fixes.
2016-09-02 03:26:24 +03:00
Aristeides Stathopoulos
c823236098
Fix failing tests.
2016-09-02 00:33:36 +03:00
Aristeides Stathopoulos
fde1037757
fix failing tests.
2016-09-01 23:50:14 +03:00
Mike Jolley
1b2df3dd3b
Merge branch 'pr/11797'
...
# Conflicts:
# includes/admin/meta-boxes/class-wc-meta-box-coupon-data.php
# includes/api/class-wc-rest-coupons-controller.php
# includes/class-wc-coupon.php
# tests/unit-tests/api/coupons.php
# tests/unit-tests/coupon/crud.php
2016-09-01 11:46:05 +01:00
Mike Jolley
402d0ff077
Merge branch 'master' into pr/11797
...
# Conflicts:
# includes/admin/meta-boxes/class-wc-meta-box-coupon-data.php
# includes/api/class-wc-rest-coupons-controller.php
# includes/class-wc-coupon.php
# tests/unit-tests/api/coupons.php
# tests/unit-tests/coupon/crud.php
2016-09-01 11:43:31 +01:00
Mike Jolley
4e14c4abeb
Merge pull request #11821 from woothemes/customer-exceptions
...
Customer CRUD/API exceptions
2016-09-01 10:58:35 +01:00
Claudio Sanches
f6d20eb324
[REST API] Fixed products query by SKU
2016-08-31 19:36:55 -03:00
Claudio Sanches
6def1188ab
Force post_type in products controller
2016-08-31 19:22:27 -03:00
Justin Shreve
43e55c3336
Instead of catching just the post_status, don't overwrite any filter args.
2016-08-31 15:15:28 -07:00
Justin Shreve
6cb9e1b613
Since we support WP_Query filtering via the API, make sure post_status filtering works too.
2016-08-31 14:39:37 -07:00
Claudio Sanches
06280a7003
HTTPS for google maps
2016-08-31 14:18:55 -03:00
Mike Jolley
d30c54ef84
Fix coupon notice in cart.
2016-08-31 18:11:41 +01:00
Mike Jolley
e7493b33cb
Merge branch 'pr/11817'
2016-08-31 17:52:10 +01:00
Mike Jolley
0a3506777b
Inline comments to make this clearer
2016-08-31 17:52:03 +01:00
Gabor Javorszky
219480b329
Save the version on the property too
2016-08-31 16:21:17 +01:00