Escape gettext in attribute. Props nbachiyski. fixes #8142

git-svn-id: http://svn.automattic.com/wordpress/trunk@9813 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
ryan 2008-11-20 17:03:31 +00:00
parent a9d7f40d2e
commit 4b5e8f8994
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>';