Make WordPress Core

Changeset 19406


Ignore:
Timestamp:
11/22/2011 09:27:27 PM (14 years ago)
Author:
nacin
Message:

Because we can. see #18034.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-includes/general-template.php

    r19315 r19406  
    158158    }
    159159
    160     $form = '<form role="search" method="get" id="searchform" action="' . home_url( '/' ) . '" >
     160    $form = '<form role="search" method="get" id="searchform" action="' . esc_url( home_url( '/' ) ) . '" >
    161161    <div><label class="screen-reader-text" for="s">' . __('Search for:') . '</label>
    162162    <input type="text" value="' . get_search_query() . '" name="s" id="s" />
Note: See TracChangeset for help on using the changeset viewer.