Commit Graph

39121 Commits

Author SHA1 Message Date
Ron Rennick 7ba121ec1a
Merge pull request #30398 from woocommerce/add/e2e-order-cleanup
Added order cleanup to e2e setup
2021-08-09 12:33:53 -03:00
Roy Ho be200f5047
Merge pull request #30443 from woocommerce/fix/26975
Fix: product attribute permalinks not working for non-ASCII characters
2021-08-09 15:32:44 +01:00
Roy Ho cc106854b4
Merge pull request #30448 from alexmigf/master
New hook for product external options
2021-08-06 16:28:34 +01:00
Greg 618a8c458d Remove errant space 2021-08-06 09:23:35 -06:00
Ron Rennick d09bd4fce5
Merge pull request #30439 from woocommerce/add/e2e-admin_email_config_override
Added admin email config override
2021-08-06 11:41:39 -03:00
Néstor Soriano 9404afad8b
Merge pull request #30230 from Kleindberg/patch-1
Added Ukrainian states
2021-08-06 13:13:27 +02:00
Néstor Soriano c11739e7ed
Merge pull request #30256 from YordanSoares/issue-30255-fix-payment-method-title-for-the-option-other
Fix the payment method title for the option "Other"
2021-08-06 12:41:55 +02:00
Nestor Soriano 6c28cd00a6
Fix: product attribute permalinks not working for non-ascii characters
Product attribute lists permalinks ("/attribute/term") were not working
for attribute names containing non-ascii characters. That's because
when the attribute taxonomy was registered the url rewrite rules were
created using the sanitized version of the attribute name, which
implies converting these characters into the urlencoded version.

