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:
parent
294e85160b
commit
9b95f1a52e
|
@ -111,7 +111,7 @@ function get_search_form() {
|
||||||
$form = '<form method="get" id="searchform" action="' . get_option('siteurl') . '/" >
|
$form = '<form method="get" id="searchform" action="' . get_option('siteurl') . '/" >
|
||||||
<label class="hidden" for="s">' . __('Search for:') . '</label>
|
<label class="hidden" for="s">' . __('Search for:') . '</label>
|
||||||
<div><input type="text" value="' . the_search_query() . '" name="s" id="s" />
|
<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>
|
</div>
|
||||||
</form>';
|
</form>';
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue