Changeset 4666

Show
Ignore:
Timestamp:
12/27/06 05:59:45 (2 years ago)
Author:
markjaquith
Message:

wp_specialchars() treatment for recent file list

Files:

Legend:

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

    r4656 r4666  
    9999echo '<ol>'; 
    100100foreach ($recents as $recent) : 
    101     echo "<li><a href='templates.php?file=" . attribute_escape($recent) . "'>" . get_file_description(basename($recent)) . "</a></li>"; 
     101    echo "<li><a href='templates.php?file=" . attribute_escape($recent) . "'>" . wp_specialchars(get_file_description(basename($recent))) . "</a></li>"; 
    102102endforeach; 
    103103echo '</ol>';