Commit Graph

36569 Commits

Author SHA1 Message Date
Shiki 3a1b125e3a Fix coding style 2020-10-26 13:28:04 -03:00
Shiki 48d595ed71 Orders API: Reorganize and place parent_name in a separate section 2020-10-26 13:28:04 -03:00
Shiki 52739ba9ee Orders API: Add parent_name to line_items for variable products 2020-10-26 13:28:04 -03:00
Claudio Sanches 19e4c7ac7c
Merge pull request #28094 from woocommerce/revert/27289
Revert changes introduced in #27289
2020-10-26 12:39:11 -03:00
Roy Ho c96a642e8a
Merge pull request #28067 from woocommerce/fix/27529
Fix: use the correct parameter when calling get_avatar()
2020-10-26 07:46:51 -07:00
Claudio Sanches c5ff759d61 Revert changes introduced in #27289 2020-10-26 10:26:29 -03:00
Vedanshu Jain 13e06b999b
Merge pull request #28035 from woocommerce/update/travis-configuration-wp-nightly
Remove WP nightly from the list of Travis jobs that can fail
2020-10-25 12:05:59 +05:30
Rodrigo Primo 97bb3dc84c
Merge pull request #28076 from woocommerce/add/docker-ssh-support
add docker:ssh to core repo scripts
2020-10-24 15:12:06 -03:00
Rodrigo Primo 80c3f343a4
Merge pull request #28062 from PlexusLLC/fix-sorting-capability
Fix incorrect capability for product sorting link
2020-10-24 15:10:00 -03:00
Rodrigo Primo 1b40e13f99
Merge pull request #27856 from sudoshreyansh/fix/27831
Fixed update term message. Issue: #27831
2020-10-24 14:57:06 -03:00
Rodrigo Primo 92153ac3b3
Merge pull request #27723 from alexstewartja/master
Introduced fine-grained cultural adaptation for Jamaican-based WooCommerce stores
2020-10-24 14:44:07 -03:00
Rodrigo Primo 3ed300a4aa
Merge pull request #27607 from wpdesk/bugfix/cart-weight-float
Fixed cart weight return type.
2020-10-24 14:12:03 -03:00
Rodrigo Primo 3d965f06e0
Merge pull request #25988 from yash-webkul/patch-1
Added support for file in checkout ajax.
2020-10-24 11:11:21 -03:00
Claudio Sanches 1427a39be1
Merge pull request #28074 from shahlin/master
Minor docblock grammar/typo/casing fixes
2020-10-23 17:33:41 -03:00
Rodrigo Primo 03f7d4753c
Merge pull request #28081 from ibonkonesa/master
Children misspelled as Childre 28066
2020-10-23 17:25:30 -03:00
Roy Ho ecd08277f9
Merge pull request #28070 from NicholasMacedo/patch-1
Update class-wc-product-variable.php
2020-10-23 13:12:04 -07:00
ibon fb78882762 Children misspelled as Childre 28066 2020-10-23 20:34:50 +02:00
Rodrigo Primo c5028be0ed
Merge pull request #28065 from woocommerce/fix/remove-wpcs-deprecated-syntax
Replace WPCS deprecated syntax
2020-10-23 13:48:27 -03:00
Ron Rennick 7638d73d85 add docker:ssh to core repo scripts 2020-10-23 11:22:47 -03:00
Shahlin Ibrahim e06466b2b7 Minor docblock grammar/typo/casing fixes 2020-10-23 17:27:39 +04:00
Nicholas Macedo 815fd01a98
Update class-wc-product-variable.php
Fix the typo on line 416 according to Issue  #28066
2020-10-22 20:37:36 -04:00
Rodrigo Primo 09faf8ba84 Fix: use the correct parameter when calling get_avatar()
`WC_Admin_Dashboard::recent_reviews()` was calling `get_avatar()` passing `$comment->comment_author` which is not one of the list of parameters that the function accepts to get the avatar. As a result, the widget that displays the recent reviews in the admin dashboard was never displaying the avatar of the user that left the review. This commit fixes this issue by passing `$comment->comment_email` instead. I opted to use `$comment->comment_author` as it should be available for reviews left both by authenticated and anonymous users and because getting the comment object wouldn't be so simple (either we need to perform an extra query for each review or deprecate the `woocommerce_report_recent_reviews_query_from` filter).
2020-10-22 17:43:59 -03:00
Rodrigo Primo e91872c1a8 PHPCS fixes 2020-10-22 17:34:47 -03:00
Rodrigo Primo 6bde9fd8a5 Replace WPCS deprecated syntax
Using the WPCS native whitelist comments is deprecated. So this PR just replaces all instances of `// WPCS: XSS ok.` found in `includes/wc-cart-functions.php` with the PHPCS native "// phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped". I found this while working on another issue in the same file.
2020-10-22 16:03:34 -03:00
pjv f03bfb85da Fix incorrect capability for product sorting link
Fixes #28049
2020-10-22 13:03:35 -05:00
Claudio Sanches 3f61afe533
Merge pull request #28046 from woocommerce/update/master-branch-after-4-6-1-release
Update master branch after the release of WC 4.6.1
2020-10-21 15:33:45 -03:00
Rodrigo Primo 9910ff94b9 Bump the stable tag to 4.6.1 2020-10-21 15:28:54 -03:00
Rodrigo Primo 48e8171ba5 Add 4.6.1 changes to changelog.txt 2020-10-21 15:28:26 -03:00
Claudio Sanches 600d48967f
Merge pull request #28038 from woocommerce/fix/minor-error-in-prefix-vendor-namespaces
Fix error in the sed commands used to prefix namespaces
2020-10-21 10:13:16 -03:00
Claudio Sanches 81ce4e23bf
Merge pull request #28036 from Luminus/patch-1
Fix CLDR recommendations link
2020-10-21 10:02:47 -03:00
Claudio Sanches d78d752336
Apply suggestions from code review 2020-10-21 10:01:53 -03:00
Peter Fabian 8bc2b77e45
Merge pull request #28037 from woocommerce/fix/add-Ron-to-contributors
Added Ron to the list of contributors
2020-10-21 14:50:13 +02:00
Peter Fabian bb896eb1b4
Added Ron to the list of contributors 2020-10-21 14:29:57 +02:00
Rodrigo Primo 9f22f10861 Fix error in the sed commands used to prefix namespaces
This commit fixes a minor error in the sed commands used to prefix
namespaces in the vendor folder. Due to an extra space sed was
considering `.bak` an extra parameter. If we use `-i.bak` instead (without the
space), sed creates a backup file which is the desired behavior.

