Commit Graph

26584 Commits

Author SHA1 Message Date
Mike Jolley c26e766b06
Merge pull request #19428 from woocommerce/fix/phpcs-includes-product-grouped
Fix PHPCS violations in includes/class-wc-product-grouped.php
2018-03-19 12:52:21 +00:00
Mike Jolley 5a8c1ee81c
Merge pull request #19433 from woocommerce/fix/cart--classes-phpcs
Fixed cart classes PHPCS violations
2018-03-19 12:51:50 +00:00
Mike Jolley 127b9a89d0
Merge pull request #19436 from liquidweb/feature/register-additional-woocommerce-tables
Add the "woocommerce_install_get_tables" filter to WC_Install::get_tables()
2018-03-19 12:50:40 +00:00
Mike Jolley 808dbec82a Set is_shortcode loop prop when outputting subcategories
Fixes #19439
2018-03-19 11:12:18 +00:00
Mike Jolley e957b05aea
Merge pull request #19437 from woocommerce/fix/checkout-class-phpcs
Fixed includes/class-wc-checkout.php PHPCS violations
2018-03-19 10:45:53 +00:00
Claudio Sanches 47894cc64d Fixed includes/class-wc-checkout.php PHPCS violations 2018-03-16 16:15:08 -03:00
Steve Grunwell 049876ac8f Add the "woocommerce_install_get_tables" filter to WC_Install::get_tables()
This commit adds a new filter, "woocommerce_install_get_tables", to the WC_Install::get_tables() method, enabling WooCommerce extensions to register new, WooCommerce-specific tables, ensuring these tables can be cleaned up automatically should WooCommerce be uninstalled (useful for things like custom table data stores). Nothing gets added by default, but this provides an integration point for plugins like WooCommerce Custom Orders Table.
2018-03-16 18:54:17 +00:00
Claudio Sanches 15989622df Fixed PHP warning on woocommerce_catalog_ordering()
This fixes the follow warning:

> PHP Warning:  array_key_exists(): The first argument should be either a string or an integer in includes/wc-template-functions.php on line 1012

When an option doesn't exists is returned `false`, just setting a default value to fix the issue.

This issue should happen in new installations of WooCommerce 3.3 when no
order is defined on the customizer.
2018-03-16 15:13:21 -03:00
Claudio Sanches 84c047dad1 Fixed includes/class-wc-cart.php PHPCS violations 2018-03-16 15:08:52 -03:00
Claudio Sanches 67cd6b8fbf Fixed includes/class-wc-cart-totals.php PHPCS violations 2018-03-16 14:47:18 -03:00
Claudio Sanches 8effbb11bd Fixed includes/class-wc-cart-session.php PHPCS violations 2018-03-16 14:45:28 -03:00
Claudio Sanches c904894035 Fixed includes/class-wc-cart-fees.php PHPCS violations 2018-03-16 14:43:53 -03:00
Claudio Sanches db3924f2c7
Merge pull request #19421 from woocommerce/fix/auth-class-phpcs
Fixed includes/class-wc-auth.php PHPCS violations
2018-03-16 11:57:05 -03:00
Mike Jolley 09b089fff4
Merge pull request #19424 from woocommerce/fix/breadcrumb-class-phpcs
Fixed includes/class-wc-breadcrumb.php PHPCS violations
2018-03-16 14:14:26 +00:00
Mike Jolley 6cc5f2e171
Merge pull request #19140 from woocommerce/fix/subcategory-cache
Clear subcategory cache
2018-03-16 14:08:58 +00:00
Mike Jolley 73ed35bc07
Merge pull request #19096 from woocommerce/update/19061
Add stopword support to product searches
2018-03-16 14:08:17 +00:00
Mike Jolley eb26221b1a Merge branch 'master' into update/19061 2018-03-16 13:59:05 +00:00
Rodrigo Primo 6fcc468aba PHPCS fixes in includes/class-wc-product-grouped.php 2018-03-16 10:00:42 -03:00
Rodrigo Primo 8e87ce7e57 Remove unused variable 2018-03-16 09:57:18 -03:00
Gerhard Potgieter b0902e56d8
Merge pull request #19423 from woocommerce/fix/background-emailer-class-phpcs
Fixed includes/class-wc-background-emailer.php PHPCS violations
2018-03-16 13:40:41 +02:00
Gerhard Potgieter 5fcef12667
Merge pull request #19422 from woocommerce/fix/autoload-class-phpcs
Fixed includes/class-wc-autoloader.php PHPCS violations
2018-03-16 13:26:45 +02:00
Gerhard Potgieter c0d3050a99
Merge pull request #19420 from woocommerce/fix/api-class-phpcs
Fixed includes/class-wc-api.php PHPCS violations
2018-03-16 13:11:22 +02:00
Mike Jolley 5740dc15e7
Merge pull request #19416 from woocommerce/fix/17876
Enable selecting with tab key on selectWoo
2018-03-16 11:08:30 +00:00
Claudio Sanches 8d860d7fb3 Fixed includes/class-wc-breadcrumb.php PHPCS violations 2018-03-15 18:30:08 -03:00
Claudio Sanches 3d4217143e Fixed includes/class-wc-background-emailer.php PHPCS violations 2018-03-15 18:22:12 -03:00
Claudio Sanches 820426a4d0 Short ASBPATH check in includes/class-wc-background-updater.php 2018-03-15 18:14:36 -03:00
Claudio Sanches 0ce0edac73 Fixed includes/class-wc-autoloader.php PHPCS violations 2018-03-15 18:13:26 -03:00
Claudio Sanches 8ab919ee94 Fixed includes/class-wc-auth.php PHPCS violations 2018-03-15 17:58:12 -03:00
Claudio Sanches b6bcb44f3f Fixed includes/class-wc-api.php PHPCS violations 2018-03-15 17:35:40 -03:00
claudiulodro b0fa583f6e Enable selecting with tab key on selectWoo 2018-03-15 11:52:07 -07:00
Claudiu Lodromanean fbccc4ed5c
Merge pull request #19415 from woocommerce/fix/19401
Reload gateways after updating the order.
2018-03-15 09:21:15 -07:00
Claudiu Lodromanean 88531fdfc6
Merge pull request #19414 from woocommerce/fix/19398
Inherit 'is variation' from existing attribute during csv import
2018-03-15 09:06:57 -07:00
Claudiu Lodromanean b00e05bb64
Merge pull request #19413 from woocommerce/update/19402
Add post_excerpt to product search
2018-03-15 08:00:52 -07:00
Mike Jolley 2abd510b36
Merge pull request #19391 from woocommerce/fix/rounding
100% coupon with inclusive taxes and out-of-base rounding issue fix
2018-03-15 12:43:58 +00:00
Mike Jolley 4bbdf30794 Reload gateways after updating the order. Fixes #19401 2018-03-15 12:39:30 +00:00
Mike Jolley e86ae89123 phpcs 2018-03-15 12:36:10 +00:00
Mike Jolley 565f1c6e66 Inherit 'is variation' from existing attribute during csv import 2018-03-15 12:18:31 +00:00
Mike Jolley 3df5a479f9 Add post_excerpt to product search 2018-03-15 11:21:27 +00:00
Mike Jolley 1c9143546f Use wc_get_default_products_per_row as the default for product shortcodes
Closes #19408

