[wp-trac] [WordPress Trac] #50290: Edit Post and Edit Page is not showing in Admin Bar, When I open any Post or Page in new tab while in Customize
WordPress Trac
noreply at wordpress.org
Wed Jul 16 11:48:31 UTC 2025
#50290: Edit Post and Edit Page is not showing in Admin Bar, When I open any Post
or Page in new tab while in Customize
-------------------------------------------------+-------------------------
Reporter: dhruvpandya | Owner: (none)
Type: enhancement | Status: new
Priority: normal | Milestone: Awaiting
| Review
Component: Customize | Version:
Severity: normal | Resolution:
Keywords: dev-feedback has-screenshots has- | Focuses:
patch | administration
-------------------------------------------------+-------------------------
Comment (by callumbw95):
Hi All,
I have been doing some digging into this tickets history, and I came
across the [https://core.trac.wordpress.org/ticket/38648 ticket] where the
line to remove the edit post button was initially added. This looks to
have been added deliberately to resolve an issue where non-logged in users
could view a preview of a page, but the page would display various edit
post buttons across the page as well as in the admin-bar which did
nothing. As of such I have attached a patch that will work in conjunction
with the original reasoning but also fix the above issue.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/50290#comment:3>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list