Commit Graph

38142 Commits

Author SHA1 Message Date
roykho ad77c37b41
Typo on the variable 2021-03-24 10:07:35 -07:00
roykho 9118349520
Remove duplicate notices from cart during ajax updates closes #28914 2021-03-24 09:59:20 -07:00
Nestor Soriano 2b8cac7cf2 Fix the REST API entry point to add coupons to an order.
- Check input (no 'id', has 'code') and throw an error if needed
  before removing the existing coupons, so an invalid input
  won't cause the loss of these existing coupons.
- Also, check that the coupon is actually valid as part of the
  input check.
- Cache the coupon objects that are created during the input check,
  and apply them directly.
- Don't check if 'coupon_lines' is an array and contains arrays,
  that's already done by the REST API engine by looking at the schema.
- Adjust unit tests.
2021-03-24 15:19:34 +01:00
Roy Ho 40506dfcc5
Merge pull request #29469 from zZeepo/fix/closing-option-tag
Correctly close <option>-tag in admin products/orders list table
2021-03-23 19:00:37 -07:00
Timo Boyer 3e5d7418d9 Remove double space before concat operator 2021-03-23 23:29:30 +01:00
Timo Boyer f31bc26b61 Correctly close <option>-tag in admin products/orders list table 2021-03-23 21:23:46 +01:00
Roy Ho 7fb346c5d1
Merge pull request #29447 from luizbills/patch-1
Add missing sectionend in email settings
2021-03-23 09:48:11 -07:00
jonathansadowski 2e60d47a01
Merge pull request #29181 from woocommerce/fix/27233
Use AJAX for Page Configuration
2021-03-23 11:46:00 -05:00
Luiz "Bills 3e48ca7c35
fix coding standard 2021-03-23 13:25:20 -03:00
Néstor Soriano df78a5cba6
Merge pull request #27751 from mahmoudsaeed/fix-rest-tax
Fix taxes endpoint not returning multiple postcodes/cities
2021-03-23 17:04:09 +01:00
Roy Ho 2f2c07ead6
Merge pull request #29452 from Kudratullah/trunk
Fixed return type of $type in docblock
2021-03-23 08:30:56 -07:00
Luiz "Bills df4b584a82
delele empty space 2021-03-23 12:06:10 -03:00
Néstor Soriano 886cd15016
Merge pull request #29378 from woocommerce/fix/code-sniff
Remove Travis and fix CI in GitHub Actions
2021-03-23 15:22:49 +01:00
Roy Ho 2086303ddb
Delete .eslintcache 2021-03-22 14:22:35 -07:00
roykho c79fd6b7bf
Add excludes feature to exclude certain pages 2021-03-22 13:36:55 -07:00
roykho e5380ac966
Add new function to handle single page search closes #27233 2021-03-22 13:20:16 -07:00
Néstor Soriano 04962799a8
Merge pull request #29459 from woocommerce/fix/29387
Revert replacing wp_redirect with wp_safe_redirect in WC_Checkout::process_order_payment
2021-03-22 16:40:38 +01:00
Nestor Soriano 0cdb1f74c1 Revert replacing wp_redirect with wp_safe_redirect
Following a code snippet suggestion the wp_redirect in
WC_Checkout::process_order_payment was replaced with wp_safe_redirect,
but this had unitended side effects. From issue #29387:

