Commit Graph

27715 Commits

Author SHA1 Message Date
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
Mike Jolley 7a568e2f68 Personal data removal experiment 2018-03-16 13:53:18 +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
michakrapp 5a19f00c5a accout login autocomplete - commit with correct user account
on first commit used false user account
2018-03-16 11:07:02 +01:00
mksunlab 6a29551979 Revert "add autocomplete attributes to account and register forms"
This reverts commit 555d680f6e.
2018-03-16 11:00:54 +01:00
mksunlab 555d680f6e add autocomplete attributes to account and register forms
patch for issue #19425
2018-03-16 10:25:37 +01: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
Claudio Sanches 827d957d66 Load GeoLite2 Reader when creating a new instance of WC_Geolite_Integration 2018-03-15 17:30:17 -03:00
Claudio Sanches 774a54b8ee Deprecated old WC_Geo_IP class 2018-03-15 17:23:40 -03:00
Claudio Sanches c4eac9f4e5 GeoLite integration Unit Tests 2018-03-15 17:06:13 -03:00
claudiulodro b0fa583f6e Enable selecting with tab key on selectWoo 2018-03-15 11:52:07 -07:00
Claudio Sanches 6405e8645a Removed legacy private methods from WC_Geolocation 2018-03-15 14:01:36 -03:00
Claudio Sanches a731135cae Removed outdated IP lookup service and improved check for valid IPs 2018-03-15 13:45:49 -03: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 94bfd3b336 Update formatting and tests 2018-03-15 10:54:32 +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