Commit Graph

124 Commits

Author SHA1 Message Date
Mike Jolley 6e5a4201cf Merge branch 'pr/21635' 2019-01-08 15:30:31 +00:00
Mike Jolley 868e7841e6
Merge pull request #21860 from rellect/wc_case
Rename wc() to WC() for consistency
2019-01-08 14:29:59 +00:00
Mike Jolley 8ad3491b99 Add option to control if remove personal data bulk action is allowed 2019-01-07 11:22:29 +00:00
Mike Jolley 9245687f6a Merge remote-tracking branch 'origin/master' into enhancement/erasure-setting-22055 2019-01-07 11:07:12 +00:00
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 267b5ed569 only include order erasure bulk action if erasure is enabled in settings 2018-11-29 16:20:56 -04:00
Ron Rennick 59c1b2f669 phpcs sniff fixes class-wc-admin-list-table-orders.php 2018-11-29 16:16:51 -04:00
Will Gorham 4b1dd35dda Revert "phpcs" (bc4010) - incorrect phpcs fixes
This reverts commit bc4010cfc1.
2018-11-16 15:20:57 -05:00
Will Gorham b53fe55299 More phpcs 2018-11-16 14:47:31 -05:00
Will Gorham bc4010cfc1 phpcs 2018-11-16 14:15:18 -05:00
Will Gorham 20526cba08 Fix hardcoded db table name 2018-11-16 14:15:04 -05:00
Refael Iliaguyev 127f1cb276 Use WC() instead wc() for consistency 2018-11-08 12:59:07 +02:00
Rodrigo Primo 7db65aea2c Revert "Use post_author field instead of post meta in orders admin page"
This reverts commit 6ecc3bc442.
2018-10-29 11:46:02 -03:00
Rodrigo Primo 487ac201c0 Revert "Bump WC version to 3.4.0"
This reverts commit 7f43c39f2f.
2018-10-29 11:44:32 -03:00
Rodrigo Primo 1d9ab63134 Revert "Punt to WC version 3.5.0"
This reverts commit ccf10f6ab2.
2018-10-29 11:37:24 -03:00
Keith Light f9cbcbece6 Amend `absint` to `esc_html` to allow for negative numbers in menu order 2018-10-23 20:51:14 +01:00
Peter Fabian ab4630111b Fixed posts query to include parent products if variations have the shipping class assigned. 2018-09-05 11:35:05 +02:00
Claudiu Lodromanean 87acfa731d
Merge pull request #20260 from leglesslizard/master
Set low stock notification threshold per product
2018-07-24 10:23:15 -07:00
Joey Gilham 58cdd7dad2
Merge branch 'master' into master 2018-07-03 15:41:15 +01:00
Mike Jolley 46141595d4 Remove term usage 2018-06-28 16:39:07 +01:00
claudiulodro 9fa038e1ab phpcs 2018-06-26 13:36:13 -07:00
claudiulodro 59356aa644 Make it easier to customize product filters 2018-06-26 13:31:57 -07:00
Joey cd8416122f removed low stock options for variations, and addressed changes 2018-06-19 12:40:27 +01:00
Rodrigo Primo 43d22a2349 Merge branch 'master' into update/use-post-author-for-customer-id 2018-06-18 15:17:19 -03:00
Mike Jolley 5e6405b650 Merge branch 'master' into update/13359 2018-06-15 15:12:12 +01:00
Mike Jolley cca7972d8f Initialize payment gateways before running bulk actions 2018-06-12 13:14:09 +01:00
Rodrigo Primo dd8bf8b522 Merge branch 'master' into update/use-post-author-for-customer-id 2018-06-11 10:44:14 -03:00
Mike Jolley 52854b7690 Add qty to order via modal, include stock qty in formatted name display for reference 2018-06-08 16:18:32 +01:00
Mike Jolley 6b8cd9661f exclude new meta data from admin screens 2018-06-08 12:18:15 +01:00
Ewout Fernhout 5f57e3b524
add filter for bulk action IDs 2018-06-05 12:07:35 +02:00
Ewout Fernhout 2ab47706a7
apply bulk actions oldest to newest 2018-06-01 12:40:22 +02:00
Mike Jolley 25d025c01e Show empty terms in admin dropdown 2018-05-31 11:24:23 +01:00
Joey b08b55a651 added changes for low stock notifications per product 2018-05-27 05:40:58 +01:00
Rodrigo Primo c49059ce7a Merge branch 'master' into update/use-post-author-for-customer-id 2018-05-08 17:34:09 -03:00
Mike Jolley 9069357a84 Fixes blank state call to action styling 2018-05-03 16:09:35 +01:00
Rodrigo Primo 49855b4676 Fix: product type filter should show selected product type
Since admin lists were refactored in 8f37ea33ed, a bug was introduced that prevented the "Filter by product type" select box in the products list page in the admin from showing the selected product type when filtering by "Downloadable" products. Before marking this option as selected, the code was checking if `$wp_query->query['product_type']` is set. This check made sense before the refactor (see 8f37ea33ed (diff-a116210e8adc50b0853846ba935daaadL1544)) but it doesn't make sense anymore. In the new method, `$wp_query` is not even used.
2018-04-26 10:02:44 -03:00
claudiulodro f9e45bea91 Bring up-to-date with master and resolve merge conflicts 2018-04-17 13:27:39 -07:00
Rodrigo Primo ccf10f6ab2 Punt to WC version 3.5.0 2018-04-17 11:12:46 -03:00
Rodrigo Primo a7d2c5dd6e Merge branch 'master' into update/use-post-author-for-customer-id 2018-04-03 15:13:07 -03:00
Claudio Sanches e718bdd11c
Merge pull request #19192 from nishitlangaliya/Issue-18990
Fixes- Admin - removed product type column
2018-03-28 15:37:57 -03:00
Mike Jolley 7a568e2f68 Personal data removal experiment 2018-03-16 13:53:18 +00:00
Mike Jolley 906aa97aea Merge branch 'master' into update/19061 2018-03-12 19:28:53 +00:00
Mike Jolley b0a4502e0f Unslash quotes 2018-03-12 19:11:48 +00:00
Rodrigo Primo af47f7b0b2 Fix PHPCS violations in includes/admin/list-tables/class-wc-admin-list-table-products.php 2018-03-06 15:08:46 -03:00
Rodrigo Primo 2ec74d2e15 Fix PHPCS violations in includes/admin/list-tables/class-wc-admin-list-table-orders.php 2018-03-06 15:08:30 -03:00
Rodrigo Primo d2bfa5e6c5 Fix PHPCS violations in includes/admin/list-tables/class-wc-admin-list-table-coupons.php 2018-03-06 15:08:16 -03:00
Rodrigo Primo f4c17e20c7 Fix PHPCS violations in includes/admin/list-tables/abstract-class-wc-admin-list-table.php 2018-03-06 15:08:00 -03:00
Rodrigo Primo 23b69eba53 Use phpcbf to fix coding standard violations in includes/admin
After using phpcbf to fix the coding standard violations, I did some manual adjustments to the changes, especially in poorly indented files.
2018-03-05 16:21:35 -03:00
nishitlangaliya 11f329b500 Fixes- Admin - removed product type column 2018-03-01 16:43:13 +05:30