mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2025-10-16 12:05:38 +00:00
Treat those chars specially
git-svn-id: https://develop.svn.wordpress.org/trunk@4415 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
7414172018
commit
13fb18717f
@ -98,7 +98,7 @@ if ( $recents ) :
|
||||
<?php
|
||||
echo '<ol>';
|
||||
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;
|
||||
echo '</ol>';
|
||||
endif;
|
||||
|
||||
Loading…
Reference in New Issue
Block a user