Changeset 12185
- Timestamp:
- 11/13/2009 06:54:54 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-admin/theme-editor.php
r12063 r12185 39 39 $file = dirname(dirname($themes[$theme]['Template Dir'])) . $file ; 40 40 } else if ( 'style' == $dir) { 41 $file = dirname(dirname($themes[$theme]['Styleshee rDir'])) . $file ;41 $file = dirname(dirname($themes[$theme]['Stylesheet Dir'])) . $file ; 42 42 } 43 43 } … … 185 185 $filedesc = ( $description != $style_file ) ? "$description <span class='nonessential'>($style_show)</span>" : "$description"; 186 186 $filedesc = ( $style_file == $file ) ? "<span class='highlight'>$description <span class='nonessential'>($style_show)</span></span>" : $filedesc; 187 $template_mapping[ $description ] = array( _get_template_edit_filename($style_file, $style _file), $filedesc );187 $template_mapping[ $description ] = array( _get_template_edit_filename($style_file, $stylesheet_dir), $filedesc ); 188 188 } 189 189 ksort( $template_mapping );
Note: See TracChangeset
for help on using the changeset viewer.