Changeset 10150 for trunk/wp-admin/theme-editor.php
- Timestamp:
- 12/09/2008 06:03:31 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-admin/theme-editor.php
r10137 r10150 101 101 <div class="wrap"> 102 102 <?php screen_icon(); ?> 103 <h2><?php echo wp_specialchars( $title ); ?></h2> 103 <h2><?php echo wp_specialchars( $title ); ?></h2> 104 104 <div class="bordertitle"> 105 105 <form id="themeselector" action="theme-editor.php" method="post"> … … 142 142 $filedesc = ( $description != $template_file ) ? "$description <span class='nonessential'>($template_show)</span>" : "$description"; 143 143 $filedesc = ( $template_file == $file ) ? "<span class='highlight'>$description <span class='nonessential'>($template_show)</span></span>" : $filedesc; 144 144 145 145 // If we have two files of the same name prefer the one in the Template Directory 146 146 // This means that we display the correct files for child themes which overload Templates as well as Styles 147 147 if( array_key_exists($description, $template_mapping ) ) { 148 if ( false !== strpos( $template_file, $template_dir ) ) { 148 if ( false !== strpos( $template_file, $template_dir ) ) { 149 149 $template_mapping[ $description ] = array( $template_file, $filedesc ); 150 150 }
Note: See TracChangeset
for help on using the changeset viewer.