-
Notifications
You must be signed in to change notification settings - Fork 4.3k
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
Command Palette: Remove unused url parameter #61783
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 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. |
Size Change: -78 B (0%) Total Size: 1.75 MB
ℹ️ View Unchanged
|
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 👍
✅ didAccessPatternsPage
is no longer present
✅ Navigation behaves as expected
✅ Tested with a mix of classic, hybrid, and block themes
Thanks for cleaning this up @t-hamano ✨
@aaronrobertshaw Thanks for the review! |
Co-authored-by: t-hamano <wildworks@git.wordpress.org> Co-authored-by: aaronrobertshaw <aaronrobertshaw@git.wordpress.org>
Related to #54422
What?
This PR removes the
didAccessPatternsPage
parameter added to the URL when a hybrid theme accesses the Patterns page via the command palette.Why?
From #54422:
This parameter was previously introduced to control the back button link from All Template Parts page when classic themes accessed the Patterns page in the Site Editor directly.
However, now that the Patterns page is officially exposed for all themes, this parameter is no longer used anywhere.
Testing Instructions
http://localhost:8889/wp-admin/
didAccessPatternsPage
parameter.http://localhost:8889/wp-admin/site-editor.php?postType=wp_template_part&postId=gutenberg-test-themes%2Femptyhybrid%2F%2Fheader&didAccessPatternsPage=1
Before
before.mp4
After
after.mp4