You've changed wp_redirect to wp_safe_redirect in
WC_Checkout::process_order_payment. If a 3rd-party-plugin executes a
"non-AJAX-processing-order", wp_safe_redirect will be executed.
But your default PayPal interface will redirect to an URL that is
not allowed in wp_validate_redirect because your default PayPal Gateway
does not add the required PayPal URLs with the hook
"allowed_redirect_hosts". As a result, it could happen that a customer
is not redirected to PayPal but to wp-admin
(https://developer.wordpress.org/reference/functions/wp_safe_redirect/).
2021-03-22 16:11:11 +01:00
Vedanshu Jain 46d032d561
Merge pull request #29438 from woocommerce/fix/issue-29430
Update SSR db version tooltip to accurately describe the versioning c…
2021-03-22 18:34:23 +05:30
roykho 96463b7172
Update verbiage based on feedback 2021-03-22 05:42:34 -07:00
Kudratullah 8567b8611f
Fixed return type of $type in docblock 2021-03-21 09:08:36 +06:00
Luiz "Bills f4565abccb
Add missing sectionend in email settings 2021-03-20 14:51:27 -03:00
Ron Rennick 99b45ff583 update changelogs, bump package versions 2021-03-19 13:13:14 -03:00
roykho 01f949cc32
Update SSR db version tooltip to accurately describe the versioning closes #29430 2021-03-19 06:27:17 -07:00
Roy Ho a46e889e37
Merge pull request #29396 from Spreeuw/issue-29395
check return type on log file fopen
2021-03-19 05:57:55 -07:00
Néstor Soriano 1dfece1d9f
Merge pull request #29432 from woocommerce/preparation/5.2-beta
Release preparation: 5.2 beta
2021-03-19 12:08:19 +01:00
Nestor Soriano d8b33e4c4b Update version in package.json to 5.3 2021-03-19 11:56:29 +01:00
Nestor Soriano 319d3bfe83 Add changelog for 5.2 beta 2021-03-19 11:23:20 +01:00
Nestor Soriano a1a1438c0e Update minimum required version of WordPress to 5.5 2021-03-19 11:08:37 +01:00
Nestor Soriano a5e4bad042 Update the WooCommerce version in (class-)woocommerce.php to 5.3 2021-03-19 11:08:37 +01:00
Barry Hughes 87a17aed5e
Merge pull request #29425 from woocommerce/fix/issue-29343
Fix sale tag misaligned on product archive when columns are less than | #29425
2021-03-18 11:57:59 -07:00
Ewout Fernhout b0b2803989 removed excess indentation 2021-03-18 18:19:40 +01:00
roykho 657bef2eb0
Fix sale tag misaligned on product archive when columns are less than 3 closes #29343 2021-03-18 09:01:19 -07:00
Vedanshu Jain a6e4b3a1c9
Merge pull request #29406 from woocommerce/update/woocommerce-blocks-4.7.0
Update WooCommerce Blocks package to 4.7.0
2021-03-18 20:09:46 +05:30
vedanshujain f7f4845596 Merge branch 'trunk' into update/woocommerce-blocks-4.7.0 2021-03-18 19:46:19 +05:30
Vedanshu Jain cd58dd36fd
Merge pull request #29283 from woocommerce/dev/bump-woocommerce-admin-2-1-1
Bump woocommerce-admin package to 2.1.3
2021-03-18 19:09:25 +05:30
Adrian Duffell 5e988399dc Merge branch 'trunk' of github.com:woocommerce/woocommerce into dev/bump-woocommerce-admin-2-1-1 2021-03-18 06:34:42 +08:00
Roy Ho e62f20b9b3
Merge pull request #29049 from wppunk/master
Fix #29048
2021-03-17 13:46:19 -07:00
Ron Rennick e25ee7f36c fix merge conflicts 2021-03-17 16:40:49 -03:00
Greg fed4e14459
Merge pull request #29413 from woocommerce/fix/e2e-shipping-test
Attempt to fix flakiness in shipping test
2021-03-17 13:17:07 -06:00
Ron Rennick ddb940e993 Attempt to fix flakiness in shipping test
- Work around Delete and Edit action links not being visible
- delete all shipping zones at beginning of test
- use uiUnBlock instead of page wait
- ensure clicking method edit OK button
2021-03-17 14:48:06 -03:00
Roy Ho f89b21488e
Merge pull request #29391 from woocommerce/fix/28516
Handles errors in fault installations of PHP Intl
2021-03-17 09:43:06 -07:00
Claudio Sanches fc991ac418 Remove translation function 2021-03-17 12:50:52 -03:00
Greg b6f3c2b0be
Merge pull request #29383 from woocommerce/e2e/e2e-fix-flaky-checkout-coupons
Fixed flaky e2e test checkout coupons
2021-03-17 08:49:14 -06:00
Greg d74e998e92
Merge pull request #29173 from woocommerce/e2e/e2e-merchant-search-orders
Add new e2e test merchant order searching
2021-03-17 08:32:35 -06:00
Seghir Nadir 789c6bcca9
update woo-blocks to 4.7.0 2021-03-17 12:10:01 +01:00
Néstor Soriano 76ff6fbce3
Merge pull request #29403 from woocommerce/fix/version-documentation
Correct version in the docblock.
2021-03-17 10:48:42 +01:00
Peter Fabian b3108a03e9
Merge pull request #29393 from woocommerce/fix/fork-nightly-builds
Stop nightly builds in forks.
2021-03-17 10:34:46 +01:00
Peter Fabian aa9b6ab691 Change got merged sooner than expected. 2021-03-17 10:13:28 +01:00
Adrian Duffell 20c3a1c680 Bump woocommerce-admin package to 2.1.3 2021-03-17 16:43:12 +08:00