Commit Graph

38460 Commits

Author SHA1 Message Date
DediData a6d2c0e0b4
Update pagination.php
fix for RTL directions
2020-12-09 13:18:17 +03:30
Nestor Soriano 8944792a69 Create additional download permissions on product save if needed
When a simple product with downloads gets converted into a variable
product all the existing download permissions for past orders become
invalid. This commit adds an extra verification procedure to the
product save code:

- Get all the existing download permissions for the product and all
  the children (variations)
- For each download permission for the parent product, if there's a
  variation that offers the same file for download (same file URL)
  AND an equivalent download permission doesn't exist (equivalent means
  same file URL, same order id and same user id), then create it.

Additionally, a new WC_Customer_Download_Data_Store::create_from_data
method is added.
2020-12-09 09:29:31 +01:00
Roy Ho 7f4ad80cbd
Merge pull request #28204 from jlavoie13/add/pass-email-object-to-template-parts
Pass email object to header and footer templates
2020-12-08 15:02:37 -08:00
zhongruige c07f31f22c
Merge branch 'master' into add/e2e-merchant-orders-filter-orders 2020-12-08 15:50:00 -07:00
zhongruige 1dfedf425c Code review feedback--setting the consts in the test itself 2020-12-08 15:09:23 -07:00
Roy Ho 593cd0ea5d
Merge pull request #27675 from woocommerce/fix/update-premium-support-link-href
Update href of premium support link
2020-12-08 13:46:44 -08:00
Roy Ho 8f37a6936f
Merge pull request #28014 from JoryHogeveen/feature/20-10-20-price-slider-init-trigger
Widget: Price Slider - trigger to re-initialize
2020-12-08 13:35:10 -08:00
Roy Ho 018dbc251d
Merge pull request #28386 from abhishek-pokhriyal/remove/bc-check-determine-locale
Remove function_exists check for determine_locale
2020-12-08 13:15:22 -08:00
Ron Rennick fc95c2bba1
Merge pull request #28464 from woocommerce/fix/28200
Add missing E2E package dependencies
2020-12-08 15:40:21 -04:00
jlavoie13 27f9f1304c phpcs fixes 2020-12-08 14:32:28 -05:00
jlavoie13 8821bf41c5 pass email object to header and footer templates 2020-12-08 14:32:28 -05:00
Christopher Allford 35e509402d
Merge pull request #28519 from woocommerce/add/released-4.8
Add 4.8.0 release content to master
2020-12-08 10:14:55 -08:00
Christopher Allford 03c612b473 Added 4.8.0 changelog and updated stable tag 2020-12-08 09:58:37 -08:00
Mike Jolley 6208fc3d27 Update WooCommerce Blocks package to 4.0.0 2020-12-08 15:18:54 +00:00
Claudio Sanches 1c65696535
Merge pull request #27850 from matt-h/webhook-schedule-when-processing
Make next webhook not return a date when the webhook is already running.
2020-12-07 19:20:02 -03:00
Claudio Sanches 09d98a6fe0
Merge pull request #28468 from woocommerce/fix/28417
Use single quotes inside MySQL query to avoid issues with ANSI_QUOTES
2020-12-07 19:08:38 -03:00
Ron Rennick a757ff2b53 update extension count to 3 2020-12-07 16:30:55 -04:00
Ron Rennick 80ded96120 merge master 2020-12-07 13:13:52 -04:00
Roy Ho aa89afcf95
Merge pull request #28332 from woocommerce/update/replace-jquery-click
Replace usages of depracted jQuery.fn.click() event shorthand
2020-12-07 06:03:56 -08:00
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