wp_specialchars() treatment for recent file list
git-svn-id: http://svn.automattic.com/wordpress/trunk@4666 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
ce655b96b8
commit
eda5c27abf
|
@ -98,7 +98,7 @@ if ( $recents ) :
|
|||
<?php
|
||||
echo '<ol>';
|
||||
foreach ($recents as $recent) :
|
||||
echo "<li><a href='templates.php?file=" . attribute_escape($recent) . "'>" . get_file_description(basename($recent)) . "</a></li>";
|
||||
echo "<li><a href='templates.php?file=" . attribute_escape($recent) . "'>" . wp_specialchars(get_file_description(basename($recent))) . "</a></li>";
|
||||
endforeach;
|
||||
echo '</ol>';
|
||||
endif;
|
||||
|
|
Loading…
Reference in New Issue