Make WordPress Core


Ignore:
Timestamp:
05/22/2012 03:25:35 PM (13 years ago)
Author:
ryan
Message:

Show the template name instead of just the filename. Props arieputranto, SergeyBiryukov. fixes #20718

File:
1 edited

Legend:

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

    r20589 r20844  
    180180            echo "\t</ul>\n\t<h3>" . _x( 'Styles', 'Theme stylesheets in theme editor' ) . "</h3>\n\t<ul>\n";
    181181
    182         $file_description = get_file_description( $filename );
     182        $file_description = get_file_description( $absolute_filename );
    183183        if ( $file_description != basename( $filename ) )
    184184            $file_description .= '<br /><span class="nonessential">(' . $filename . ')</span>';
Note: See TracChangeset for help on using the changeset viewer.