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