Files
wordpress/wp-includes/block-editor.php
Joe McGill fc027e2491 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.

Built from https://develop.svn.wordpress.org/trunk@60003


git-svn-id: http://core.svn.wordpress.org/trunk@59345 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2025-03-17 13:03:29 +00:00

28 KiB