Commit Graph

21135 Commits

Author SHA1 Message Date
Mike Jolley ef52345f1b Merge pull request #15337 from aelia-co/fix-issue-15336
Fix for #15336
2017-05-30 10:38:31 +01:00
Claudiu Lodromanean 5d604e1726 Merge pull request #15333 from woocommerce/fix/15327
Use formatted weight and dimensions for variations
2017-05-29 08:30:39 -07:00
Claudiu Lodromanean 2fb8f4b6b0 Merge pull request #15331 from woocommerce/fix/14759
Format parent stock qty on read
2017-05-29 08:24:15 -07:00
Claudio Sanches 7f4c650c87 Merge pull request #15334 from woocommerce/fix/15322
Ensure we have child before getting price
2017-05-29 12:02:01 -03:00
Claudio Sanches c73461f440 Merge pull request #15332 from woocommerce/fix/15307
Hide replies from recent reviews widgets
2017-05-29 12:00:57 -03:00
Diego Zanella b14a2db2e6 Fix for #15336
* Replaced reference to `WC()->payment_gateways` property with call to `WC()->payment_gateways()` method.
2017-05-29 13:02:16 +01:00
Mike Jolley 139c652e1d Ensure we have child before getting price
Fixes #15322
2017-05-29 10:43:56 +01:00
Mike Jolley 2177ef93cd Use formatted weight and dimensions for variations
Fixes #15327
2017-05-29 10:31:31 +01:00
Mike Jolley 4ec3fe61f9 Merge pull request #15290 from peterrath/New-action-for-display-custom-data-in-order-fee-lines
New action for display custom data in order fee lines
2017-05-29 10:17:35 +01:00
Mike Jolley 4251d71dab Hide replies from recent reviews widgets
Fixes #15307
2017-05-29 10:09:17 +01:00
Mike Jolley f1d718d38a Format parent stock qty on read
Fixes #14759
2017-05-29 10:03:35 +01:00
Peter 314f64b566 Change the name of the new action
Change the name of the new action to woocommerce_after_order_fee_item_name.
2017-05-28 20:40:59 +02: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
Peter 05516dbea5 New action for display order fee custom data
We need to display custom data in fee lines, similarly to woocommerce_after_order_itemmeta action in shipping line items.
2017-05-26 10:05:26 +02:00
Peter 0edb8904a1 Merge pull request #6 from woocommerce/master
Update Fork
2017-05-26 09:52:57 +02: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