[wp-trac] [WordPress Trac] #63076: Site Editor: Remove admin bar from site preview for classic theme

WordPress Trac noreply at wordpress.org
Mon Mar 17 13:01:41 UTC 2025


#63076: Site Editor: Remove admin bar from site preview for classic theme
--------------------------------------+------------------------
 Reporter:  wildworks                 |       Owner:  joemcgill
     Type:  defect (bug)              |      Status:  closed
 Priority:  normal                    |   Milestone:  6.8
Component:  Editor                    |     Version:
 Severity:  normal                    |  Resolution:  fixed
 Keywords:  has-patch has-unit-tests  |     Focuses:
--------------------------------------+------------------------
Changes (by joemcgill):

 * status:  reviewing => closed
 * resolution:   => fixed


Comment:

 In [changeset:"60003" 60003]:
 {{{
 #!CommitTicketReference repository="" revision="60003"
 Editor: Support site preview mode for the Site Editor.

 This allows the Site Editor to load a preview of the site as an
 `IFRAME_REQUEST` by checking for a `wp_site_preview` query param. By
 setting the `IFRAME_REQUEST` constant when loading the preview, the site's
 admin bar and some third party plugin overlays will not be shown in the
 preview.

 Props wildworks, joemcgill, peterwilsoncc, presstoke, mamaduka,
 johnbillion, faisal03.
 Fixes #63076.
 }}}

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/63076#comment:21>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list