Changeset 1940 for trunk/wp-admin/templates.php
- Timestamp:
- 12/12/2004 08:41:19 PM (22 years ago)
- File:
-
- 1 edited
-
trunk/wp-admin/templates.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-admin/templates.php
r1938 r1940 64 64 $f = fopen($real_file, 'r'); 65 65 $content = fread($f, filesize($real_file)); 66 $content = htmlspecialchars($content);66 $content = wp_specialchars($content); 67 67 } 68 68 … … 74 74 <?php 75 75 if (is_writeable($real_file)) { 76 echo '<h2>' . sprintf(__('Editing <strong>%s</strong>'), $file) . '</h2>';76 echo '<h2>' . sprintf(__('Editing <strong>%s</strong>'), wp_specialchars($file) ) . '</h2>'; 77 77 } else { 78 echo '<h2>' . sprintf(__('Browsing <strong>%s</strong>'), $file) . '</h2>';78 echo '<h2>' . sprintf(__('Browsing <strong>%s</strong>'), wp_specialchars($file) ) . '</h2>'; 79 79 } 80 80 ?>
Note:
See TracChangeset
for help on using the changeset viewer.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)