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
Mike Jolley
f212128e26
Merge pull request #12810 from woocommerce/allow-53-failure
...
Allow failure for PHP 5.3 travis builds
2017-01-16 16:48:28 +00:00
Justin Shreve
3cbb429dae
Merge pull request #12822 from woocommerce/logclass-filter-accept-instance
...
Accept object from woocommerce_logging_class filter
2017-01-16 08:35:59 -08:00
Manos Psychogyiopoulos
892d5da7e9
get prices in 'edit' context when updating meta
2017-01-16 17:33:30 +02:00
James Koster
88a378ea79
Don't allow users to open the lightbox for placeholder images
2017-01-16 14:17:03 +00: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
Caleb Burks
31f80913b1
Don’t erase payment details w/ ‘update_checkout’
2017-01-15 05:58:21 -05:00
Caleb Burks
b5991c417c
Update available attribute options
...
Ensure that available attributes can be updated after each attribute selection.
Fixes https://github.com/woocommerce/woocommerce/issues/12817
2017-01-15 03:17:03 -05: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
Claudio Sanches
5e809880cd
Merge pull request #12818 from woocommerce/wc-logger-interface
...
Add WC_Logger_Interface
2017-01-14 18:09:03 -02:00
Jon Surrell
b422de03ef
Add tests for wc_get_logger
...
When filter provided class doesn't implement
WC_Logger_Interface, test for wc_doing_it_wrong
and use WC_Logger
2017-01-14 18:45:51 +01: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
James Koster
5b01bb693e
Correct use of `--` in checkbox / checkbox label classes
2017-01-13 17:26:09 +00: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
9d0d707c8a
Allow failure for PHP 5.3 travis builds
...
Builds on this particular box fail randomly and very frequently.
2017-01-13 07:46:37 +01: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
Claudio Sanches
6583bb84aa
Merge pull request #12807 from woocommerce/add-warning-to-logger
...
Add message when get_log_file_path called too early
2017-01-12 20:52:56 -02:00
Jon Surrell
bb1ece4c31
Add test for deprecated WC_Logger::remove
2017-01-12 22:25:02 +01:00
Jon Surrell
29b3917f0e
Test deprecated WC_Logger::clear functionality
2017-01-12 22:23:02 +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
7b95988811
Merge branch 'wc-logger--rebased'
2017-01-12 17:54:20 -02: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
73029c15e0
Updated changelog
2017-01-12 15:54:57 -02: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
Claudio Sanches
612b54f0df
Removed dead $woocommerce variable
2017-01-11 13:29:34 -02:00
Mike Jolley
ab76036c1f
Enable 7.1 tests
2017-01-11 12:58:10 +00:00
Mike Jolley
de11be2b6c
space
2017-01-11 12:37:03 +00:00
Mike Jolley
9706104128
Fix test case
2017-01-11 12:33:38 +00:00
Mike Jolley
b240e10b91
Merge branch 'pr/12756'
2017-01-11 12:19:30 +00:00
Mike Jolley
3e31f2f361
Syntax
2017-01-11 12:19:23 +00:00
Mike Jolley
11015c4b06
Pass products around and change how wc_format_stock_for_display gets called so $product is available.
2017-01-11 12:17:18 +00:00
Mike Jolley
8e7687b9fc
Add method to delete variations
2017-01-11 11:48:39 +00:00
Mike Jolley
b749b654bc
Fire action on type change
2017-01-11 11:48:31 +00:00
Mike Jolley
19913f4d6c
Handle variation type change event
2017-01-11 11:48:22 +00:00
Mike Jolley
61ce6a2d21
remove notice text
2017-01-11 11:48:11 +00:00
Mike Jolley
777f09db32
remove notice - no longer needed
2017-01-11 11:48:05 +00:00