Commit Graph

24373 Commits

Author SHA1 Message Date
Claudio Sanches da6c9c769a Include 'product_url' wc_get_customer_available_downloads() results
Also required to fix #17925
2017-11-29 19:49:54 -02:00
Claudiu Lodromanean b05cd3f3a7
Merge pull request #17934 from woocommerce/fix/17925
Display product URL only if is not hidden in downloads list
2017-11-29 10:33:34 -08:00
Claudio Sanches 64ffa22e16
Merge pull request #17948 from woocommerce/add/17920-httponly-cookie-filter
Introduce woocommerce_cookie_httponly filter
2017-11-29 11:20:19 -02:00
Gerhard Potgieter 220abd97eb Pass all args of function to filter 2017-11-29 15:12:24 +02:00
Claudio Sanches 563466c0eb
Merge pull request #17950 from yratof/remove-variation-whitespace
Removed whitespace in variations
2017-11-29 10:52:58 -02:00
Claudio Sanches 53b3c56a63
Merge pull request #17947 from woocommerce/update/17943-category-image-schema
Update REST API product categories image schema
2017-11-29 10:42:58 -02:00
Claudio Sanches c0a7f0eef0 Fixed category images schema in REST API v1 2017-11-29 10:42:06 -02:00
Claudio Sanches d3a5a1bfd4 Fixed bugs caused after fixing coding standards 2017-11-29 10:32:35 -02:00
Claudio Sanches ae67b3b404
Merge pull request #17945 from woocommerce/fix/17944-remove-add-to-cart-pagination
Exclude add-to-cart from pagination link
2017-11-29 10:24:28 -02:00
Claudio Sanches 899bac0fbc
Merge pull request #17938 from zachd/update-irish-counties
Ensure Irish counties are listed alphabetically
2017-11-29 09:53:19 -02:00
Andrew Lazarus db65913d3c
Removed whitespace in variations
Whitespace is added by formatting the lines with whitespace. This stops you from being able to target the element & check if it's empty with :empty etc.
2017-11-29 10:55:09 +01:00
Gerhard Potgieter 9a5e8b1db8
Merge pull request #17946 from shivapoudel/fix/17919
Fix - Bulk action in status logs table
2017-11-29 11:54:11 +02:00
Gerhard Potgieter be4a2553b1 Introduce woocommerce_cookie_httponly filter on the httponly param of setcookie. 2017-11-29 11:22:57 +02:00
Gerhard Potgieter b1b9f57a91
Merge pull request #17930 from ughimire/regenerate-warning
Fix - Illegal offset type in isset or empty
2017-11-29 11:16:14 +02:00
Gerhard Potgieter 5f534e7388 Change product categories image object schema from name to title to bring docs in line with the actual output. 2017-11-29 11:06:41 +02:00
Shiva Poudel 1bf1f84560 Fix - Bulk action in status logs table, Closes #17919 2017-11-29 14:49:49 +05:45
Gerhard Potgieter f1479b07d5 Exclude add-to-cart param from get_pagenum_link function. paginate_links calls this function even though we pass a base url to it. 2017-11-29 10:52:55 +02:00
Umesh Ghimire e128f774c4 Revert isset check as it was previously 2017-11-29 14:13:47 +05:45
Gerhard Potgieter 7b74dc2576
Merge pull request #17942 from woocommerce/update-japanese-prefectures-coy
Update Japanese prefectures to include prefecture type
2017-11-29 10:22:47 +02:00
Umesh Ghimire c8fa977453
Merge pull request #2 from shivapoudel/umesh-illegal-warning
Fix - Check and process if woocommerce_thumbnail is size
2017-11-29 13:04:42 +05:45
Umesh Ghimire 020c66efa4
Merge branch 'regenerate-warning' into umesh-illegal-warning 2017-11-29 13:04:29 +05:45
Umesh Ghimire f1eac2980b
Merge branch 'regenerate-warning' into umesh-illegal-warning 2017-11-29 13:02:18 +05:45
Umesh Ghimire f642440b99 Merge branch 'master' into regenerate-warning 2017-11-29 12:58:29 +05:45
Shiva Poudel d4b4b808ed Fix - Check and process if woocommerce_thumbnail is size 2017-11-29 12:54:32 +05:45
John Coy 249aec1d47 Prefecture fix
Applied correct prefecture type for Tokyo and Hokkaido
2017-11-28 17:01:58 -06:00
John Coy a5d50968dc Updates Japanese Prefectures
Japanese prefectures now include type of prefecture to follow proper methods of listing. FIxes #17941
2017-11-28 16:35:59 -06:00
Claudiu Lodromanean eb6374dc7a
Merge pull request #17921 from woocommerce/fix/rest-api-date-format
[REST API] Fixed date format in reports schema
2017-11-28 11:57:49 -08:00
Zachary f09b7fc97e Ensure Irish counties are listed alphabetically 2017-11-28 18:58:50 +00:00
Claudio Sanches 674d75ef24
Merge pull request #17922 from franticpsyx/public-abstract-product-importer-methods
Re-usable abstract importer methods
2017-11-28 11:10:53 -02:00
Claudio Sanches f255bb89db
Merge pull request #17927 from woocommerce/add/grunt-build-shortcuts
Add npm scripts for grunt build commands
2017-11-28 11:08:01 -02:00
Claudio Sanches fd4fa0cf71 Fixed coding standards 2017-11-28 11:04:38 -02:00
Claudio Sanches def87b74bf Display product URL only if is not hidden in downloads list
Fixes #17925
2017-11-28 10:18:43 -02:00
Umesh Ghimire 9cfdb6cbea Fix - Illegal offset type in isset or empty
ref #17780
CC @kloon @shivapoudel
2017-11-28 12:30:54 +05:45
Jonathan Belcher b133461d88 Add npm scripts for grunt build commands 2017-11-27 16:36:02 -05:00
Claudio Sanches 8ed6e7436f
Merge pull request #17909 from woocommerce/update/phpcs-violations
Fix some PHPCS violations
2017-11-27 18:42:24 -02:00
Manos Psychogyiopoulos 7463182c3f Change abstract importer methods visibility 2017-11-27 17:22:19 +02:00
Claudio Sanches c1c02cd0aa
Merge pull request #17899 from woocommerce/update/17321
Uncategorized category support
2017-11-27 12:46:01 -02:00
Rodrigo Primo e006e14d23 Ignore PHPCS in two instances
Ignoring PHPCS in two lines of the code where apparently it is not possible to fix the violations. I tried using what @claudiosanches suggested in this comment https://github.com/woocommerce/woocommerce/pull/17909#issuecomment-347168029 but both tags didn't work. Lets revisit this when PHPCS 3.2.0 is released and we can selectively disable rules (see https://github.com/squizlabs/PHP_CodeSniffer/issues/604).
2017-11-27 11:00:42 -02:00
Rodrigo Primo 3fe834ba3c Exclude abstract classes from PHPCS file name checks
The plan is to revisit this for WC 4.0 and rename abstract classes files.
2017-11-27 11:00:21 -02:00
Claudio Sanches 9123656155 [REST API] Fixed date format in reports schema 2017-11-27 10:24:43 -02:00
Rodrigo Primo 7b17b79460 Fix PHPCS violations in file tests/unit-tests/order/functions.php 2017-11-24 17:25:31 -02:00
Rodrigo Primo 3d6bd30d8a Fix some PHPCS violations in includes/data-stores/abstract-wc-order-data-store-cpt.php 2017-11-24 17:25:31 -02:00
Rodrigo Primo 5e43d92e07 Fix some PHPCS violations in includes/data-stores/class-wc-order-data-store-cpt.php 2017-11-24 17:25:16 -02:00
Rodrigo Primo acb970dcf7 Add some basic test coverage for wc_order_search() 2017-11-24 17:04:14 -02:00
Claudio Sanches 3cc84a1821
Merge pull request #17904 from rodrigoprimo/update/travis-dont-reinstall-phpunit
Travis: don't reinstall PHPUnit
2017-11-24 10:56:14 -02:00
Rodrigo Primo 6f207d39f3 travis.sh cleanup
We don't call `composer install` for all PHP version anymore in this script, so it is not necessary to exit early if running PHP 5.2.
2017-11-24 10:36:42 -02:00
Rodrigo Primo 183078914b Travis: don't reinstall PHPUnit
This commit removes the command to install PHPUnit on every Travis build job. I'm doing this because I don't see a reason for WooCommerce to re-install PHPUnit since it is already installed by default on every build job. Travis automatically handles installing the right PHPUnit version for each PHP version that we use.

This change should save around 10 seconds from each build job (https://travis-ci.org/woocommerce/woocommerce/jobs/306623161#L515).
2017-11-24 10:23:30 -02:00
Gerhard Potgieter 9f8460c97a
Merge pull request #17887 from woocommerce/fix/17880
Only remove base taxes in cart totals class if item is taxable
2017-11-24 11:21:49 +02:00
Gerhard Potgieter d2e9b36612
Merge pull request #17865 from woocommerce/fix/17852
Exclude spam comments from counts
2017-11-24 11:19:32 +02:00
Gerhard Potgieter 35d33ef9df
Merge pull request #17901 from woocommerce/fix/products-shortcode-post-reference
Updated $GLOBALS['post'] data in products shortcode
2017-11-24 08:50:53 +02:00