Commit Graph

39150 Commits

Author SHA1 Message Date
And Finally 0ceaf93b35 Addressing PHPCS errors.
- Deleted precision indentation on lines 72 and 80.
- Deleted unnecessary `echo` from before `esc_html_e` cals.
2021-08-09 17:02:58 +01:00
And Finally a44d9c9827 CSS and layout tweaks.
- Changed `wc_addons_wrap` to `wc-addons-wrap` to adhere to stylelint class rule.
- Removed `max-width` from `wc-addons-wrap` – we need the purple header to stretch to full width. Added new `wc-subscriptions-wrap` class to give the `max-width` to the My Subscriptions page.
- Changed width of product cards to use `calc`, so that any trailing odd-numbered card has the same width as the others.
- Fixed some stylelint issues. Moved style blocks to address `no-descending-specificity` warnings. Remove quotes from URLs and font names that don't need them.
- Gave `#screen-meta-links` absolute position on the marketplace page, so it overlays the full-width purple header.
2021-08-09 16:48:57 +01:00
And Finally 1ec1f25d26 Merge branch 'update/marketplace-1' into update/styling-product-cards 2021-08-09 15:00:51 +01:00
And Finally a8091943d5
Merge pull request #30445 from woocommerce/update/marketplace-page-title
Update My Subscriptions page title
2021-08-06 16:57:45 +01:00
Maria Górska-Piszek 1d9e481953 Update document title for My Subscriptions. 2021-08-06 14:22:42 +02:00
Maria Górska-Piszek 4a736507bc
Merge pull request #30380 from woocommerce/update/split-extensions-pages
Split the Extensions page in WP Admin and add respective menu items
2021-08-06 13:47:31 +02:00
And Finally 55235909aa Correcting escaping in the subscriptions list in `html-main.php` – `esc_html` was escaping a `strong` tag in the renewal message. 2021-08-06 12:44:39 +01:00
And Finally b2ae8ab1b4 Merge branch 'trunk' into update/marketplace-1 2021-08-06 12:37:37 +01:00
Maria Górska-Piszek d02ede8389 Update Marketplace and My Subscriptions page titles. 2021-08-06 13:26:22 +02:00
Maria Górska-Piszek 379960e8c1 Merge branch 'update/split-extensions-pages' of github.com:woocommerce/woocommerce into update/split-extensions-pages 2021-08-06 13:24:14 +02: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
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 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
And Finally ebca1cb51b
Merge branch 'update/marketplace-1' into update/split-extensions-pages 2021-08-05 17:25:10 +01:00
Maria Górska-Piszek f83b52d696 Fix phpcs issues. 2021-08-05 18:05:48 +02:00
Maria Górska-Piszek e14efd7dae Cleanup unused functions and files. 2021-08-05 17:53:18 +02:00
Maria Górska-Piszek e7df403b73 Align product cards on the Extensions page. 2021-08-05 11:03:28 +02:00
And Finally 7fbe1868e4
Merge pull request #30405 from woocommerce/fix/admin-helper-views-main-phpcs
Addressing PHPCS issues in Helper view file
2021-08-05 09:45:01 +01:00
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
Maria Górska-Piszek 51d0a4563c Add product card styling. 2021-08-03 13:35:58 +02: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
And Finally e92f99d8ee Merge branch 'update/marketplace-1' into fix/admin-helper-views-main-phpcs 2021-08-03 09:33:31 +01:00
And Finally 92273b140a Giving 100% width to purple header. 2021-08-03 09:32:31 +01:00
And Finally f2f12ae2f8 Style tweaks. Using flexbox. Using default font. Removed letter-spacing. Added mobile style. 2021-08-03 09:32:31 +01:00
And Finally c9f07fdc01 Style tweaks. Added mobile styles. Using default font-family. Removed letter-spacing. Using flexbox to centre the content in the header. 2021-08-03 09:32:31 +01:00
Gerhard 6f9e7d1074 New marketplace addons header 2021-08-03 09:32:31 +01:00
And Finally a78e8354cb Addressing PHPCS issues.
- Added file doc comment.
- Escaping direct output and translated output.
- Added translators comments.
- Renaming `$action` vars to `$subscription_action`, so they don't override the global of the same name.
2021-08-03 09:30:07 +01:00
roykho 0fcda2327e Add task instructions for the PR reviewer 2021-08-03 09:30:07 +01:00
Roy Ho 23be34d43b Update assets/js/admin/quick-edit.js
Co-authored-by: jonathansadowski <jonathansadowski@users.noreply.github.com>
2021-08-03 09:30:07 +01:00
roykho b991b4c511 Revert the use of prop here as we want to remove the attribute completely closes #30282 2021-08-03 09:30:07 +01:00
Nestor Soriano a99955a7b6 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-08-03 09:30:07 +01:00
Fernando Marichal 2c0da76684 Bump woocommerce-admin version to 2.5.0-rc.1 2021-08-03 09:30:07 +01:00
Claudio Sanches e2accc17a3 Added missing entry 2021-08-03 09:30:07 +01:00
Claudio Sanches eee39fbfe0 Fixed changelog entry type for 5.6.0 2021-08-03 09:30:07 +01:00
Nestor Soriano d48775f440 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-08-03 09:30:07 +01:00
Nestor Soriano 53f66a2cb7 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-08-03 09:30:07 +01: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
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