Will apply if no fixed columns are provided via the shortcode args.
2018-03-15 11:16:34 +00:00
Mike Jolley c4b3bd0114
Merge pull request #19405 from woocommerce/phpcs-fixes
Fix PHPCS violations in a few files
2018-03-15 10:02:23 +00:00
Mike Jolley 4b84baa933
Merge pull request #19403 from woocommerce/update-chromedriver
Update chromedriver to version 2.36.0
2018-03-15 10:01:06 +00:00
Rodrigo Primo a767eb1a87 PHPCS fixes in includes/class-wc-shipping-zone.php 2018-03-14 17:54:42 -03:00
Rodrigo Primo af75da87fd PHPCS fixes in includes/class-wc-shipping-zones.php 2018-03-14 17:53:41 -03:00
Rodrigo Primo 45c1adec23 Remove unused private method WC_Shipping::get_default_method()
This method was create in commit 9f65d2a1fc and it was used only once inside WC_Shipping::calculate_shipping(). But commit 4c4f26ff41 removed this call to WC_Shipping::get_default_method() and left the method unused.
2018-03-14 17:50:38 -03:00
Rodrigo Primo e90ce56a50 PHPCS fixes in includes/class-wc-shipping.php 2018-03-14 17:50:19 -03:00
Rodrigo Primo 202e527a83 PHPCS fixes in includes/class-wc-shortcodes.php 2018-03-14 17:41:24 -03:00
Rodrigo Primo 684d80b11d Update chromedriver to version 2.36.0
This update is necessary as chromedriver 2.33.0 doesn't work well with the latest Chrome version and this is causing some e2e tests to fail.
2018-03-14 17:18:30 -03:00
claudiulodro f39a9ee61a Round fractional cents when oob 2018-03-14 08:35:41 -07:00
Claudiu Lodromanean feba3bd3ed
Merge pull request #19378 from woocommerce/fix/19217
Deletes orphan variations after successful import.
2018-03-14 08:27:30 -07:00
Mike Jolley 06418f67e5
Merge pull request #19225 from roylindauer/17355-SplitAndFilter
Split layered nav transient per issue #17355
2018-03-14 12:50:54 +00:00