Commit Graph

26523 Commits

Author SHA1 Message Date
Claudio Sanches e825f33414 Fixed includes/class-wc-meta-data.php PHPCS violations 2018-03-21 00:11:16 -03:00
Claudio Sanches 7173396912 Fixed includes/class-wc-log-levels.php PHPCS violations 2018-03-21 00:08:59 -03:00
Claudio Sanches 56d9a88926 Fixed includes/class-wc-integrations.php PHPCS violations 2018-03-21 00:07:37 -03:00
Claudio Sanches b8534eee28 Fixed includes/class-wc-install.php PHPCS violations 2018-03-21 00:06:47 -03:00
Claudio Sanches d59a7463eb Fixed includes/class-wc-geolocation.php PHPCS violations 2018-03-21 00:03:50 -03:00
Claudio Sanches d989627125 Fixed includes/class-wc-embed.php PHPCS violations 2018-03-21 00:02:57 -03:00
Claudio Sanches a1a82b09bb Fixed includes/class-wc-discounts.php PHPCS violations 2018-03-21 00:00:54 -03:00
Claudio Sanches db713cce76 Short ASBPATH check in deprecated action and filter classes 2018-03-21 00:00:21 -03:00
Claudio Sanches 9a9906ec46 Fixed includes/class-wc-datetime.php PHPCS violations 2018-03-20 23:59:56 -03:00
Mike Jolley 016b3c76fb
Merge pull request #18196 from woocommerce/update/17795
Add refunded payment prop after an API refund succeeds.
2018-03-20 17:10:40 +00:00
Mike Jolley e413cdd75e
Merge pull request #19458 from woocommerce/fix/customer-classes-phpcs
Fixed Customer classes PHPCS violations
2018-03-20 16:47:59 +00:00
Mike Jolley 701f17840a
Merge pull request #19457 from woocommerce/fix/countries-class-phpcs
Fixed includes/class-wc-countries.php PHPCS violations
2018-03-20 16:47:03 +00:00
Mike Jolley b51626f183
Merge pull request #19456 from woocommerce/fix/coupon-class-phpcs
Fixed includes/class-wc-coupon.php PHPCS violations
2018-03-20 16:46:25 +00:00
Mike Jolley 6e02397935
Merge pull request #19459 from woocommerce/fix/data-classes-phpcs
Fixed Data store classes PHPCS violations
2018-03-20 16:44:57 +00:00
Mike Jolley 99ec658684
Merge pull request #19455 from woocommerce/fix/comments-class-phpcs
Fixed includes/class-wc-comments.php PHPCS violations
2018-03-20 16:44:27 +00:00
Claudio Sanches 16f3858472 Fixed "end if" comment 2018-03-19 20:22:39 -03:00
Claudio Sanches 62f2a603d5 Fixed includes/class-wc-data-store.php PHPCS violations 2018-03-19 20:21:10 -03:00
Claudio Sanches 3e7b6a9f7b Fixed includes/class-wc-data-exception.php PHPCS violations 2018-03-19 20:17:56 -03:00
Claudio Sanches d528e65849 Fixed includes/class-wc-customer.php PHPCS violations 2018-03-19 20:15:16 -03:00
Claudio Sanches 37a9af55c0 Fixed includes/class-wc-customer-download.php PHPCS violations 2018-03-19 20:07:49 -03:00
Claudio Sanches 4a384da01a Fixed includes/class-wc-customer-download-log.php PHPCS violations 2018-03-19 20:01:52 -03:00
Claudio Sanches 96ec4d6215 Fixed includes/class-wc-coupon.php PHPCS violations 2018-03-19 19:59:20 -03:00
Claudio Sanches 0b5aef0fd3 Fixed includes/class-wc-countries.php PHPCS violations 2018-03-19 19:42:55 -03:00
Claudio Sanches f81b90efe6 Fixed includes/class-wc-comments.php PHPCS violations 2018-03-19 19:39:31 -03:00
Claudio Sanches 73b1c9c603 Short ASBPATH check 2018-03-19 19:28:37 -03:00
Claudiu Lodromanean b8700c51e2
Merge pull request #19449 from woocommerce/fix/19439
Set is_shortcode loop prop when outputting subcategories
2018-03-19 11:35:58 -07:00
Claudiu Lodromanean 0454f1539b
Merge pull request #19387 from woocommerce/update/19345
Add names to nonces
2018-03-19 11:14:23 -07:00
Mike Jolley f6dc960e46 phpcs 2018-03-19 18:09:13 +00:00
Mike Jolley 6539b7913e Merge branch 'master' 2018-03-19 18:05:36 +00:00
Rodrigo Primo 2d0a5bccf1
Merge pull request #19452 from woocommerce/fix/search-query
Missing $like was breaking unit tests.
2018-03-19 15:02:53 -03:00
Mike Jolley fb8b670cda Merge branch 'master' into update/19345 2018-03-19 18:00:28 +00:00
Mike Jolley e509e92f7b BW compat for nonce check 2018-03-19 17:59:30 +00:00
Mike Jolley 40b831f4df Missing $like was breaking unit tests.
@rodrigoprimo
2018-03-19 17:36:36 +00:00
Claudiu Lodromanean e6a266e30f
Merge pull request #19412 from woocommerce/update/19408
Use wc_get_default_products_per_row as the default for product shortcodes
2018-03-19 09:23:44 -07:00
Claudiu Lodromanean c115b185e1
Merge pull request #19395 from woocommerce/fix/19284
Set opt-in/out based on geolocation data and DNT headers
2018-03-19 09:20:22 -07:00
Mike Jolley d099aae4ec Fix test and default 2018-03-19 13:05:43 +00:00
Mike Jolley ce7caa8029 Merge branch 'master' into fix/19284 2018-03-19 13:01:31 +00:00
Mike Jolley f7056a4284 missing echo 2018-03-19 12:59:50 +00:00
Mike Jolley 6e2b65aca9
Merge pull request #19434 from woocommerce/fix/php-warning-catalog-ordering
Fixed PHP warning on woocommerce_catalog_ordering()
2018-03-19 12:54:27 +00:00
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