mirror of
https://github.com/WordPress/WordPress.git
synced 2024-09-29 23:57:41 +02:00
wp_specialchars() treatment for recent file list
git-svn-id: http://svn.automattic.com/wordpress/branches/2.0@4665 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
bf83dbd55f
commit
fbd8f67ffd
@ -111,7 +111,7 @@ if ( $recents ) :
|
|||||||
<?php
|
<?php
|
||||||
echo '<ol>';
|
echo '<ol>';
|
||||||
foreach ($recents as $recent) :
|
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;
|
endforeach;
|
||||||
echo '</ol>';
|
echo '</ol>';
|
||||||
endif;
|
endif;
|
||||||
|
Loading…
Reference in New Issue
Block a user