Mike Jolley
13bc235020
Bump template version and move to correct function files.
2017-04-26 13:25:14 +01:00
avinapatel
824f13924e
Made the buyer phone number clickable in the in the order backend.
2017-04-26 17:48:56 +05:30
Mike Jolley
1738464012
Correctly migrate legacy shipping taxes data
...
Fixes #14674
2017-04-26 12:17:34 +01:00
Mike Jolley
73adc1c493
Fix handle position
...
Closes #14693
2017-04-26 11:52:43 +01:00
Mike Jolley
076d2c9336
Minify
2017-04-26 11:43:12 +01:00
Mike Jolley
ef2246a9cd
Don't strtolower address strings
...
Closes #14694
2017-04-26 11:40:59 +01:00
Mike Jolley
63e8221e2c
Add required placeholder for meta fields
...
Closes #14700
2017-04-26 11:35:34 +01:00
Mike Jolley
9d7403f2a9
Merge pull request #14710 from woocommerce/pr/14707
...
woocommerce_payment_complete_order_status args
2017-04-26 11:09:50 +01:00
Mike Jolley
234bc3c017
Missing arg in data store too
2017-04-26 11:08:47 +01:00
Cesar Rodas
7f357b18ba
Fixed typo
...
This expression had a typo from the refactoring
2017-04-26 03:21:10 -04:00
Gabor Javorszky
6d71eab0cd
Adds missing $this to arguments for woocommerce_payment_complete_order_status filter
...
Fixes #14698
2017-04-26 08:02:46 +01:00
Cesar Rodas
8c64631041
Remove whitespace added by mistake
2017-04-26 02:59:16 -04:00
Cesar Rodas
d3fd16617c
Improved phpdoc
2017-04-26 02:57:00 -04:00
Cesar Rodas
38f379a7d7
Make get_item() consistent (like get_items())
...
Right now get_item() is loading an item from the database directly. It doesn't
take advantage of our cache and it doesn't check if the item is already loaded in memory.
There is also another bug (or feature?) that it will let you load any item, even if the item is not related to the current order. I believe this is a bug, if somebody really wants to load any item regardless of the order they should use `WC_Order_Factory::get_order_item`.
Another bug is that items loaded with get_item() are not related to the order object, therefore any calls to Order::save() won't persist the changes made to the item.
This commits makes sure the item returned by get_item is loaded similarly like get_items() does, taking advantage of the cache and the $items protected property (chances are the item is already in memory, ready to be used).
If a given item is not found false will be returned. If item exists but it is not related to the current object it will return false as well (If this behaviour is wanted, I can easily change it load the item anyways instead of returning false).
2017-04-26 02:54:14 -04:00
Beka Rice
f65b817fcf
Code review tweaks
2017-04-25 21:45:42 -04:00
Ryan Ray
96f650027a
Refreshed the message slightly while removing an older doc.
...
Perhaps @californiakat can review and tweak further, but we wanted to
remove the first older doc links and update the message slightly.
2017-04-25 18:01:23 -04:00
claudiulodro
efa1dbbda5
Basic working order queries
2017-04-25 14:52:17 -07:00
Beka Rice
c552362b73
Confirm before deleting log files
2017-04-25 17:10:47 -04:00
Claudio Sanches
d14924b1cf
Merge pull request #14681 from woocommerce/fix/14662
...
Fix term exclusion in term count queries
2017-04-25 16:25:16 -03:00
claudiulodro
3d5dabc886
Formatting
2017-04-25 11:24:38 -07:00
Claudio Sanches
3bae94e78d
Merge pull request #14676 from woocommerce/fix/14665
...
Sort grouped products by menu order
2017-04-25 14:37:32 -03:00
Claudio Sanches
c426d46bd1
Merge pull request #14648 from woocommerce/fix/14581
...
Fix missing title for actions column
2017-04-25 14:33:40 -03:00
Claudio Sanches
0c6a61df02
Merge pull request #14682 from woocommerce/fix/14679
...
Legacy customer class missing get_address / get_address_2 functions
2017-04-25 12:45:49 -03:00
Claudio Sanches
10880ab680
Merge pull request #14685 from woocommerce/fix/14592
...
Filter invalid products before returning them for wc_get_products
2017-04-25 12:45:17 -03:00
Claudio Sanches
a177c22e2d
Merge pull request #14687 from woocommerce/fix/14660
...
Prevent orders being their own parent (!)
2017-04-25 12:44:40 -03:00
Claudio Sanches
cdbfce30fa
Merge pull request #14664 from woocommerce/fix/14126
...
Added deprecated notice to WC_Order_Item_Meta
2017-04-25 12:37:44 -03:00
Petar Petrov
fdb28218ea
items_type_key filter and woocommerce_order_line_item_object fix
2017-04-25 18:07:40 +03:00
Mike Jolley
a27e03378f
update test
2017-04-25 14:46:17 +01:00
Mike Jolley
1e6d52a3bd
Add a data-caption for captions and keep title around.
...
Fixes #14578
2017-04-25 14:31:24 +01:00
Mike Jolley
9923612832
Prevent orders being their own parent (!)
...
Closes #14660
2017-04-25 14:18:27 +01:00
Petar Petrov
f71a498892
Allows to insert conditions for our custom "woocommerce_order_line_item" filter.
2017-04-25 16:06:43 +03:00
Mike Jolley
8e624e6230
Filter invalid products before returning them for wc_get_products
...
Closes #14592
2017-04-25 14:03:30 +01:00
Mike Jolley
943e6a4d54
Merge pull request #14684 from woocommerce/pr/14616
...
Fixes for #14616
2017-04-25 13:53:18 +01:00
Mike Jolley
7269fde94f
Moved reg handlers
2017-04-25 13:51:52 +01:00
Mike Jolley
2f99502ab3
Merge pull request #14663 from woocommerce/feature/include-phpunit
...
Included PHPUnit to composer.json and removed old dependencies
2017-04-25 13:46:31 +01:00
Mike Jolley
27993c0c50
Legacy customer class missing get_address / get_address_2 functions
...
Fixes #14679
2017-04-25 13:18:58 +01:00
Mike Jolley
48c9a49e2d
table name
2017-04-25 13:06:32 +01:00
Mike Jolley
a8baaf6715
Fix term exclusion in term count queries
...
Closes #14662
2017-04-25 13:05:21 +01:00
Petar Petrov
b551468072
Merge branch 'master' of github.com:pnpetroff/woocommerce
2017-04-25 14:41:57 +03:00
Petar Petrov
2b3ec357ad
fix-14302
2017-04-25 14:12:36 +03:00
Mike Jolley
b073454bfc
Join needs to append
2017-04-25 12:11:28 +01:00
Mike Jolley
763c8e8018
Sort grouped products by menu order
...
Fixes #14665
2017-04-25 12:08:17 +01:00
Maedah Batool
0e5a5d24cf
Improved Documentation
...
There were few grammatical errors in the README.md file. I corrected them.
2017-04-25 13:38:26 +05:00
Claudio Sanches
1314b6845e
Merge pull request #14432 from emgk/fix-14428
...
added new filter for product thumbnail size.
2017-04-24 21:05:27 -03:00
Claudio Sanches
d71633cad7
Included PHPUnit to composer.json and removed old dependencies
2017-04-24 20:56:43 -03:00
Claudio Sanches
2d9e876e6d
Removed deprecated WC_Order_Item_Meta from REST API v1
2017-04-24 20:55:09 -03:00
claudiulodro
553a12203b
WC_Order_Query
2017-04-24 16:28:13 -07:00
Claudio Sanches
4ded36c66d
Allow get all formatted meta data values
2017-04-24 20:27:17 -03:00
Claudio Sanches
6f3b6a2b74
Include deprecated notice in WC_Order_Item_Meta constructor
2017-04-24 20:26:43 -03:00
claudiulodro
29fa59a0b7
WC_Object_Query
2017-04-24 11:33:17 -07:00