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

git-svn-id: http://svn.automattic.com/wordpress/trunk@20589 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
nacin
2012-04-25 17:34:19 +00:00
parent efcaf98c41
commit 1e500bd76a
2 changed files with 1 additions and 13 deletions

View File

@@ -213,7 +213,7 @@ else : ?>
<?php endif; ?>
<div>
<?php if ( is_child_theme() && ! $theme->is_child_theme() && $theme->get_template() == get_template() ) : ?>
<?php if ( is_child_theme() && $theme->get_stylesheet() == get_template() ) : ?>
<p><?php if ( is_writeable( $file ) ) { ?><strong><?php _e( 'Caution:' ); ?></strong><?php } ?>
<?php _e( 'This is a file in your current parent theme.' ); ?></p>
<?php endif; ?>