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
28 KiB
28 KiB