Changeset 20559
- Timestamp:
- 04/21/2012 09:03:23 PM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-admin/theme-editor.php
r20558 r20559 162 162 <?php 163 163 if ( $allowed_files ) : 164 if ( $has_templates || $theme-> is_child_theme() ) :164 if ( $has_templates || $theme->parent() ) : 165 165 ?> 166 166 <h3><?php _e('Templates'); ?></h3> 167 <?php if ( $theme-> is_child_theme() && $theme->parent() ) : ?>167 <?php if ( $theme->parent() ) : ?> 168 168 <p class="howto"><?php printf( __( 'This child theme inherits templates from a parent theme, %s.' ), '<a href="' . self_admin_url('theme-editor.php?theme=' . urlencode( $theme->get_template() ) ) . '">' . $theme->parent()->display('Name') . '</a>' ); ?></p> 169 169 <?php endif; ?>
Note: See TracChangeset
for help on using the changeset viewer.