Make note that this is a preview_iframe. See #15856

git-svn-id: https://develop.svn.wordpress.org/trunk@17018 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Peter Westwood 2010-12-17 08:30:33 +00:00
parent 1f6ecacf22
commit e7e3b8fde9
1 changed files with 1 additions and 1 deletions

View File

@ -146,7 +146,7 @@ foreach ( $cols as $col => $theme_name ) {
$preview_link = esc_url( get_option( 'home' ) . '/' );
if ( is_ssl() )
$preview_link = str_replace( 'http://', 'https://', $preview_link );
$preview_link = htmlspecialchars( add_query_arg( array( 'preview' => 1, 'template' => $template, 'stylesheet' => $stylesheet, 'TB_iframe' => 'true' ), $preview_link ) );
$preview_link = htmlspecialchars( add_query_arg( array( 'preview' => 1, 'template' => $template, 'stylesheet' => $stylesheet, 'preview_iframe' => true, 'TB_iframe' => 'true' ), $preview_link ) );
$preview_text = esc_attr( sprintf( __( 'Preview of “%s”' ), $title ) );
$tags = $themes[$theme_name]['Tags'];
$thickbox_class = 'thickbox thickbox-preview';