Brent Shepherd
a1cd7eee42
Fix get_price_html_from_to() deprecation
...
WC_Product::get_price_html_from_to() was incorrectly using
wc_format_sale_price() as its replacement in WC 2.7; however,
wc_format_price_range() is a more suitable replacement.
2017-01-19 13:51:23 -08:00
Claudio Sanches
9d513737ed
Merge pull request #12887 from woocommerce/fix/order-item-type-array
...
Return order item type if accessed via array.
2017-01-18 20:43:25 -02:00
Justin Shreve
663a096429
Return order item type if accessed via array (bw compat).
2017-01-18 13:49:12 -08:00
Claudio Sanches
bff95262cb
Changelog for 2.6.13
2017-01-18 16:20:48 -02:00
Claudio Sanches
d536d15652
Merge branch 'master' of github.com:woocommerce/woocommerce
2017-01-18 16:01:02 -02:00
Claudio Sanches
f54e9e1e1a
Fixed coding standards
2017-01-18 15:16:01 -02:00
Claudio Sanches
fe97e1f5b3
Merge pull request #12866 from woocommerce/wc_get_orders_before_and_after_date
...
Add before and after date arguments to wc_get_orders
2017-01-18 14:52:51 -02:00
Claudio Sanches
11035ba4d7
Fixed "stock increase" string placeholders, closes #12873
2017-01-18 14:34:52 -02:00
Mike Jolley
f9f6ac175b
Merge pull request #12865 from woocommerce/remove-default-instructions
...
Removed default instructions
2017-01-18 10:31:21 +00:00
Justin Shreve
b660eda4b8
Add date searching to wc_get_orders.
2017-01-17 12:52:27 -08:00
Claudio Sanches
ac3d847a16
Fixed file permissions
2017-01-17 16:31:31 -02:00
Claudio Sanches
61b39c206f
Removed default instructions, closes #12853
2017-01-17 16:11:49 -02:00
Mike Jolley
17481af671
Allow html in description
2017-01-17 15:50:19 +00:00
Mike Jolley
cb04d5985a
Fix add zone button and default title
...
Fixes #12829
2017-01-17 15:25:12 +00:00
Mike Jolley
d92447713a
Merge pull request #12852 from woocommerce/fix-terms-ordering
...
Restore attributes ordering
2017-01-17 12:28:41 +00:00
Mike Jolley
a276d459ed
Merge pull request #12851 from woocommerce/rest-api-search-by-multiple-skus
...
[REST API] Allow search by multiples SKUs
2017-01-17 12:22:39 +00:00
Mike Jolley
4eac304388
Merge pull request #12814 from woocommerce/fix-product-variable-filters
...
Remove deprecation notices on woocommerce_get_children
2017-01-17 10:19:17 +00:00
Claudio Sanches
bd655af072
Restore attributes ordering, closes #12847
2017-01-16 21:11:56 -02:00
Claudio Sanches
c001b508d5
Merge branch 'master' into fix/stock-bulk
2017-01-16 20:41:33 -02:00
Claudio Sanches
3d352a680c
[REST API] Allow search by multiples SKUs
2017-01-16 20:35:55 -02:00
Claudio Sanches
20032fd170
Fixed declaration of is_on_sale() compatible with WC_Product::is_on_sale
2017-01-16 19:59:53 -02:00
Claudio Sanches
fbfb195f2f
Fixed interfaces file names and location
2017-01-16 19:33:21 -02:00
roykho
11d0d26df7
Fix typo on variable when it should be
2017-01-16 12:54:59 -08:00
Justin Shreve
fab2e52bdd
Remove deprecation filters.
2017-01-16 11:06:25 -08:00
Justin Shreve
3e92ec9d59
Fix stock updating on bulk edit.
2017-01-16 10:57:14 -08:00
Justin Shreve
cabff4fe28
Fix stock, virtual, and featured checks by passing correct data to quick-edit.js
2017-01-16 09:59:56 -08:00
Justin Shreve
b7305b835d
Merge pull request #12835 from franticpsyx/update-price-meta-context
...
[2.7] Prices retrieved in 'edit' context when writing meta
2017-01-16 08:52:24 -08:00
Manos Psychogyiopoulos
892d5da7e9
get prices in 'edit' context when updating meta
2017-01-16 17:33:30 +02:00
Jon Surrell
7822c38a2c
Accept object from woocommerce_logging_class filter
...
The filter `woocommerce_logging_class` allows replacement of the
built in `WC_Logger` as the shared logger. However, we statically
instantiate the classname as `$logger = new $class`. This prevents
use of any class which needs to be instantiated with arguments.
This change allows the `woocommerce_logging_class` filter to provide
an object which will be used as the shared logger.
2017-01-15 13:41:21 +01:00
Claudio Sanches
366011ab20
Defined context for shipping packages names
2017-01-15 01:46:02 -02:00
Claudio Sanches
08644c6f42
Missing space
2017-01-15 00:21:02 -02:00
Jon Surrell
ef9624efff
Ensure filter provided logging class implements WC_Logger_Interface
2017-01-14 18:39:40 +01:00
Jon Surrell
144ea5d5ab
Include WC_Logger_Interface on startup
2017-01-14 17:58:24 +01:00
Jon Surrell
bd090749ec
Add WC_Logger_Interface
...
`class WC_Logger implements WC_Logger_Interface`.
The built-in logger can be replaced "globally" (when
provided via `wc_get_logger`) by using the filter
`woocommerce_logging_class`. This interface should make replacing
`WC_Logger` easier and safer.
2017-01-14 17:43:15 +01:00
Claudio Sanches
022d4fdac4
Coupon expiry date do not allow multiple date formats
2017-01-14 00:10:51 -02:00
Claudio Sanches
a5055ec2cf
Merge pull request #12815 from woocommerce/fix-tool-command-notice
...
Fix notice that displays when activating WC via the command-line.
2017-01-13 22:52:33 -02:00
Justin Shreve
9dc38fcee0
Fix notice that displays when activating WC via the command-line.
2017-01-13 10:47:10 -08:00
Claudio Sanches
12481a2be7
Merge pull request #12808 from woocommerce/restore-logger-rm-clear
...
Restore WC_Logger remove and clear functionality
2017-01-13 13:14:27 -02:00
Jon Surrell
5d7665671c
Remove WC_Logger::remove
...
This method was added post 2.6 and does not need to be maintained/deprecated.
Remove related test.
2017-01-13 06:48:57 +01:00
Jon Surrell
78a6ed4d44
Restore remove and clear functionality to WC_Logger
...
Maintain backwards compatibility of removing or clearing files.
2017-01-12 22:13:42 +01:00
Jon Surrell
a2dea96430
Add message when get_log_file_path called too early
2017-01-12 22:02:31 +01:00
Claudio Sanches
9c27661dea
Synchronized with master
2017-01-12 17:53:15 -02:00
Jon Surrell
e8fd29520f
Un-deprecate wc_get_log_file_path
2017-01-12 20:39:39 +01:00
Claudio Sanches
9f1e0c46fa
Fixed wc_get_product_terms() when using menu_order ordering
2017-01-11 16:14:28 -02:00
Mike Jolley
91c68d211f
Merge pull request #12798 from woocommerce/orphan-variations-fix-12614
...
Orphan variations fix
2017-01-11 16:23:14 +00:00
Mike Jolley
748db4e675
Defer flush so CPT is updated before flush.
...
Fixes #12787
2017-01-11 16:12:00 +00:00
Mike Jolley
ba8f308100
Merge branch 'master' into orphan-variations-fix-12614
...
# Conflicts:
# includes/class-wc-post-data.php
2017-01-11 15:42:20 +00:00
Mike Jolley
dc82ea9c77
Add some functions to handle unique sku after untrash
2017-01-11 15:41:31 +00:00
Mike Jolley
80f79ae98d
Trash and untrash variations handling
...
Fixes #12774
2017-01-11 15:41:19 +00:00
Claudio Sanches
fff98a9fbd
Removed more legacy $woocommerce variable
2017-01-11 13:31:31 -02:00