Make WordPress Core


Ignore:
Timestamp:
04/25/2012 05:34:19 PM (13 years ago)
Author:
nacin
Message:

Remove WP_Theme::is_child_theme() in favor of WP_Theme::parent(). see #20546.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-admin/theme-editor.php

    r20560 r20589  
    214214
    215215        <div>
    216         <?php if ( is_child_theme() && ! $theme->is_child_theme() && $theme->get_template() == get_template() ) : ?>
     216        <?php if ( is_child_theme() && $theme->get_stylesheet() == get_template() ) : ?>
    217217            <p><?php if ( is_writeable( $file ) ) { ?><strong><?php _e( 'Caution:' ); ?></strong><?php } ?>
    218218            <?php _e( 'This is a file in your current parent theme.' ); ?></p>
Note: See TracChangeset for help on using the changeset viewer.