Escape gettext in attribute. Props nbachiyski. fixes #8142

git-svn-id: https://develop.svn.wordpress.org/trunk@9813 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Ryan Boren 2008-11-20 17:03:31 +00:00
parent 294e85160b
commit 9b95f1a52e
1 changed files with 1 additions and 1 deletions

View File

@ -111,7 +111,7 @@ function get_search_form() {
$form = '<form method="get" id="searchform" action="' . get_option('siteurl') . '/" >
<label class="hidden" for="s">' . __('Search for:') . '</label>
<div><input type="text" value="' . the_search_query() . '" name="s" id="s" />
<input type="submit" id="searchsubmit" value="Search" />
<input type="submit" id="searchsubmit" value="'.attribute_escape(__('Search')).'" />
</div>
</form>';