WordPress.org

Make WordPress Core

Changeset 4415


Ignore:
Timestamp:
10/23/06 05:53:12 (11 years ago)
Author:
markjaquith
Message:

Treat those chars specially

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-admin/templates.php

    r4314 r4415  
    9999echo '<ol>'; 
    100100foreach ($recents as $recent) : 
    101     echo "<li><a href='templates.php?file=$recent'>" . get_file_description(basename($recent)) . "</a></li>"; 
     101    echo "<li><a href='templates.php?file=" . wp_specialchars($recent, true) . "'>" . get_file_description(basename($recent)) . "</a></li>"; 
    102102endforeach; 
    103103echo '</ol>'; 
Note: See TracChangeset for help on using the changeset viewer.