Update "Edit site" admin bar link to open Site Editor at top level#63835
Update "Edit site" admin bar link to open Site Editor at top level#63835dhananjaykuber wants to merge 7 commits intoWordPress:trunkfrom
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. |
carolinan
left a comment
There was a problem hiding this comment.
This needs to be changed in the 6.7 folder, not 6.6.
|
@dhananjaykuber do you mind addressing the feedback? Thanks! |
|
Hi |
|
Hi @carolinan, |
|
Intrigued to get this in a good state. What can I do to help? I'm seeing more and more WordPress users getting unintentionally placed in the Site Editor by selecting this; resulting in getting lost/confused. |
|
I am closing this in favor of #69271 because there are some changes in this PR that are unrelated to the issue. |
Fixes #63785
What?
This PR updates the "Edit site" admin bar control to consistently open the Site Editor at the top level, rather than opening the specific template editing view of the current page.
Why?
This change is necessary to improve user experience and consistency within the WordPress editor. Currently, the "Edit site" control behaves unpredictably, dropping users into various levels of the Site Editor depending on the page they're viewing. This can be disorienting and makes the control less effective as an entry point to the Site Editor.
By making this change, we align the behavior with the "Editor" control in the WP Admin > Appearance menu, providing a more predictable and consistent experience for users.
How?
The implementation involves modifying the link destination of the "Edit site" admin bar control. Instead of linking to the specific template editing view, it will now link to the top-level Site Editor page.
Testing Instructions
Screenshots or screencast
Screen.Recording.2024-07-23.at.11.51.31.AM.mov