roykho
740cd388dc
Use WC Version for loading scripts instead of hardcoding them closes #30290
2021-07-16 11:42:12 -07:00
Roy Ho
95abba7eeb
Merge pull request #30041 from woocommerce/add/29609
...
Sync the product attributes lookup table on product creation/change/deletion
2021-07-16 15:03:54 +01:00
Nestor Soriano
d3bfd33e98
Use 'esc_attr' instead of suppressing the PHPCS warning
2021-07-16 09:16:20 +02:00
Claudio Sanches
630b8ed8a0
Merge pull request #30222 from woocommerce/update/woocommerce-blocks-5.5.0
...
Update WooCommerce Blocks package to 5.5.0
2021-07-15 23:36:06 -03:00
Claudio Sanches
24a0551b27
Updated to Blocks 5.5.1
2021-07-15 22:37:51 -03:00
Barry Hughes
97a397dba6
Merge pull request #30278 from woocommerce/fix/29969
...
Use single quotes to delineate mysql values instead of double quotes.
2021-07-15 14:44:00 -07:00
Greg
268c07118e
Added plugin upload functionality
2021-07-15 14:39:32 -06:00
Vedanshu Jain
7d3ac49f64
Merge pull request #30277 from mahmoudsaeed/trunk
...
Fix fatal error if $screen is null
2021-07-15 18:39:21 +05:30
Nestor Soriano
c5ca35c911
Fix: "search product" block not displaying textbox in shop page
...
The "seach block" product doesn't display the textbox because its
HTML is filtered out by `wp_kses_post`. This fix hooks on
'wp_kses_allowed_html' in order to explicitly allow the HTML elements
of the block in the shop page.
2021-07-15 14:39:39 +02:00
Mahmoud Saeed
7cdf8d46f6
Fix fatal error if $screen is null
2021-07-14 17:51:44 +02:00
roykho
aa939f6081
Use single quotes to delineate mysql values instead of double quotes closes #29969
2021-07-14 08:45:01 -07:00
Nestor Soriano
9017c953bd
Remove the metabox for regenerating attribute lookup data for single product
...
Instead, a product selector has been added to the "Regenerate
product attributes lookup table" entry in the tools page. If a product
is selected, the tool regenerates the data only for that product;
otherwise, it regenerates the entire table.
This has forced a change on how the tools page is rendered. Now,
instead of each tool being just a description and a trigger link,
a form with GET method is rendered for each tool. The forms are rendered
first and then the tools, since HTML doesn't allow to include forms
inside tables; each button is associated to its form with a "form"
attribute.
Additionally, now the tools array returned by the woocommerce_debug_tools`
hook can have a 'selector' array with the details needed to render a
selector, which will also be part of the form for the tool.
2021-07-14 12:01:42 +02:00
Néstor Soriano
d06cfc38e8
Merge pull request #30265 from woocommerce/prep/trunk/5.6
...
Prep trunk for 5.6.0
2021-07-13 14:37:01 +02:00
vedanshujain
5c61f7a9ea
Prep trunk for 5.6.0-dev.
2021-07-13 17:41:29 +05:30
jonathansadowski
a3570c85d3
Merge pull request #30243 from woocommerce/frosso-patch-1
...
chore: add shipping dimensions to sample products
2021-07-12 16:25:50 -05:00
Nestor Soriano
aa967cab4f
Optimize the query to count products using the attributes lookup table.
...
The query to count products using the attributes lookup table for the
filter by attribute widget was adding an "AND term_ids in (...)"-type
subquery for each attribute participating in the filtering. Now at most
two such subqueries are generated, one for attributes configured for
OR type filtering and another one for the ones configured as AND; this
speeds up the query significantly when many attributes are used
simultaneously for the filtering.
2021-07-12 10:32:14 +02:00
Nestor Soriano
4b4f9a2b5d
Add missing JOIN parts from tax meta and meta queries.
...
The SQL query used to calculate the product counts using the product
attributes lookup table for the attribute filtering widget was missing
the JOIN parts coming from the tax meta and meta queries. The WHERE
parts however were being used, so the enitre query could fail if there
was a tax or meta query in place.
2021-07-12 10:23:59 +02:00
Néstor Soriano
75513b8a55
Merge pull request #30233 from woocommerce/remove/yarnlock
...
Remove yarn.lock
2021-07-12 08:46:58 +02:00
Matej Kravjar
f3dd7be2b0
fix incorrect modification time in logs dropdown
2021-07-11 10:33:08 +02:00
Ron Rennick
2fcd2edbd3
Merge pull request #30117 from woocommerce/add/block-concurrent-test-runs
...
Added logic to draft and publish the ready page on each run
2021-07-09 15:52:51 -03:00
Ron Rennick
edfd05ecc9
Merge pull request #30109 from woocommerce/add/install-all-pending-updates
...
Added flows for updating WP, themes, and plugins
2021-07-09 15:09:11 -03:00
Greg
f2a4137a7f
Added comment blocks
2021-07-09 10:30:16 -06:00
Greg
b34f14eaf4
Merge branch 'trunk' of github.com:woocommerce/woocommerce into add/install-all-pending-updates
2021-07-09 10:22:36 -06:00
roykho
8937d70e29
Add yarn.lock to gitignore
2021-07-09 05:35:46 -07:00
Francesco
2b17bc4530
Update sample_products.xml
2021-07-08 16:22:35 -05:00
Francesco
e914f96fd2
chore: add shipping dimensions to sample products
2021-07-08 16:19:02 -05:00
roykho
633db9375e
Remove yarn.lock
2021-07-07 13:24:20 -07:00
Greg
af7271b747
Remove error case
2021-07-07 10:37:47 -06:00
Greg
99363e4e2b
Merge branch 'trunk' of github.com:woocommerce/woocommerce into add/block-concurrent-test-runs
2021-07-07 10:27:44 -06:00
Néstor Soriano
6cc150e7be
Merge pull request #30194 from woocommerce/fix/29235
...
Fix/29235
2021-07-07 10:56:17 +02:00
Greg
25e9aeee37
Updating package-lock for API package
2021-07-06 17:44:17 -06:00
jonathansadowski
6e208c9336
Merge pull request #29901 from woocommerce/fix/29884
...
Allows set downloadable permissions to any downloadable product in any order
2021-07-06 15:10:09 -05:00
Greg
a8fbbde0bb
Merge branch 'trunk' of github.com:woocommerce/woocommerce into add/block-concurrent-test-runs
2021-07-06 13:23:24 -06:00
Claudio Sanches
11d7343367
Merge pull request #30191 from SaturnFromTitan/30185-use-of-deprecated-function-wp-passwordstrength-userinputblacklist
...
[#30185 ] Fix warning: Use of deprecated function wp.passwordStrength.userInputBlacklist
2021-07-06 15:57:01 -03:00
Greg
88c62ae708
Code review feedback
2021-07-06 11:19:09 -06:00
Greg
5c5f97cce1
Merge branch 'trunk' of github.com:woocommerce/woocommerce into add/block-concurrent-test-runs
2021-07-06 11:11:03 -06:00
roykho
5d0bcfa053
Revise logic to hook into admin_init to trigger adding note instead of scheduling
2021-07-06 09:21:42 -07:00
Ron Rennick
8454dd9380
update DB in wp beta initialization script ( #30189 )
2021-07-06 14:00:50 +02:00
Michael P. Pfeiffer
ce1c0dcd57
Update WooCommerce Blocks package to 5.5.0
2021-07-06 13:14:14 +02:00
Barry Hughes
bd28aa8708
Merge pull request #30206 from woocommerce/try/fix-npm-build
...
Remove e2e linting from main project linting.
2021-07-05 07:52:48 -07:00
Ron Rennick
715547b33e
remove e2e linting from main project linting
2021-07-02 13:03:25 -03:00
Vedanshu Jain
56e23e0d14
Merge pull request #30196 from woocommerce/update/woocommerce-admin/2.4.1
...
Bump woocommerce-admin version to 2.4.1
2021-07-02 20:49:32 +05:30
Barry Hughes
2cce7f3af8
Merge pull request #30199 from RhnSharma/revise-docblock-wc-format-decimal
...
Revise docblock for wc_format_decimal()
2021-07-02 07:50:56 -07:00
vedanshujain
32b4ac1a9a
Run via Composer V2.0
2021-07-02 15:49:15 +05:30
jonathansadowski
1c1f6fdc0f
Merge pull request #30179 from fitimvata/trunk
...
[Rest] Refunds add api_restock param to restock items
2021-07-01 09:50:37 -05:00
Rohan Sharma
5087e00f17
task: revise docblock for wc_format_decimal()
2021-07-01 17:41:33 +05:30
Nestor Soriano
70431ead2b
Small adjustments to the per-product lookup data regeneration metabox.
2021-07-01 12:50:30 +02:00
Nestor Soriano
2fe8cce9b0
Fix unit tests for the LookupDataStore class
2021-07-01 12:01:07 +02:00
Ilyas Foo
3a08b748d3
Bump woocommerce-admin version to 2.4.1
2021-07-01 16:15:05 +08:00
Nestor Soriano
d3131a67e6
Fix unit tests for the DataRegenerator class
2021-07-01 09:32:57 +02:00