With this change we won't be getting the errors below when running
`composer install` or `composer update`:

```
Generating autoload files
> sh ./bin/prefix-vendor-namespaces.sh
Prefixing the appropriate vendor namespaces with Automattic\WooCommerce\Vendor
sed: can't read .bak: No such file or directory
sed: can't read .bak: No such file or directory
sed: can't read .bak: No such file or directory
(...)
```

Since sed was working without creating a backup file, I wonder if we
really need to create one. I tested and `sed -i -E -e
"s/\"(League\\\\\\\Container)/\"Automattic\\\\\\\WooCommerce\\\\\\\Vendor\\\\\\\\\1/g"
vendor/league/container/composer.json` works well in Linux. If it also
works on Mac, maybe we can use it and remove the code that deletes the
.bak files?
2020-10-21 09:26:30 -03:00
Luminus Olumide Alabi 49a21bc9bd
Update countries.php
Fix CLDR recommendations link
2020-10-21 13:11:00 +01:00
Rodrigo Primo 9355e632e8 Remove WP nightly from the list of Travis jobs that can fail
In #27977, we added the Travis build job that runs using WP nightly to
the list of jobs that can fail due to a problem in WP itself. Now this
problem was fixed, the build job is passing and we can remove it from
this list.
2020-10-21 09:03:43 -03:00
Claudio Sanches a02f1a483f
Merge pull request #28010 from woocommerce/fix/28007
Update minified jQuery TipTip file
2020-10-20 20:15:47 -03:00
Claudio Sanches 3a4641dfb9
Merge pull request #28022 from woocommerce/update/contributors
Added royho to contributors list
2020-10-20 16:25:04 -03:00
Roy Ho 027b51d44a
Merge pull request #28021 from woocommerce/update/prepare-4.8
Prepare default branch to 4.8
2020-10-20 12:24:51 -07:00
Claudio Sanches a09d31d8cd Added royho to contributors list 2020-10-20 15:23:02 -03:00
Claudio Sanches f7ecbbeb35 Prepare default branch to 4.8 2020-10-20 15:20:52 -03:00
Claudio Sanches e3b7ed1c75
Merge pull request #28015 from woocommerce/renovate/webfreak001-deploy-nightly-1.x
Update WebFreak001/deploy-nightly action to v1.1.0
2020-10-20 11:44:21 -03:00
Claudio Sanches 615f759b1d
Merge pull request #28016 from woocommerce/renovate/richardsimko-github-tag-action-1.x
Update richardsimko/github-tag-action action to v1.0.4
2020-10-20 11:44:09 -03:00
Renovate Bot fc1f55dd20
Update richardsimko/github-tag-action action to v1.0.4 2020-10-20 14:13:50 +00:00
Renovate Bot 57b94db15c
Update WebFreak001/deploy-nightly action to v1.1.0 2020-10-20 14:13:41 +00:00
Rodrigo Primo 8635d0f84b
Merge pull request #28006 from woocommerce/update/woocommerce-admin/1.6.2
Update woocommerce-admin to 1.6.2
2020-10-20 11:03:44 -03:00
Rodrigo Primo d0576a2a17 Merge branch 'master' into update/woocommerce-admin/1.6.2 2020-10-20 10:43:52 -03:00
Claudio Sanches f7e9c1bfb7
Merge pull request #27995 from rodrigoprimo/fix/phpcs-travis
Fix the Travis build job that runs PHPCS
2020-10-20 10:14:39 -03:00
Claudio Sanches 0a8c9193d4
Merge pull request #27930 from woocommerce/update/woocommerce-blocks-3.6.0
Update WooCommerce Blocks package to 3.6.0
2020-10-19 23:41:53 -03:00
Claudio Sanches f349a70618 Merge branch 'master' into update/woocommerce-blocks-3.6.0 2020-10-19 23:40:52 -03:00