Commit Graph

29469 Commits

Author SHA1 Message Date
Rodrigo Primo ff74ecec86 Fix orders list in the admin
WP 5.0.2, which was released yesterday, sets `$query_vars['post_status']` to an empty string instead of leaving it unset (https://core.trac.wordpress.org/ticket/45719 and https://core.trac.wordpress.org/changeset/44185). This change broke the WC orders list in the admin when listing orders of all post statuses as we were checking if `$query_vars['post_status']` was not set to add all order statuses to this variable (125eaaf241/includes/admin/list-tables/class-wc-admin-list-table-orders.php (L799)).

To workaround this problem, this commit changes the check to verify if `$query_vars['post_status']` is empty instead of verifying if it is not set.
2018-12-20 09:56:02 -02:00
Rodrigo Primo 948a1dc300 Fix PHPCS violations automatically using PHPCBF 2018-12-20 09:48:14 -02:00
Ron Rennick 292c5c5dcc strip slashes from tax classes on save 2018-12-19 15:22:04 -04:00
Rodrigo Primo 125eaaf241 Merge branch 'master' of github.com:woocommerce/woocommerce 2018-12-19 13:31:34 -02:00
Rodrigo Primo 941217719e phpcs fixes using phpcbf 2018-12-19 13:31:11 -02:00
Ron Rennick 0456cb7323 update second instance of href reassign in cart.js, props @joshuatf 2018-12-19 11:19:47 -04:00
Ron Rennick dc41135a05 use reload() instead of reassigning href property 2018-12-19 11:16:59 -04:00
Rodrigo Primo cb0c23d6ab
Merge pull request #22244 from faisal-alvi/fix-22234
Fix-22234
2018-12-19 12:42:48 -02:00
Rodrigo Primo dd816cf8d1 Merge branch 'master' of github.com:woocommerce/woocommerce 2018-12-19 12:40:33 -02:00
Rodrigo Primo 0cb992925d phpcs fix using phpcbf 2018-12-19 12:40:02 -02:00
Rodrigo Primo 540d10cbc0 Use WP latest instead of 5.0-beta3 to run the PHP 7.3 Travis build job
Now that WP 5.0 has been released, we don't need to use 5.0-beta3 anymore to run the PHP 7.3 Travis build job.
2018-12-19 11:53:46 -02:00
Rodrigo Primo eccaa3d286
Merge pull request #22156 from rodrigoprimo/split-travis-build-job
Use separate Travis build jobs to run e2e tests and PHPCS
2018-12-19 11:30:49 -02:00
Rodrigo Primo c6a0c32427 Merge branch 'master' into split-travis-build-job 2018-12-19 11:09:46 -02:00
Rodrigo Primo 87e47cd1a8 Use the "name" config property to better identify build jobs 2018-12-19 11:08:32 -02:00
Rodrigo Primo ee51edad22 Update e2e tests database to WP 5.0.1 and WC 3.5.2 2018-12-19 13:00:55 +00:00
Rodrigo Primo 753ced917f
Merge pull request #22252 from Prospress/fix/22251
Update end to end tests
2018-12-19 10:37:26 -02:00
Ron Rennick e04b0fff31 use a more appropriate description for new installation tests 2018-12-18 16:28:49 -04:00
Ron Rennick 6079e1f541 ensure WP database is upgraded for current WP version 2018-12-18 16:02:57 -04:00
Ron Rennick e2f34928d3 update checkout flow for 3.5.0 2018-12-18 14:23:11 -04:00
Ron Rennick 603dd8cfcd remove redundant form update in cart page tests 2018-12-17 16:05:53 -04:00
Ron Rennick 3ab427f8bf add config-theme.js to test that a functional supported theme is active 2018-12-17 15:42:20 -04:00
Ron Rennick 729e7083ae move front end tests to front-end folder 2018-12-17 15:19:34 -04:00
Ron Rennick 61074f69ea update npm package version to 3.5.0 2018-12-17 12:52:05 -04:00
Faisal Alvi cbafb8e006 Fix-22234 2018-12-17 15:01:05 +05:30
Joshua Flowers dc12b7d2d6 Use reload instead of assigning href to window.location 2018-12-17 10:27:20 +08:00
Amir hossein Hossein Zadeh Karimi 17141fdcb5
Change get_name() return type from int to string 2018-12-15 15:10:46 +03:30
Ron Rennick 771a615328 add out of stock criteria to tax_query array instead of replacing it 2018-12-14 14:52:26 -04:00
Ron Rennick 32ae40ffb0 phpcs sniff fixes for class-wc-widget-products.php 2018-12-14 14:50:58 -04:00
Ron Rennick 4cda9d3237 bump template version 2018-12-14 08:46:47 -04:00
Faisal Alvi d8c926a243 Fix-22211 2018-12-14 15:46:25 +05:30
Gerhard 4daafd28e4 v2 API should also use wc_get_webhook_statuses for the enum in the schema status 2018-12-14 08:08:56 +02:00
Ron Rennick aba43ae6de phpcs sniff fixes for class-wc-rest-products-v2-controller.php 2018-12-13 16:04:53 -04:00
Rodrigo Primo f13a0bc9eb
Merge pull request #22216 from woocommerce/fix/21894
Introduce `woocommerce_reviews_title` filter
2018-12-13 17:15:14 -02:00
Rodrigo Primo 1a8dcad2e8 Bump template version 2018-12-13 16:28:15 -02:00
Rodrigo Primo 8c9bd03692 Fix phpcs violations and improve indentation 2018-12-13 16:14:14 -02:00
Ron Rennick a924c15dee unpdate unit tests for product export 2018-12-13 13:54:51 -04:00
Ron Rennick 3e96b57489 remove em tags from translated string 2018-12-13 13:07:03 -04:00
Gerhard ac9b588147 Remove status check from schema, do checks when updating. Define status schema enum using the wc_get_webhook_statuses method. 2018-12-13 13:05:50 +02:00
Ron Rennick 73de71d8d4 fix merge conflict 2018-12-12 09:23:38 -06:00
Gerhard 4852db1e45 PHPCS fixes 2018-12-12 10:38:43 +02:00
Gerhard 189f346c2e Add unit tests for wc_is_webhook_valid_status 2018-12-12 10:33:52 +02:00
Gerhard 1ac267992d Add new wc_is_webhook_valid_status and use that for the schema check in the API. 2018-12-12 10:21:59 +02:00
Gerhard 5d22d42c9b PHPCS fixes 2018-12-12 10:05:03 +02:00
Gerhard 38391f7bbf Update WC_REST_Controller to apply WP 5.0 fix as per https://core.trac.wordpress.org/attachment/ticket/45220/45220.2.diff 2018-12-12 10:03:22 +02:00
Claudiu Lodromanean c4ae48597c
Merge pull request #21904 from Prospress/fix/21196
allow limited html in `woocommerce_rating_filter_count` filter
2018-12-11 11:18:19 -08:00
Claudiu Lodromanean c3334302bd
Merge pull request #22108 from woocommerce/fix/meta-queries-REST-API
Fixed support for multiple query parameters translated to meta queries via REST API requests
2018-12-11 11:12:56 -08:00
Claudiu Lodromanean 6e457799b3
Merge pull request #21943 from woocommerce/fix/21516
Match array keys on lowercase keys before calling set_props
2018-12-11 11:12:22 -08:00
Claudiu Lodromanean b70fed6868
Merge pull request #21669 from woocommerce/fix/helper-not-able-to-detect-local-woo-plugin
Add File Headers filter at 'plugins_loaded' hook so that WooCommerce Helper can detect all locally installed Woo plugins
2018-12-11 11:08:49 -08:00
Claudiu Lodromanean f6c3766cf0
Merge pull request #22139 from aslamshekh/fixed-wordpress-standard-1
Fixed Wordpress standard as per given suggestion on #22122
2018-12-10 14:12:07 -08:00
Claudiu Lodromanean d1e71994dc
Merge pull request #22170 from faisal-alvi/master
`abstract-wc-widget.php` - coding standard fixes
2018-12-10 14:06:38 -08:00