Aristeides Stathopoulos
888ad9bfdd
another PHP syntax fix for lower PHP versions
2016-09-09 15:34:46 +03:00
Aristeides Stathopoulos
0cf5fc4904
fix PHP Fatal errors on lower PHP versions
...
Fatal error: Can't use method return value in write context
2016-09-09 14:49:14 +03: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
Aristeides Stathopoulos
b063bcfe4c
last item in a multiline-array should end in a comma
2016-08-27 04:46:45 +03:00
Mike Jolley
ed01282340
Made data match schema
2016-08-26 15:20:44 +01:00
Mike Jolley
78142a8ebb
Merge branch 'master' into WC-CRUD
...
# Conflicts:
# includes/class-wc-checkout.php
# includes/class-wc-coupon.php
# includes/class-wc-customer.php
# tests/unit-tests/cart/cart.php
# tests/unit-tests/cart/functions.php
# tests/unit-tests/coupon/coupon.php
# woocommerce.php
2016-06-13 15:01:58 +01:00
Justin Shreve
3eacb992bc
Address issues from Mike's Feedback:
...
* Rename individual use, free shipping, and exclude sale items to match their meta names closer.
* Sanitize emails when using set_email_restrictions
* Remove some unnecessary explict true checks
* Move ID into _data with the rest of the fields
* Fixed some spacing issues
2016-03-17 09:19:27 -07:00
Justin Shreve
d738dec05d
Coupon CRUD (WIP).
2016-03-17 09:19:27 -07:00
Nicola Mustone
4633982161
use a helper method to check values
2016-03-08 15:18:31 +01:00
Nicola Mustone
a174f85381
checking 'yes' against boolean
2016-03-08 14:51:04 +01:00
Claudio Sanches
2bc58f431a
[CLI] Updated update coupons options description
2015-12-14 18:13:53 -02:00
Lee Willis
adb4a7aa0b
Avoid fatal error due to duplicate params
2015-11-27 22:49:01 +00:00
Akeda Bagus
274eede1f6
Initial works on WP-CLI support.
2015-10-01 09:34:03 +02:00