Attr escaping

git-svn-id: https://develop.svn.wordpress.org/trunk@11173 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Ryan Boren
2009-05-04 17:54:08 +00:00
parent 0289460644
commit cfd320446f
32 changed files with 128 additions and 125 deletions
+1 -1
View File
@@ -121,7 +121,7 @@ function get_search_form() {
$form = '<form role="search" method="get" id="searchform" action="' . get_option('home') . '/" >
<div><label class="hidden" for="s">' . __('Search for:') . '</label>
<input type="text" value="' . attr(apply_filters('the_search_query', get_search_query())) . '" name="s" id="s" />
<input type="submit" id="searchsubmit" value="'.attr(__('Search')).'" />
<input type="submit" id="searchsubmit" value="'. _a('Search') .'" />
</div>
</form>';