The fix consists of applying "urldecode" to the sanitized attribute
name before using it to create the rewrite rule. The sanitization
needs to be kept for compatibility purposes, since it also replaces
latin characters with accents into the non-accent versions
(this conversion won't be affected by "urldecode")
2021-08-06 11:45:49 +02:00
Bogdan e5a0f344de
Update states.php 2021-08-06 12:36:04 +03:00
Bogdan b4269204d7
Update states.php 2021-08-06 12:27:38 +03:00
Greg 8ccbbab8ab Added admin email config override 2021-08-05 19:39:30 -06:00
Greg aa8f5841f9 Code review feedback 2021-08-05 19:11:08 -06:00
Greg e738ce4fa6
Merge branch 'trunk' into add/e2e-order-cleanup 2021-08-05 18:42:34 -06:00
Greg 33521dd4fc
Merge pull request #30361 from woocommerce/add/e2e-shipping-classes-cleanup
Added shipping classes cleanup to retest flow
2021-08-05 14:42:30 -06:00
Greg d3e80ce83f Updated changelog 2021-08-05 13:53:09 -06:00
Vedanshu Jain 08e202ac0f
Merge pull request #30325 from woocommerce/add/wc-customer-data-type-prop-30272
Specify the `$object_type` property for the `WC_Customer` class
2021-08-05 22:05:29 +05:30
Roy Ho d73b1d89bf
Merge pull request #30418 from woocommerce/fix/30140
Fix: "Related Products" not showing all random related products within the same category
2021-08-04 18:26:27 +01:00
Nestor Soriano 8095482f69
Fix: the same set of related products is always displayed
get_related_products_query in the WC_Product_Data_Store_CPT class is
querying the suitable products with a "limit" clause, this causes
that products down in the table are never picked for display.
This commit adds a ORDER BY RAND() to the query so that all products
have a chance to get picked.
2021-08-04 12:14:20 +02:00
Barry Hughes be907c606d
Merge pull request #30413 from woocommerce/update/changelog
Update 5.6 changelog.
2021-08-03 13:06:04 -07:00
Claudio Sanches bb78e1e943 Update 5.6 changelog 2021-08-03 17:03:00 -03:00
Barry Hughes b4ca94365e
Merge pull request #30408 from woocommerce/add/29852
GitHub action to post a comment with next steps suggestion on pull request merge.
2021-08-03 12:50:03 -07:00
Nestor Soriano 6fb769bc9d
Refactor the PR post-merge processing GitHub action
Common code has been extracted to a "post-request-shared.php" script.
2021-08-03 11:33:33 +02:00
Néstor Soriano 92ffb0970b
Merge pull request #30385 from woocommerce/fix/29988
Allow user with capabilities to view downloadable image closes #29988
2021-08-03 10:35:15 +02:00
Nestor Soriano b3617a3115
Extend post-merge GH action to add a comment suggestion next steps. 2021-08-03 10:07:24 +02:00
Claudio Sanches 23ae6993ff
Merge pull request #30404 from woocommerce/fix/30390
Fix 'woocommerce_email_settings' filter being triggered twice
2021-08-02 14:44:31 -03:00
Nestor Soriano e1f19e2d23
Fix: 'woocommerce_email_settings' filter being triggered twice. 2021-08-02 09:33:18 +02:00
Greg 7612f862b4 Updated readme and changelog 2021-07-30 15:05:10 -06:00
Greg ae75249bed Added order cleanup 2021-07-30 15:02:55 -06:00
Barry Hughes 164e7e495c
Merge pull request #30394 from woocommerce/add/pr-template
Add task instructions for the PR reviewer
2021-07-30 10:23:16 -07:00
roykho bdbd97fa9d
Add task instructions for the PR reviewer 2021-07-30 10:02:16 -07:00
Roy Ho 24c0dd7890
Merge pull request #30374 from woocommerce/fix/30282
Revert the use of prop here as we want to remove the attribute comple…
2021-07-30 17:21:39 +01:00
Roy Ho 00439232ec
Update assets/js/admin/quick-edit.js
Co-authored-by: jonathansadowski <jonathansadowski@users.noreply.github.com>
2021-07-30 17:19:29 +01:00
Claudio Sanches dd23ba5061
Merge pull request #30388 from woocommerce/fix/attribute_filtering_option_names
Fix option names used by the product attributes lookup table feature
2021-07-30 11:11:29 -03:00
Nestor Soriano 9583d57d26
Fix option names used by the product attributes lookup table feature
The feature was using option names prefixed with
"woocommerce_attribute_lookup__". That double underscore breaks WP
standards for option names. The option names have been changed
so that they use a single underscore instead.
2021-07-30 11:16:05 +02:00
Claudio Sanches c65699e907
Merge pull request #30356 from woocommerce/update/woocommerce-admin/2.5.0-rc.1
Bump woocommerce-admin version to 2.5.0-rc.1
2021-07-29 15:34:28 -03:00
Vedanshu Jain 10ecf34d94
Merge pull request #30360 from woocommerce/fix/5.6-changelog
Fixed changelog entry type for 5.6.0
2021-07-29 21:16:54 +05:30
Vedanshu Jain d9a69c37a5
Merge pull request #30381 from woocommerce/fix/automatic-milestoning-for-fork-prs
Fix: automatic milestoning GitHub action not working with PRs coming from forks
2021-07-29 21:08:57 +05:30
roykho d7493e10e1
Allow user with capabilities to view downloadable image closes #29988 2021-07-29 08:19:35 -07:00
Nestor Soriano 9ffddbac1f
Use 'pull_request_target' in the automatic milestoning action
The original event used, 'pull_request', runs in the context of the
pull request. In the case of pull requests created from forks this means
that a read-only GitHub token is used for API calls, and thus the
call used to assign the milestone fails.

The fix is using the 'pull_request_target' event, which runs in the
context of the base branch, and thus with a read-write token. See:
https://docs.github.com/en/actions/reference/events-that-trigger-workflows#pull_request_target

Also, added a warning message when no milestone without a release
branch is found and thus the newest existing milestone is assigned
(this is a fallback that should normally not happen).
2021-07-29 16:47:27 +02:00
Néstor Soriano 409c996834
Merge pull request #30366 from woocommerce/add/logging_for_milestone_assignment_gh_action
Add error logging to the GitHub action for assigning a milestone to merged pull requests
2021-07-29 13:33:46 +02:00
Dan Bitzer 89fa082743 Remove \WC_Customer::get_hook_prefix method
This method is now redundant since the `$object_type` property is set for the class. This means the parent method will now return the exact same value.
2021-07-29 11:26:21 +09:30
Dan Bitzer 5c7d1a440a Set $object_type prop for WC_Customer class 2021-07-29 11:26:21 +09:30
roykho eb66b032dc
Revert the use of prop here as we want to remove the attribute completely closes #30282 2021-07-28 10:56:55 -07:00
Nestor Soriano 68fcfa9cf6
Add logging to the GH action for assigning a milestone to merged PRs
If the GH API call to assign the milestone to a merged PR returns an
error, the data returned from the call will be dumped to the console,
and thus will be readable by looking at the action execution log.
2021-07-28 15:20:16 +02:00
Vedanshu Jain 124aeb7467
Merge pull request #30204 from getsnoopy/fix-postal-code-labels
Correct postal code labels for US & India
2021-07-28 13:38:45 +05:30
Greg 47683bb1b5 Update README 2021-07-27 20:48:45 -06:00
Greg b50f88ee29 Removed ignore lint fields 2021-07-27 20:43:47 -06:00
Claudio Sanches ba786322a4 Added missing entry 2021-07-27 20:31:37 -03:00
Claudio Sanches 1ee5301cef Fixed changelog entry type for 5.6.0 2021-07-27 19:57:47 -03:00
Claudio Sanches 16f2b6e9b1
Merge pull request #30352 from woocommerce/fix/refresh-package-lock
package lock maintenance
2021-07-27 14:08:56 -03:00