-
Notifications
You must be signed in to change notification settings - Fork 4.7k
Blocks: Try prepending 'https' to URLs without protocol #75005
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
Conversation
|
The following accounts have interacted with this PR and/or linked issues. I will continue to update these lists as activity occurs. You can also manually ask me to refresh this list by adding the Unlinked AccountsThe following contributors have not linked their GitHub and WordPress.org accounts: @WDWNT-Frank, @porg. Contributors, please read how to link your accounts to ensure your work is properly credited in WordPress releases. If you're merging code through a pull request on GitHub, copy and paste the following into the bottom of the merge commit message. To understand the WordPress project's expectations around crediting contributors, please review the Contributor Attribution page in the Core Handbook. |
| @@ -1,12 +1,12 @@ | |||
| /** | |||
| * Internal dependencies | |||
| * WordPress dependencies | |||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This positioning swap was requested by the linter.
13183a7 to
eef202d
Compare
|
Size Change: +6 B (0%) Total Size: 3 MB
ℹ️ View Unchanged
|
eef202d to
4df45da
Compare
getdave
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
getdave
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🚀 LGTM
|
Could we change the prependHTTP to prependHTTPS for Link Control direct entry on this PR as well? |
|
Flaky tests detected in ffebc26. 🔍 Workflow run URL: https://github.com/WordPress/gutenberg/actions/runs/21515152130
|
Unlinked contributors: WDWNT-Frank, porg. Co-authored-by: Mamaduka <mamaduka@git.wordpress.org> Co-authored-by: getdave <get_dave@git.wordpress.org> Co-authored-by: jeryj <jeryj@git.wordpress.org> Co-authored-by: jordesign <jordesign@git.wordpress.org>
What?
Closes #46244.
PR replaces
prependHTTPcalls withprependHTTPS. URLs without a protocol now will usehttps.P.S. I know Nav blocks are still using
prependHTTP, but it's only for internal check and not for storing modified attribute.Why?
It's 2026, and most external services should be using
https.Testing Instructions
The changes have e2e test coverage.