Commit Graph

39532 Commits

Author SHA1 Message Date
Vedanshu Jain 50c8b7d1eb
Merge pull request #30335 from woocommerce/fix/30298
Remove unnecessary search related 'where' in handling of 'posts_clauses'
2021-07-22 16:11:20 +05:30
Nestor Soriano 70dc65ae48
Remove unnecessary search 'where' in handling of 'posts_clauses'
PR 29896 added extra handling in response to the 'post_clauses' hook
in order to use the new product attributes lookup table. However it
also added a new 'where' clause based on the value returned by
'get_main_search_query_sql', which turns out is not needed and
causes problems with some themes.
This commit removes that extra 'where'.
2021-07-22 11:26:10 +02:00
Néstor Soriano 4c709a1775
Merge pull request #30294 from woocommerce/fix/30288-2
Download handler: support falling back on the redirect method (as an option, not a default)
2021-07-22 09:39:32 +02:00
Menaka S aa375b55a8 Add the setting checkout_login_reminder to be tracked 2021-07-22 13:03:12 +05:30
barryhughes fbda9cb58e Update with latest changes from trunk. 2021-07-21 14:54:53 -07:00
Claudio Sanches 5b96f3db8a
Merge pull request #30313 from woocommerce/update/woocommerce-admin/2.5.0-beta.2
Bump woocommerce-admin version to 2.5.0-beta.2
2021-07-21 17:33:03 -03:00
Greg 88686602ed Add longer timeout on selector 2021-07-21 13:26:33 -06:00
Joel Thiessen 9801cd80c6 Patcing tests relevant to new payment gateway API 2021-07-21 12:06:41 -07:00
Greg e0c5bdadc2 Added wait for selector in search 2021-07-21 12:45:16 -06:00
Greg a661bc4bbb Merge branch 'trunk' of github.com:woocommerce/woocommerce into add/plugin-upload-flow 2021-07-21 11:31:30 -06:00
Greg d062a76a2c Code review feedback 2021-07-21 10:22:50 -06:00
barryhughes b97d2ed50e Update setting text per feedback. 2021-07-21 07:45:28 -07:00
Fernando Marichal c5cf917850 Bump woocommerce-admin version to 2.5.0-beta.2 2021-07-21 10:01:06 -03:00
Claudio Sanches 683cc40cbf
Merge pull request #30097 from woocommerce/add/shipping-phone
Add support for Shipping Phone Number in Order and Customer classes
2021-07-20 21:00:45 -03:00
Claudio Sanches 442f357c29 Bump templates for 5.6 release 2021-07-20 20:58:47 -03:00
Claudio Sanches 5e4f3b40e3 Include since tag to new methods 2021-07-20 20:55:39 -03:00
barryhughes 583130531c Fix E2E tests. 2021-07-20 16:52:42 -07:00
Greg f31693aaec Add in env flag 2021-07-20 15:26:51 -06:00
Greg 17eb1ddd22 Merge branch 'trunk' of github.com:woocommerce/woocommerce into add/plugin-upload-flow 2021-07-20 13:57:04 -06:00
barryhughes c5c21fe5ee Revise "Redirect only" deprecation message. 2021-07-20 11:18:22 -07:00
barryhughes 46f9644eae Update test for product download settings. 2021-07-20 11:18:22 -07:00
barryhughes d81eee6b5a Download handler: support falling back on the redirect method as an option. 2021-07-20 11:18:22 -07:00
barryhughes dc3589f0e3 Revert f88586e but add supporting logging. 2021-07-20 11:18:22 -07:00
Roy Ho 1947c80c21
Merge pull request #30305 from shyam-mishra/fix/30198
fixed by putting strip all tag
2021-07-20 15:54:09 +01:00
Roy Ho ad6b6bd0ff
Merge pull request #30186 from SaturnFromTitan/fix-typo-bug-issue-template
fixed a typo in the bug issue template of github
2021-07-20 15:10:20 +01:00
jonathansadowski dc3b3dc662
Merge pull request #30301 from woocommerce/fix/30290
Use WC Version for loading scripts instead of hardcoding them closes …
2021-07-20 09:09:51 -05:00
roykho d9a329e0cc
Update to use our own custom versioning 2021-07-20 05:59:35 -07:00
jonathansadowski 15146e0916
Merge pull request #30303 from woocommerce/update/sqli-readme
Update readme and changelog for 5.5.1 and related versions
2021-07-19 14:59:16 -05:00
Roy Ho 0a857088f9
Merge pull request #30287 from woocommerce/fix/29723
Fix: "search product" block not displaying textbox in shop page
2021-07-19 16:17:49 +01:00
Greg 3267a7253c Merge branch 'trunk' of github.com:woocommerce/woocommerce into add/plugin-upload-flow 2021-07-19 09:06:52 -06:00
Nestor Soriano bc7f9edb11
Fix product search block not actually working. 2021-07-19 16:51:13 +02:00
Nestor Soriano 88e8ea5dc2
Replace the 'wp_kses_allowed_html' hooking with a call to
'wp_kses_allowed_html' and a call to 'wp_kses'.
2021-07-19 15:10:33 +02:00
shyam-mishra 90fccabafa fixed by putting strip all tag 2021-07-18 17:29:33 +05:30
Jonathan Sadowski 7343df389a Update readme and changelog for 5.5.1 and related versions 2021-07-16 16:36:08 -05:00
Christopher Allford a35e91f5ee
Merge pull request #30302 from woocommerce/fix/sqli-webhook-data-store
Apply patch to class-wc-webhook-data-store.php to fix sqli issue
2021-07-16 13:36:36 -07:00
Jonathan Sadowski 91c55b54c0 Update prepared query to use single-quote instead of double-quotes 2021-07-16 15:00:02 -05:00
Jonathan Sadowski db44d15e3f Apply patch to class-wc-webhook-data-store.php to fix sqli issue 2021-07-16 14:59:02 -05:00
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
Taha Paksu b3db64116d Add latest fixes from WCPay fallback copy 2021-07-14 00:52:53 +03:00