Commit Graph

21133 Commits

Author SHA1 Message Date
Mike Jolley 396faa19d7 phpcs 2017-08-08 15:25:32 +01:00
Cesar Rodas b0f3b5a19d Added test_get_meta_data_cache_invalidation_array_to_scalar() unit tests 2017-06-01 12:03:13 -04:00
Cesar Rodas 03a3ce9901 Fixed coding styles issues 2017-06-01 11:47:36 -04:00
Cesar Rodas 5997ffd4b1 Fixed coding styles issues 2017-06-01 11:46:05 -04:00
Cesar Rodas c59566759c Merge remote-tracking branch 'origin/master' into improve_meta_data_updates 2017-05-31 09:41:41 -04:00
Cesar Rodas 0d1451b719 Fixed coding styles 2017-05-31 09:40:29 -04:00
Cesar Rodas addc80de15 Fixed coding styles 2017-05-31 09:39:13 -04:00
Mike Jolley 62bcca6cce Merge pull request #15277 from woocommerce/fix/float-number-comparison
Support floats for the custom sort function
2017-05-26 11:16:22 +01:00
Mike Jolley c92d6335ff Merge pull request #15282 from woocommerce/fix/15267
Use meta id instead of key in WC_Order_Item::offsetGet
2017-05-26 11:11:01 +01:00
Mike Jolley c2a1b8cc58 Merge pull request #15284 from Jon007/patch-1
fixes #15283
2017-05-26 10:56:41 +01:00
Jonathan Moore 7dc2c7cd6e fixes #15283
fixes #15283 Notice: Undefined property: stdClass::$post_ID in wp-content/plugins/woocommerce/includes/class-wc-structured-data.php on line 262 
when calling wp_list_comments with $options['callback'] = 'woocommerce_comments'
2017-05-26 07:59:42 +08:00
claudiulodro c08140a293 Formatting 2017-05-25 14:45:36 -07:00
claudiulodro e00d7b7c55 File metadata by id 2017-05-25 14:43:36 -07:00
Claudio Sanches ac4bcf39c2 Merge pull request #15268 from woocommerce/fix/14775
For COD orders, force payment complete status to be completed.
2017-05-25 15:12:34 -03:00
Boro Sitnikovski be70a3f95c Support floats for the custom sort function 2017-05-25 18:05:13 +02:00
Mike Jolley d2da39e046 Merge branch 'pr/14549' 2017-05-25 11:51:55 +01:00
Mike Jolley 7ec25f987f Only replace the user set thousand separator and add test 2017-05-25 11:51:45 +01:00
Mike Jolley 0e675137e3 Merge branch 'fix/issue-15252' 2017-05-25 11:30:09 +01:00
Mike Jolley d73849eee3 wc_strtoupper helper 2017-05-25 11:30:01 +01:00
Mike Jolley a3f35d6e96 Checkout fallback regex tweaks (#15210)
* *Improve JSON regex #15159

* Run parse on invalid JSON to ensure validity and make regex more greedy.

Closes #15161

* Add is_valid_json helper

* Improve return
2017-05-25 11:20:05 +01:00
Anwer AR c4fcddca73 Back to attributes link on attributes edit page (#15088)
* see #15059 The issue was about editing product attributes. Added back to attributes link.

* Updates admin_url to esc_url

* Added admin_url again wrapping inside esc_url

The function works without admin_url in my previous commit. but i have added admin_url again to make sure it points to correct location.

* Correctted typo of esc function and removed icon

correction of spell mistake and removal of &larr due to translation and RTL concerns. though WP and WC itself using &larr on some places.
2017-05-25 11:15:57 +01:00
Dixita Dusara fe4a4a7e83 Update issue Undefined index warning when saving variations with stock management disabled #15242 (#15271)
* Issue Undefined index warning when saving variations with stock management disabled #15242

* updated issue as per your suggestion for index warning when saving variations with stock management disabled #15242
2017-05-25 10:58:32 +01:00
Claudio Sanches a58bd42dcf Merge pull request #15172 from woocommerce/fix/15166
Correct price query when on a post type archive
2017-05-24 21:13:30 -03:00
Claudio Sanches 26656b730b Merge pull request #15263 from woocommerce/fix/15251
Increase the timeout so the sizing works after changing variation image
2017-05-24 18:25:00 -03:00
Claudio Sanches 72b98cbf5d Fixed WC_Customer->set_display_name @since #15239 2017-05-24 17:45:20 -03:00
Claudiu Lodromanean be25e49069 Merge pull request #15266 from woocommerce/fix/15238
Fix saving of text attributes with special chars
2017-05-24 11:38:28 -07:00
Boro Sitnikovski e68977d021 function_exists check 2017-05-24 20:22:58 +02:00
Mike Jolley bf48ac9e96 Merge pull request #15239 from woocommerce/fix/15020-display-name-update
Check for an existing display name before updating a user on checkout
2017-05-24 19:20:45 +01:00
Boro Sitnikovski c7c4cfbae5 Use mb 2017-05-24 20:19:17 +02:00
Claudiu Lodromanean 0a57283b61 Merge pull request #15264 from woocommerce/fix/15240
Gallery should be updated even if empty.
2017-05-24 11:18:53 -07:00
Kelly Dwan ea98da7778 Use display_name from the customer data store 2017-05-24 14:14:29 -04:00
Boro Sitnikovski 43955736fc Update PR after review 2017-05-24 20:10:51 +02:00
Kelly Dwan 0a265b53a2 Add display_name to customer data store 2017-05-24 13:57:11 -04:00
Mike Jolley 20637e53b8 For COD orders, force payment complete status to be completed. 2017-05-24 18:48:34 +01:00
Kelly Dwan 51f4a6b1b8 Customers: Don’t update the display name of a user when completing an order, unless the old display name is an email. 2017-05-24 13:32:02 -04:00
Mike Jolley 22bc42f23d Merge pull request #15260 from woocommerce/undefine-global
Fix undefined global variable notice
2017-05-24 18:04:46 +01:00
Mike Jolley 7f8add52a7 Fix saving of text attributes with special chars
Fixes #15238
2017-05-24 18:01:19 +01:00
Mike Jolley 4b74f304b0 Gallery should be updated even if empty.
Fixes #15240
2017-05-24 17:23:28 +01:00
Mike Jolley 1837abbd99 Increase the timeout so the sizing works after changing variation image
Closes #15251
2017-05-24 17:15:22 +01:00
roykho c837827992
Fix undefined global variable notice 2017-05-24 07:21:20 -07:00
Claudio Sanches 5f28c733cc Merge pull request #15234 from woocommerce/update/14630
Update serializejson to 2.8.1
2017-05-24 09:21:10 -03:00
Boro Sitnikovski 30f20b81de Make state validation less stricter for keys 2017-05-24 14:09:09 +02:00
Mike Jolley f866f164eb Merge pull request #15244 from woocommerce/improvement/15187
Order query unit tests and fixes.
2017-05-24 12:03:40 +01:00
Mike Jolley 08f956ab23 Merge pull request #15247 from ughimire/node-burbon
Node bourbon remove from grunt file
2017-05-24 11:19:15 +01:00
Umesh Ghimire 4f73fd5626 Node burbon remove from grunt file 2017-05-24 10:52:37 +05:45
claudiulodro 201ea727db Simplify status check 2017-05-23 18:52:03 -07:00
claudiulodro 4faad7d964 Finish unit tests and bugfixes 2017-05-23 18:44:37 -07:00
Cesar Rodas dafc795d7c Abstracting the WC_Meta_Data Properties with __set/__get 2017-05-23 19:15:13 -04:00
Cesar Rodas b158ba2c47 Merge remote-tracking branch 'origin/master' into improve_meta_data_updates 2017-05-23 17:34:12 -04:00
Mike Jolley 383a318f59 Merge pull request #14949 from aelia-co/Improvement-customer-total-spent-filter
New filters for customer total spent
2017-05-23 20:37:58 +01:00