Jaume
5e53ed70d8
Fix: Creating customer triggers password changed
...
Sending POST /wc/v1/customers or POST /wc/v2/customers with the required args triggers the 'Notice of Password Changed' after creating the customer due to update() calls when the password still has a value.
2017-04-22 20:06:56 +02:00
Mike Jolley
899176bee7
woocommerce_update_customer_args filter
2017-04-11 12:47:53 +01:00
Mike Jolley
243b7a0d3f
Exclude location meta from setters
2017-04-10 12:16:25 +01:00
Claudio Sanches
14572c8d80
Merge pull request #13991 from woocommerce/fix/13928
...
When setting props, exclude deprecated ones
2017-04-06 16:20:34 -03:00
Mike Jolley
2877752e1f
array_flip
2017-04-06 20:18:14 +01:00
Mike Jolley
822412d03c
Make sure we have a prefix for strstr
...
Closes #14032
2017-04-06 14:11:00 +01:00
Mike Jolley
70778abade
When setting props, exclude deprecated ones
...
Fixes #13928
2017-04-05 23:16:45 +01:00
Mike Jolley
7e462b9cca
Data store date handling
2017-03-23 00:10:29 +00:00
Mike Jolley
3b35d95c6a
Use gmdate and GMT in data stores so times are not changed
2017-03-22 12:01:38 +00:00
Claudio Sanches
59c2849736
Changed version 2.7 to 3.0
2017-03-15 13:36:53 -03:00
Claudio Sanches
64b45e9909
Prevent update or list _order_count and _money_spent on WC_Customer_Data_Store
2017-03-06 19:03:26 -03:00
Mike Jolley
1d9f71fee5
Wrap read with try catch block
2017-02-23 12:09:39 +00:00
Mike Jolley
2d013eb5be
Handle wp prefix in php
2017-02-01 01:43:52 +01:00
Mike Jolley
90fd0da7d0
Fire actions for updated props
2017-01-24 21:38:02 +00:00
Justin Shreve
63a29dd4db
Add 'locale' to list of customer meta keys, and update expected type for 'object' for gateways, products, and shipping zones to fix some API issues.
2016-12-07 12:23:23 -08:00
Mike Jolley
56396d305e
Fix last name
2016-11-25 21:46:52 +00:00
Mike Jolley
30539b6f5a
Update display name when saving customer
2016-11-25 20:16:19 +00:00
Mike Jolley
1749551021
Customer crud
2016-11-24 15:31:05 +00:00
Claudio Sanches
bdb863cef1
Fixed method return value in write context
2016-11-23 12:41:40 -02:00
Mike Jolley
885dad605a
Interface naming
2016-11-22 13:54:51 +00:00
Justin Shreve
58b4cb9cf4
Make sure get_hook_prefix is present on all of our classes.
...
And fix up an exclude internal keys call for the customer data store.
2016-11-22 04:20:25 -08:00
Justin Shreve
174aa38be6
Start moving meta to normal stores, instead of a separate meta store.
2016-11-22 04:05:05 -08:00
Mike Jolley
32de28355a
Merge branch 'master' into order-data-store
...
# Conflicts:
# includes/admin/meta-boxes/class-wc-meta-box-order-data.php
2016-11-21 14:45:46 +00:00
Claudio Sanches
714244faf0
Stop ignore the wc_create_new_customer() error messages
...
- Transform wc_create_new_customer() error message in exceptions
- Added new actions to match WC_Coupon_Data_Store_CPT and make easy to
use in webhooks
2016-11-18 05:53:18 -02:00
Mike Jolley
8d6f236d47
Fix save
2016-11-17 16:02:09 +00:00
Mike Jolley
717f712b3d
save addresses
2016-11-17 15:32:52 +00:00
Mike Jolley
eade55041c
Delete args
2016-11-15 18:11:25 +00:00
Mike Jolley
00ed627b29
Data stores
2016-11-14 18:18:08 +00:00