WordPress.org

Make WordPress Core

Changeset 4666


Ignore:
Timestamp:
12/27/2006 05:59:45 AM (13 years ago)
Author:
markjaquith
Message:

wp_specialchars() treatment for recent file list

File:
1 edited

Legend:

Unmodified
Added
Removed
  • 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>';
Note: See TracChangeset for help on using the changeset viewer.