mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-04-01 03:04:34 +00:00
Remove WP_Theme::is_child_theme() in favor of WP_Theme::parent(). see #20546.
git-svn-id: https://develop.svn.wordpress.org/trunk@20589 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
@@ -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; ?>
|
||||
|
||||
Reference in New Issue
Block a user