WordPress.org

Make WordPress Core

Changeset 4665


Ignore:
Timestamp:
12/27/06 05:59:20 (10 years ago)
Author:
markjaquith
Message:

wp_specialchars() treatment for recent file list

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/2.0/wp-admin/templates.php

    r4656 r4665  
    112112echo '<ol>'; 
    113113foreach ($recents as $recent) : 
    114     echo "<li><a href='templates.php?file=" . attribute_escape($recent) . "'>" . get_file_description(basename($recent)) . "</a></li>"; 
     114    echo "<li><a href='templates.php?file=" . attribute_escape($recent) . "'>" . wp_specialchars(get_file_description(basename($recent))) . "</a></li>"; 
    115115endforeach; 
    116116echo '</ol>'; 
Note: See TracChangeset for help on using the changeset viewer.