Commit Graph

18932 Commits

Author SHA1 Message Date
Mike Jolley cb04d5985a Fix add zone button and default title
Fixes #12829
2017-01-17 15:25:12 +00:00
Mike Jolley 57ef639f8d Minify 2017-01-17 14:35:47 +00:00
Mike Jolley b2f537fe95 Merge pull request #12820 from woocommerce/fix-12817-mb
Update available attribute options
2017-01-17 14:33:43 +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 611dbca47e Merge pull request #12854 from woocommerce/phpunit-coverage-whitelist
Add phpunit coverage whitelist
2017-01-17 12:22:12 +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
Jon Surrell 85ed78f438 Add PHPUnit coverage `addUncoveredFilesFromWhitelist="true"` 2017-01-17 10:28:20 +01:00
Jon Surrell b67a3e0119 Unquote 7.1 in .travis.yml 2017-01-17 10:07:10 +01:00
Jon Surrell ec374770aa Update phpunit.xml to use <whitelist> 2017-01-17 10:06:08 +01:00
Jon Surrell e07f512f4b Use required whitelist in phpunit.xml.dist 2017-01-17 09:34:07 +01:00
Claudio Sanches bd655af072 Restore attributes ordering, closes #12847 2017-01-16 21:11:56 -02:00
Claudio Sanches feff675ca3 Merge pull request #12839 from woocommerce/fix/stock-bulk
Fix stock updating on bulk edit.
2017-01-16 20:41:52 -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 b3f321adc7 Merge pull request #12849 from woocommerce/fix-is-on-sale-method
Fixed declaration of is_on_sale() compatible with WC_Product::is_on_sale
2017-01-16 20:03:15 -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 191b856162 Merge pull request #12844 from sirreal/patch-travis-builds
Change travis setup to exclude coverage from all but latest stable
2017-01-16 19:55:29 -02:00
Claudio Sanches fbfb195f2f Fixed interfaces file names and location 2017-01-16 19:33:21 -02:00
Claudio Sanches 32a4850d78 Merge pull request #12846 from woocommerce/typofix
Fix typo on  variable when it should be
2017-01-16 19:11:29 -02:00
roykho 11d0d26df7
Fix typo on variable when it should be 2017-01-16 12:54:59 -08:00
Jon Surrell 9069bce4d3 Change travis setup to exclude coverage from all but latest stable
Add PHP_LATEST_STABLE env to travis

Use same bash conditional for test scripts
2017-01-16 21:11:21 +01: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
Mike Jolley 177abef8e9 Merge pull request #12832 from woocommerce/placeholder-galleries
Don't allow users to open the lightbox for placeholder images
2017-01-16 18:23:39 +00:00
Mike Jolley 6239a8971b Merge pull request #12837 from woocommerce/fix/quick-edit-stock-virtual-featured
Fix stock, virtual, and featured checks by passing correct data to quick-edit.js
2017-01-16 18:11:11 +00: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
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 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