Peter Fabian
14a26aca2c
Update min files and selectWoo
2020-06-16 17:15:12 +02:00
Rodrigo Primo
62d6b05b58
Fix Generic.Formatting.MultipleStatementAlignment violations
...
This commit fixes all violations of the Generic.Formatting.MultipleStatementAlignment sniff automatically using phpcbf.
2019-12-20 14:21:08 -03:00
Rodrigo Primo
ae1717cd4f
Fix PHPCS violations automatically using PHPCBF
2019-12-13 17:51:14 -03:00
Rodrigo Primo
f06ad5d78a
Replace removed WordPress.Security.NonceVerification.NoNonceVerification
...
WordPress Coding Standard 2.0 removed the sniff
WordPress.Security.NonceVerification.NoNonceVerification:
```
The WordPress.Security.NonceVerification sniff used the same error code for both an error as well as a warning.
The old error code NoNonceVerification is no longer used.
The error now uses the Missing error code, while the warning now uses the Recommended error code.
```
(from
d45f5e5cf3/CHANGELOG.md (200-rc1---2018-12-31)
)
This commit updates WooCommerce code and replaces all instances where WordPress.Security.NonceVerification.NoNonceVerification verification was used with either WordPress.Security.NonceVerification.Missing or
WordPress.Security.NonceVerification.Recommended. In a few cases WordPress.Security.NonceVerification.NoNonceVerification was used but was not needed, so instead of replacing the sniff, the line was removed. In two other cases, I removed other unrelated sniffs that were not needed.
2019-12-13 17:45:32 -03:00
aaronlad
6bca35ddbe
fix #24671
2019-09-25 18:28:32 +01:00
Claudio Sanches
d807119121
Introduced woocommerce_admin_order_buyer_name filter
2019-05-16 19:02:57 -03:00
Gerhard
48e6083adc
Restore param and return for backward compatibility.
2019-05-06 14:47:27 +02:00
Gerhard
48000e63a1
Move remove_ordering_args calls from the_posts filter to query_filters method, this avoids conflicts with other plugins also hooking in and modify the args.
2019-05-02 14:31:30 +02:00
Gerhard
0f00eb9a79
Fix product list table shipping class tax_query
2019-04-23 11:19:07 +02:00
Mike Jolley
4e50a8f6dd
Escape strings passed to selectwoo
2019-04-17 12:02:20 +01:00
Rodrigo Primo
c4d6f3dac3
Replace deprecated WPCS rule
...
This commit replaces all the instances where the WPCS rule `WordPress.VIP.SlowDBQuery` was used with `WordPress.DB.SlowDBQuery`. `WordPress.VIP.SlowDBQuery` was deprecated in WPCS 2.0 and `WordPress.DB.SlowDBQuery` was added as a replacement (see 5f27d8e3a4/CHANGELOG.md (L130)
).
2019-03-12 11:24:09 -03:00
Mike Jolley
a3c2dcd8f2
Update from master
2019-03-08 09:50:56 +00:00
Mike Jolley
0782d39a55
Stock status
2019-03-07 14:32:20 +00:00
Mike Jolley
1ab455ec09
virtual and downloadable
2019-03-07 14:07:51 +00:00
Mike Jolley
94b19dc3ca
SKU and price sorting using lookup table in admin
2019-03-07 13:47:15 +00:00
haszari
3fcdc65283
style orders list suggestions + remove debug code
2019-02-22 20:55:03 +13:00
haszari
4e42021578
render suggestions containers (& unstyled suggestions) in orders list
2019-02-22 16:13:37 +13:00
haszari
a9b7bfc513
move products list suggestions container render into module behind hook + move template near module, don't use wc_get_template to render
2019-02-21 14:38:04 +13:00
haszari
9cd81c371e
add header & footer to products empty suggestions box
2019-02-19 11:54:58 +13:00
haszari
c7b630b1f8
update products list empty state (incl. suggestions) to latest designs
2019-02-19 10:46:44 +13:00
haszari
1fdc013525
products blank state - OBW style suggestions (missed in previous commit)
2019-02-14 15:44:28 +13:00
haszari
792e32056c
in-product discovery - render container for product-list suggestions
2019-02-12 16:10:21 +13:00
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