Commit Graph

37364 Commits

Author SHA1 Message Date
zhongruige ae1ebfd031 Code review feedback--moving statuses to config values 2020-12-05 20:30:42 -07:00
Rodrigo Primo 621d6a73f1
Merge pull request #28269 from ramonfincken/master
[TASK] documented introduction of wc_get_container function
2020-12-05 15:11:15 -03:00
Rodrigo Primo 23af5478ec Fix JS coding standards 2020-12-05 11:11:56 -03:00
Christopher Allford 508999fdc7
Merge pull request #28501 from woocommerce/fix/2021-payment-method-box-radio-styling
Twenty Twenty-One Compatibility: Fix radio buttons on checkout page for payment box.
2020-12-04 15:23:44 -08:00
Jonathan Sadowski 0e40a078db Use correct colors for radios on payment method box 2020-12-04 16:56:06 -06:00
Jonathan Sadowski 2cb314edfc 2021 compat: Fix checkout page payment box radio styling 2020-12-04 16:41:49 -06:00
roykho 4a2943d452
Defer nonce creation until displayed by WC Admin closes #27424 2020-12-04 13:17:24 -08:00
Roy Ho 231ab353dd
Merge pull request #28469 from tyrann0us/patch-1
Simplify `reload_checkout` expression
2020-12-04 12:41:18 -08:00
Ron Rennick a47cb707b3 fix merge conflict 2020-12-04 14:52:38 -04:00
Rodrigo Primo f854daea67 Remove deprecated PayPal Standard parameter
This commit removes the setting "Page style" from WooCommerce -> Settings -> Payments -> PayPal Standard. This setting was used to define the value of the parameter "page_style" passed to the PayPal Standard API, but PayPal deprecated this parameter and ignores it. According to PayPal in https://developer.paypal.com/docs/paypal-payments-standard/integration-guide/Appx-websitestandard-htmlvariables/?mark=page_style#deprecated-variables: "Deprecated variables are ignored when you pass them to PayPal". In the same link, you can see that "page_style" is included in the list of deprecated parameters.
2020-12-04 14:39:03 -03:00
Rodrigo Primo e928304c70
Merge pull request #28487 from woocommerce/try/e2e/composer-nodev
Use composer --no-dev in Travis for E2E
2020-12-04 14:31:39 -03:00
Ron Rennick 0403ee91e8
Merge pull request #28463 from woocommerce/fix/28347
Implement peer dependencies in E2E packages
2020-12-04 12:40:50 -04:00
Ron Rennick fb18ec258e use composer nodev in E2E test in Travis 2020-12-04 12:33:13 -04:00
Christopher Allford 97a5bf1347
Merge pull request #28494 from woocommerce/fix/2021-notices-and-cart-image
Twenty Twenty-One Compatibility: Fix issues with notice display and cart product images
2020-12-03 16:47:14 -08:00
Jonathan Sadowski c7a1a627d4 2021 compat: improve error notice display on checkout page 2020-12-03 18:29:28 -06:00
Jonathan Sadowski 70299e7f12 2021 compat: improve error notice display on cart page 2020-12-03 18:27:40 -06:00
Jonathan Sadowski 4c9ce8cd74 2021 Compat: Fix stretched product image on cart page 2020-12-03 18:23:14 -06:00
jonathansadowski 7e12cba4d1
Merge pull request #28407 from woocommerce/add/2021-compat-my-account-details
Add "My Account - Details" page compatibility for Twenty Twenty-One
2020-12-03 17:52:10 -06:00
Jonathan Sadowski 0582632cbd Update account details form to use CSS vars for border size and color 2020-12-03 17:50:23 -06:00
Christopher Allford 83387e684e
Merge pull request #28491 from woocommerce/update/woocommerce-admin/1.7.3
Update woocomerce-admin to 1.7.3
2020-12-03 15:49:54 -08:00
Christopher Allford 1424bc5a5c
Merge pull request #28443 from woocommerce/add/2021-compat-my-account-add-payment-method
Add "My Account - Payment Methods" page compatibility for Twenty Twenty-One
2020-12-03 15:41:22 -08:00
Christopher Allford 7e4c2a9f91
Merge branch 'master' into add/2021-compat-my-account-add-payment-method 2020-12-03 15:23:48 -08:00
Christopher Allford e692171b81
Merge pull request #28420 from woocommerce/add/2021-compat-downloads-page
Add "My Account - Downloads" page compatibility for Twenty Twenty-One
2020-12-03 15:23:06 -08:00
Christopher Allford ddd0750bed
Merge branch 'master' into add/2021-compat-downloads-page 2020-12-03 15:20:23 -08:00
Christopher Allford e39f6e12d7
Merge pull request #28406 from woocommerce/add/2021-compat-my-account-orders-page
Add "My Account - Orders" page compatibility for Twenty Twenty-One
2020-12-03 15:13:11 -08:00
Christopher Allford bc9143166e
Merge pull request #28492 from woocommerce/add/2021-single-product-page-mobile-compat
2021 Theme Compat: Update the single product page and the sales badge for mobile.
2020-12-03 14:51:21 -08:00
jonathansadowski 707ceb4e3d
Merge branch 'master' into add/2021-compat-my-account-details 2020-12-03 16:31:39 -06:00
jonathansadowski 2376120941
Merge pull request #28433 from woocommerce/add/2021-compat-my-account-addresses-page
Add "My Account - Edit Address" page compatibility for Twenty Twenty-One
2020-12-03 16:24:10 -06:00
jonathansadowski d2a4e056cd
Merge pull request #28340 from woocommerce/add/2021-compat-shop-page
Add shop page compatibility for Twenty Twenty-One
2020-12-03 16:15:32 -06:00
Jonathan Sadowski 5a1994284b Adjust gallery trigger to not overlap with sale badge; keep sale badge always on right 2020-12-03 15:30:08 -06:00
Timmy Crawford 098d654dd4 Update woocomerce-admin to 1.7.3 2020-12-03 13:26:44 -08:00
Christopher Allford 0d04b0180e
Merge pull request #28465 from woocommerce/fix/27711
Correct Puerto Rico address validation
2020-12-03 12:20:43 -08:00
Christopher Allford 57e0de341e
Merge branch 'master' into fix/27711 2020-12-03 12:11:29 -08:00
Jonathan Sadowski 687f9b67d7 2021 compat: Update table on downloads page to support dark mode 2020-12-03 14:04:44 -06:00
Christopher Allford 6780e3e07d Added appropriate postcode formatting for Puerto Rico 2020-12-03 11:57:30 -08:00
Jonathan Sadowski 9d0da2a16c 2021 compat: Fix payment methods table background mobile styling 2020-12-03 13:56:46 -06:00
Jonathan Sadowski 4393319c61 2021 compat: Update payment methods table background on account page to support dark mode 2020-12-03 13:52:30 -06:00
Jonathan Sadowski 5db955459b Update 2021 compat for my-account orders so that divisors use body color 2020-12-03 13:12:37 -06:00
Ron Rennick 5a81d8de41 disable setting variation fields in variable product test 2020-12-03 15:09:55 -04:00
Rodrigo Primo 39b0d83b4d
Merge pull request #28358 from szepeviktor/patch-1
Fix types in WC_Payment_Gateway
2020-12-03 15:51:50 -03:00
Ron Rennick 2718c85f78 Merge branch 'master' into fix/25643 2020-12-03 14:47:52 -04:00
Jonathan Sadowski 58bdca2b5c Merge branch 'master' into add/2021-compat-my-account-orders-page 2020-12-03 12:40:46 -06:00
Ron Rennick 53fd108b1b implement peer dependencies in e2e packages 2020-12-03 11:55:02 -04:00
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