Commit Graph

37559 Commits

Author SHA1 Message Date
Ron Rennick 0eafe83be6 Merge branch 'master' into e2e-shopper-cart-apply-coupon 2021-01-25 12:24:19 -04:00
Scott Kingsley Clark ceb3a0d753
Fix fatal error problems by no longer adding false to the list of orders
By adding this prevention, it also stops fatal errors (calling method on non-object) from happening down the line when working with the orders list that is always assumed to be a proper order object.

Example error this prevents:

```
Fatal error: Uncaught Error: Call to a member function get_items() on bool in /wp-content/plugins/woocommerce/includes/class-wc-order.php on line 1902
```
2021-01-25 10:11:14 -06:00
Claudio Sanches ca4cc1d6f1
Merge pull request #28918 from woocommerce/fix/prep-492-release
Update changelogs for 4.9.2.
2021-01-25 11:16:02 -03:00
jahir07 fe38d20f51 Added instead of ->get_image_id() 2021-01-25 17:42:27 +06:00
Peter Fabian eec4c73701 Update changelogs for 4.9.2. 2021-01-25 12:19:55 +01:00
Mehrshad Darzi e67003b568
change attibutes to attributes 2021-01-23 15:39:01 +03:30
Roy Ho 0f4ccb836e
Merge pull request #28903 from woocommerce/fix/28888-2
Pass original price in filters to improve compatibility
2021-01-22 11:05:40 -08:00
Claudio Sanches 5d70d1919d Remove duplicated float 2021-01-22 15:43:21 -03:00
Claudio Sanches 1412d2ac96 Pass original price in filters to improve compatibility 2021-01-22 14:57:43 -03:00
Roy Ho 93c6ba02b9
Merge pull request #28900 from woocommerce/fix/28888
Fixed "Unsupported operand types" error when using empty strings
2021-01-22 08:15:47 -08:00
Albert Juhé Lluveras d896ed13e8 Remove unnecessary dots 2021-01-22 17:13:49 +01:00
Albert Juhé Lluveras 23db1a0e1f Fix typos in comments 2021-01-22 17:13:49 +01:00
Claudio Sanches 11ae40f66c Fixed "Unsupported operand types" error when using empty strings
Prevents wc_price() to throw PHP 8 warnings in case of an empty string
2021-01-22 12:58:45 -03:00
Claudio Sanches a07eea80c9
Merge pull request #28500 from woocommerce/fix/issue-27424
Defer nonce creation until displayed by WC Admin closes #27424
2021-01-22 11:16:05 -03:00
Ron Rennick 49be111d87
remove travis_retry from e2e test script (#28841) 2021-01-22 15:02:34 +01:00
Claudio Sanches 314794bd2d
Merge pull request #28896 from woocommerce/update/wc-admin-1.9.0-rc.3
update wc-admin to 1.9.0-rc.3
2021-01-22 10:58:19 -03:00
Ron Rennick 09dedb5520
bump version in E2E packages (#28823)
* bump version in core-tests, utils

* bump api package version, update changelog

* bump e2e-environment to 0.2.0
2021-01-22 14:22:33 +01:00
Leif Singer 7154b61283 move verifyOrder into merchant 2021-01-22 12:44:18 +01:00
Paul Sealock f7cc34779a update wc-admin to 1.9.0-rc.3 2021-01-22 23:44:27 +13:00
Leif Singer 1bafa98a66 move registered customer checkout test to general checkout tests 2021-01-22 11:16:54 +01:00
Leif Singer 197a126aab E2E: add registered shopper checkout test 2021-01-22 11:16:53 +01:00
Nestor Soriano ef9a11976c WC_Countries::country_exists no longer throws an exception. 2021-01-22 10:57:25 +01:00
Menaka S 3a53c31aea Do not return default values for first/last order times 2021-01-22 10:31:22 +05:30
Claudio Sanches 615bcfdbc2 Fixed repository URL 2021-01-22 00:18:07 -03:00
Claudio Sanches bac26b82b9 Fixed params 2021-01-21 23:54:00 -03:00
Claudio Sanches 56ee106f34 Add new message 2021-01-21 23:49:33 -03:00
Claudio Sanches 64f9b8e4b5 Introduced "add comment" step to pr-build workflow 2021-01-21 22:51:15 -03:00
Claudio Sanches 2123b6369e
Merge pull request #28878 from woocommerce/enhancement/28716
Create workflow for uploading zip file to every asset
2021-01-21 22:37:35 -03:00
roykho e86dc6a9ee
Remove html_entity_decode 2021-01-21 12:17:22 -08:00
roykho d550cce434
Addressed feedback by adding whitelisted nonce actions 2021-01-21 12:08:20 -08:00
Claudio Sanches db3a78d7c7
Merge pull request #28877 from woocommerce/fix/changelog
Add changes from 4.9 RC2 and 4.9.1 to changelog.
2021-01-21 17:05:10 -03:00
Kathy Daring 34bd50bce3 replace removeAttr with prop() 2021-01-21 10:22:30 -07:00
roykho 0bdf9a6341
Add in optional semicolon closes #28805 2021-01-21 06:27:44 -08:00
vedanshujain cf6cf3a35e Split builds into different files. 2021-01-21 17:35:12 +05:30
Vedanshu Jain 06c8fb0c45 Adds a workflow to be triggered when a PR is creted/updated:
1. Build a zip file for that PR.
2. Migrate all unit tests from Travis to Github Actions.
2021-01-21 17:30:12 +05:30
vedanshujain 1b1b87b918 Add changes from 4.9 RC2 and 4.9.1 to changelog. 2021-01-21 12:35:37 +05:30
jonathansadowski 1f430fc980
Merge pull request #28827 from jffng/add/twentytwentyone-style-tweaks
Adjust spacing and font sizes for Twenty Twenty-One
2021-01-20 13:52:51 -06:00
roykho 21f872e766
Fix merge conflict 2021-01-20 07:10:47 -08:00
roykho 52a2ce0300
Move nonce prepartion into core utilizing filter hook from WC Admin 2021-01-20 07:06:23 -08:00
Claudio Sanches eb62ed1c9f
Merge pull request #28858 from woocommerce/fix/27791
Introduce new filter to avoid changing a method signature in WC_Email_New_Order
2021-01-19 18:28:50 -03:00
Claudio Sanches eca9ae7e4c Updated docblock 2021-01-19 18:07:52 -03:00
Claudio Sanches de81f2d686 Remove filter after email is sent 2021-01-19 17:57:48 -03:00
Claudio Sanches aea6e02a2a Fixed method with signature changed and introduced new filter instead 2021-01-19 17:51:31 -03:00
Veljko 521f5d9610 Add new e2e test shopper grouped product 2021-01-19 18:20:04 +01:00
Ron Rennick 10880ae6e1
add admin user E2E config support (#28656)
* add admin user config support

* use merchant.login() is jest setup

* remove customer config from builtin readme

* fix missed merge change

Co-authored-by: Leif Singer <git@singer.sh>
2021-01-19 16:02:08 +01:00
Claudio Sanches d06883bd60
Merge pull request #28755 from paulochang/patch-2
Add Guatemalan states
2021-01-19 11:31:19 -03:00
Ron Rennick 8721b5d9d9
update core-tests, utils package readmes (#28715) 2021-01-19 14:00:59 +01:00
Peter Fabian 0d7e5d1596
Merge pull request #28584 from woocommerce/add_orders_count_by_gateway
Track order counts by payment method
2021-01-19 11:45:02 +01:00
Peter Fabian 31a3b6a7ba Fixed the deprecation version 2021-01-19 11:10:58 +01:00
Nestor Soriano aae44ac1cd Fix code sniffer errors 2021-01-19 10:56:08 +01:00