Commit Graph

38450 Commits

Author SHA1 Message Date
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
rodel 2e667ae317 wip: setup products via API instead of UI 2021-03-22 07:41:41 -07: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
rodel 8614134887 wip: added variable and grouped products 2021-03-22 04:37:17 -07:00
rodel ec994501ab WIP: Add complex order test 2021-03-22 03:50:14 -07:00
rodel a17a629f3f re-enabled merchant tests 2021-03-21 06:09:12 -07:00
rodel 2c3bec8429 Tests for "Add shipping classes" 2021-03-21 06:07:50 -07:00
rodel f19f39aabb wip: first test in add shipping classes 2021-03-21 05:17:37 -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
Veljko d578914a9d Remove after all scenario 2021-03-19 17:29:48 +01: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
Veljko dc23f3a522 Remove removing products from before all 2021-03-19 13:50:23 +01:00
Veljko 783e232227 Add removing products before all 2021-03-19 13:04:00 +01: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
Veljko fe51a15dcb Add after all scenario 2021-03-19 11:58:20 +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
Veljko cc5b57da94 Fix test and correct scenario 2021-03-18 23:48:36 +01:00
Veljko 1e9a4dd6ba Improve test scenario 2021-03-18 21:35:07 +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
Veljko f39d7531f8 Fix spaces in the code 2021-03-18 18:02:42 +01:00
Veljko V 24747c1713
Merge branch 'trunk' into e2e/e2e-merchant-import-products 2021-03-18 17:27:50 +01:00
Veljko 9c32f421b7 Add new scenario and update changelogs 2021-03-18 17:23:44 +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
Mauricio Urrego 26c7e238f6 Avoids redirect caused by some custom permalink structures. 2021-03-18 14:51:09 +01:00
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
Veljko 4f98833094 Add first test import products 2021-03-18 13:42:59 +01:00
Veljko f73fdfa4f6 First part of the test 2021-03-18 12:11:38 +01:00
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 3a629efc4b Check if order exists while check if COD is available 2021-03-17 13:20:46 -03: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