-
Notifications
You must be signed in to change notification settings - Fork 4.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Cherry pick PRs for inclusion in WP 6.1 RC-2 #45051
Conversation
* Fix overflowing patterns by using overflow:hidden * Revert "Fix overflowing patterns by using overflow:hidden" This reverts commit d47f721. * Make pattern list items position: relative so that position: absolute visually hidden text is positioned correctly
Size Change: +130 B (0%) Total Size: 1.26 MB
ℹ️ View Unchanged
|
PHP unit tests and e2e tests are currently failing because of a missing WP git tag (during wp-env setup I believe):
It looks like the tip of
|
This is the full stacktrace found in CI logs:
Looks like the command might be coming from here:
I think the gutenberg/packages/env/lib/wordpress.js Lines 241 to 272 in bf4eddb
It doesn't seem like there are actually any tags like cc/ @noahtallen for |
Ah, looks like we actually have code to deal with pre-releases (alpha, beta, RCs): gutenberg/packages/env/lib/download-wp-phpunit.js Lines 121 to 131 in bf4eddb
Seems like we "just" need to tweak the RegEx to understand this kind of RC version format. |
Let's make it case-insensitive then, shall we? diff --git a/packages/env/lib/download-wp-phpunit.js b/packages/env/lib/download-wp-phpunit.js
index 923750d58b..3900fd9495 100644
--- a/packages/env/lib/download-wp-phpunit.js
+++ b/packages/env/lib/download-wp-phpunit.js
@@ -122,7 +122,7 @@ async function downloadTestSuite(
// Alpha, Beta, and RC versions are bleeding edge and should pull from trunk.
let ref;
const fetchRaw = [];
- if ( ! wpVersion || wpVersion.match( /-(?:alpha|beta|rc)/ ) ) {
+ if ( ! wpVersion || wpVersion.match( /-(?:alpha|beta|rc)/i ) ) {
ref = 'trunk';
fetchRaw.push( 'fetch', 'origin', ref, '--depth', '1' );
} else { |
Heh, looks like that change is already in So I guess I'll revert my 8f05087 and will instead just cherry-pick that PR. |
…44887) WordPress version strings use '-RC1', not '-rc1'. This causes wp-env to look for a tag in wordpress-develop that does not exist, which in turn causes a fatal error.
Right on! |
This is the PR to cherry-pick the Gutenberg changes for the WordPress 6.1 RC-2 release. The base of this PR is
wp/6.1
.These are the commits/PRs that are being included here:
8a00f6a for PR: #45041 – Font Size Picker Hint: Fallbac...
9ad568e for PR: #45045 – Add: Missing output escaping o...
56c871a for PR: #44999 – Escape comment author URL
a68fa58 for PR: #44972 – Navigator: restore focus only ...
346ff74 for PR: #44858 – Spacing Sizes Control: Try imp...
6ef0ed8 for PR: #44878 – Fix: Inspector is usable on th...
a5efd9d for PR: #44809 – Fix list outdents on Enter in ...
1736a08 for PR: #44864 – List v2: fix selection when cr...
5f1a635 for PR: #44853 – Fix overflowing patterns
25d2b4c for PR: #45050 – Fix visibility of nested Group...
8048ef8 for PR: #44887 – wp-env: Use case insensitive regex...