Input cleanup

git-svn-id: https://develop.svn.wordpress.org/trunk@1743 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Matt Mullenweg
2004-10-05 06:59:13 +00:00
parent 075ea09876
commit 31ea9c565d
5 changed files with 9 additions and 30 deletions

View File

@@ -65,7 +65,7 @@ if ($drafts || $other_drafts) {
if ( isset( $_GET['m'] ) ) {
echo $month[substr( $_GET['m'], 4, 2 )] . ' ' . substr( $_GET['m'], 0, 4 );
} elseif ( isset( $_GET['s'] ) ) {
printf(__('Search for “%s”'), $_GET['s']);
printf(__('Search for “%s”'), htmlspecialchars($_GET['s']) );
} else {
_e('Last 15 Posts');
}