WordPress.org

Make WordPress Core

Changeset 17018


Ignore:
Timestamp:
12/17/10 08:30:33 (5 years ago)
Author:
westi
Message:

Make note that this is a preview_iframe. See #15856

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-admin/includes/class-wp-themes-list-table.php

    r17002 r17018  
    147147    if ( is_ssl() ) 
    148148        $preview_link = str_replace( 'http://', 'https://', $preview_link ); 
    149     $preview_link = htmlspecialchars( add_query_arg( array( 'preview' => 1, 'template' => $template, 'stylesheet' => $stylesheet, 'TB_iframe' => 'true' ), $preview_link ) ); 
     149    $preview_link = htmlspecialchars( add_query_arg( array( 'preview' => 1, 'template' => $template, 'stylesheet' => $stylesheet, 'preview_iframe' => true, 'TB_iframe' => 'true' ), $preview_link ) ); 
    150150    $preview_text = esc_attr( sprintf( __( 'Preview of “%s”' ), $title ) ); 
    151151    $tags = $themes[$theme_name]['Tags']; 
Note: See TracChangeset for help on using the changeset viewer.