Make WordPress Core

Ticket #17944: 17944-remove.diff

File 17944-remove.diff, 1.5 KB (added by lessbloat, 13 years ago)
  • wp-admin/includes/class-wp-themes-list-table.php

     
    181181                        <div class="themedetaildiv hide-if-js">
    182182                                <p><strong><?php _e('Version: '); ?></strong><?php echo $version; ?></p>
    183183                                <p><?php echo $theme->display('Description'); ?></p>
    184                                 <?php if ( current_user_can( 'edit_themes' ) && $theme->parent() ) :
    185                                         /* translators: 1: theme title, 2:  template dir, 3: stylesheet_dir, 4: theme title, 5: parent_theme */ ?>
    186                                         <p><?php printf( __( 'The template files are located in <code>%2$s</code>. The stylesheet files are located in <code>%3$s</code>. <strong>%4$s</strong> uses templates from <strong>%5$s</strong>. Changes made to the templates will affect both themes.' ),
    187                                                 $title, str_replace( WP_CONTENT_DIR, '', $theme->get_template_directory() ), str_replace( WP_CONTENT_DIR, '', $theme->get_stylesheet_directory() ), $title, $theme->parent()->display('Name') ); ?></p>
    188                                 <?php else :
    189                                                 /* translators: 1: theme title, 2:  template dir, 3: stylesheet_dir */ ?>
    190                                         <p><?php printf( __( 'All of this theme&#8217;s files are located in <code>%2$s</code>.' ),
    191                                                 $title, str_replace( WP_CONTENT_DIR, '', $theme->get_template_directory() ), str_replace( WP_CONTENT_DIR, '', $theme->get_stylesheet_directory() ) ); ?></p>
    192                                 <?php endif; ?>
    193184                        </div>
    194185
    195186                        </div>