Commit Graph

37056 Commits

Author SHA1 Message Date
Jonathan Sadowski f095ca5b3d Update 2021 orders page table backgrounds to work with dark mode 2020-12-02 17:28:11 -06:00
Rodrigo Primo 076d0b7373
Merge pull request #28415 from zzap/patch-3
Make City and Postcode mandatory fields for Serbia
2020-12-02 11:42:24 -03:00
Néstor Soriano af3077bca9
Merge pull request #28467 from woocommerce/fix/28428
Update `lostpassword_post` action and add missing parameter
2020-12-02 15:31:21 +01:00
Néstor Soriano 43f735d0f8
Merge pull request #27558 from PlexusLLC/add_before_set_stock_action 2020-12-02 15:21:05 +01:00
Philipp Bammes c84f4600e3
Simplify `reload_checkout` expression 2020-12-02 15:01:07 +01:00
Rodrigo Primo de6d55eef9 Use single quotes inside MySQL query to avoid issues with ANSI_QUOTES
This commit replaces double quotes with single quotes inside a MySQL query to avoid a syntax error when the SQL mode ANSI_QUOTES is enabled in MySQL. When this mode is enabled, MySQL treats double quotes as identifiers (like the backtick character) instead of as string delimiters. Before this change, sites running with this mode enabled wouldn't be able to add products to orders created manually in the admin as the modified query would fail (other places that also use product search including variations would fail as well). The commit that introduced this issue shipped in WC 4.5.0 (see https://github.com/woocommerce/woocommerce/pull/27171).
2020-12-02 10:37:46 -03:00
Rodrigo Primo ba538147c1 Update `lostpassword_post` action and add missing parameter
`lostpassword_post` is a WP action that is duplicated in WooCommerce to replicate the functionality to retrieve user password in the 'My Account' pages. WP recently added the variable `$user_data` as a second parameter to this action (a6cecef42f). This commit simply copies this change to the version of the action that we maintain. Similar to what was done in 1a99235dc8 when a first parameter as added to the action in WP and we had to do the same in WC core.
2020-12-02 09:52:58 -03:00
pjv b4fdf17215
Update includes/data-stores/class-wc-product-data-store-cpt.php
Co-authored-by: Néstor Soriano <konamiman@konamiman.com>
2020-12-02 06:49:56 -06:00
Néstor Soriano f1c4c4632f
Merge pull request #28458 from woocommerce/fix/28434
Add 'Ladakh' to the list of Indian states
2020-12-02 12:13:20 +01:00
Nestor Soriano 7a34fbcbde Merge branch 'master' into add/2021-compat-shop-page 2020-12-02 11:57:38 +01:00
Nestor Soriano ddf46a5186 Don't invert prev/next colors for 2021 theme 2020-12-02 08:59:35 +01:00
Christopher Allford d59b47903f Fixed Puerto Rico address localization
* Renamed "City" to "Municipality"
* Made "State" not required and hidden
* Added ZIP code validation
2020-12-01 16:24:58 -08:00
Ron Rennick 60556ea288 update package changelogs 2020-12-01 19:19:10 -04:00
Ron Rennick a21f9e24a4 add config to package.json in utils, core tests 2020-12-01 18:03:50 -04:00
Roy Ho acd78d43f6
Merge pull request #27451 from haydenw/fix-27339
Fix #27339
2020-12-01 13:28:54 -08:00
Rodrigo Primo 23f4e0b0ac Fix PHPCS violation 2020-12-01 16:10:35 -03:00
Roy Ho f698fbdeee
Merge pull request #28403 from bordoni/issue/28291
Prevent non-numeric values from throwing a Warning on PHP 7.4+
2020-12-01 10:43:13 -08:00
Rodrigo Primo 1c419ce1f7 Add 'Ladakh' to the list of Indian states
'Ladakh' is a new Indian state that is listed in CLDR (https://github.com/unicode-org/cldr/blob/release-37/common/subdivisions/en.xml#L2257), but it was missing in WooCommerce. This commit simply adds it to `i18n/states.php`.
2020-12-01 15:33:41 -03:00
Gustavo Bordoni d6d68ed9cd
Remove white space. 2020-12-01 13:16:53 -05:00
Roy Ho 57b1f2e3c5
Merge pull request #28448 from woocommerce/renovate/config-3.x
Update dependency config to v3.3.3
2020-12-01 09:00:41 -08:00
Roy Ho 53d4eb6d46
Merge pull request #28449 from woocommerce/renovate/deasync-0.x
Update dependency deasync to v0.1.21
2020-12-01 08:59:44 -08:00
Jonathan Sadowski bc9e7e78f8 Adjust sale badge size between 668 and 768px viewports 2020-12-01 10:47:03 -06:00
Jonathan Sadowski ffc7502583 Remove font exception for sale badge on smaller viewports 2020-12-01 10:42:53 -06:00
Roy Ho 3e2d57f832
Merge pull request #28450 from woocommerce/renovate/grunt-stylelint-0.x
Update dependency grunt-stylelint to v0.16.0
2020-12-01 06:52:34 -08:00
Renovate Bot 5eaafaeea7
Update dependency grunt-stylelint to v0.16.0 2020-12-01 14:26:13 +00:00
Renovate Bot b95e88fd36
Update dependency deasync to v0.1.21 2020-12-01 14:21:43 +00:00
Renovate Bot 7ffa622b30
Update dependency config to v3.3.3 2020-12-01 14:17:11 +00:00
Roy Ho 931b8e4c9c
Merge pull request #28447 from woocommerce/renovate/babel-monorepo
Update babel monorepo
2020-12-01 05:59:35 -08:00
Renovate Bot b162a1dd8d
Update babel monorepo 2020-12-01 00:59:25 +00:00
Jonathan Sadowski ce2444e9e3 Improve tabs on smaller viewports 2020-11-30 12:56:39 -06:00
Jonathan Sadowski 42f8fa2fe8 Apply sale badge change to correct viewport size 2020-11-30 12:17:21 -06:00
Jonathan Sadowski bc2f7d08d2 Move sale badge to left on smaller viewports to fix gallery conflict 2020-11-30 12:12:06 -06:00
Roy Ho 78e8fb00d2
Merge pull request #28440 from mathiasdb/patch-1
Update wc-formatting-functions.php
2020-11-30 07:37:44 -08:00
Roy Ho 89efae43a1
Merge pull request #28416 from woocommerce/fix/issue-27154
Fix/issue 27154
2020-11-30 06:14:15 -08:00
Nestor Soriano 526dd62b9c Add 2021 theme compatibility for the "My Account - Payment methods" page:
- Remove table borders
- Make buttons have transparent background, dark on hover
- Make buttons pile vertically, not horizontally
- Adjust margins
2020-11-30 09:50:23 +01:00
zhongruige a37fbff4f5 Merge branch 'master' of https://github.com/woocommerce/woocommerce into add/e2e-merchant-orders-filter-orders 2020-11-27 15:18:12 -07:00
zhongruige 7e286e30f2 Added order filter tests; created helper functions for the tests; updated READMEs and CHANGELOG to reflect changes 2020-11-27 14:49:20 -07:00
Tam Mullen 0877fd5233
Merge pull request #28041 from woocommerce/packages/e2e/custom-initialization
add support for custom container initialization script
2020-11-27 20:13:02 +00:00
Roy Ho d795ecb6b9
Merge pull request #28351 from OlegApanovich/fix/27923
Fix toggle chevron issue in admin edit product data attribute section
2020-11-27 05:42:34 -08:00
Nestor Soriano 40a3514733 Add 2021 theme compatibility for the "My Account - Add payment method" page:
- Make payment method name and images properly aligned with
  the radio button
- Adjust font sizes and margins
2020-11-27 13:11:28 +01:00
Nestor Soriano 4a05c30f7f Add 2021 theme compatibility for the "My Account - edit addresse" page:
- Adjust size and margins of labels and textboxes
- Adjust size and margins of dropdown selectors
2020-11-27 11:17:04 +01:00
OlegApanovich 26dae12279 Fix toggle chevron issue in admin edit product data attribute section #27923
After chevron clicking on attribute section complete edit product data section toggled insted cliackig area.
Key point issue is missing 'postbox' class of wordpress postbox.js library for a attribute block that we try to toggle.
2020-11-27 11:50:44 +02:00
Nestor Soriano 74c93103ff Add 2021 theme compatibility for the "My Account - Addresses" page:
- Reduce the size of the address title font
- Reduce spacing between address lines
- Move "Edit" link to the right of the address title
- Adjust space between addresses
2020-11-26 16:45:20 +01:00
Néstor Soriano f647ffc492
Merge pull request #28414 from woocommerce/fix/issue-28267
Switch to general panel when virtual is enabled and on shipping tab c…
2020-11-26 15:40:34 +01:00
Nestor Soriano 2114e05704 Add 2021 theme compatibility for the "My Account - Downloads" page:
- Make downloads table background on even rows slightly darker
- Remove table and row borders
- Make downloads table rows thinner
- Make buttons have transparent background (dark on hover)
- Make buttons have all the same size
- Center the contents of the "Downloads remaining" column
2020-11-26 11:33:57 +01:00
Milana Cap 5fae30bea0
Make City and Postcode mandatory fields for Serbia
As these fields were mandatory for Serbia from the beginning, making them optional by default is causing shop owners additional effort to set them back to mandatory. This PR is making them mandatory by default.

Fixes #28366
2020-11-25 22:36:44 +01:00
roykho 3981377809
Strip the tags from product description on all other select2 fields that performs searches 2020-11-25 13:32:50 -08:00
roykho 9f12b34237
Fix unwanted html tags showing when searching products in select2 closes #27154 2020-11-25 13:15:56 -08:00
roykho beebbb8e25
Switch to general panel when virtual is enabled and on shipping tab closes #28267 2020-11-25 10:12:24 -08:00
Rodrigo Primo 97c0a62f7e
Merge pull request #28392 from woocommerce/renovate/automattic-jetpack-constants-1.x
Update dependency automattic/jetpack-constants to v1.5.1
2020-11-25 08:42:12 -03:00