Make WordPress Core


Ignore:
Timestamp:
10/23/2006 05:54:54 AM (19 years ago)
Author:
markjaquith
Message:

Treat those chars specially, and sanitize inline-uploading params

File:
1 edited

Legend:

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

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