Make WordPress Core


Ignore:
Timestamp:
06/10/2011 09:57:18 PM (13 years ago)
Author:
nacin
Message:

Twenty Eleven: escaping frenzy, hide authors if a single author blog. props DH-Shredder, props iandstewart, see #17385, fixes #17563.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-content/themes/twentyeleven/searchform.php

    r18166 r18244  
    88 */
    99?>
    10     <form method="get" id="searchform" action="<?php echo home_url( '/' ); ?>">
     10    <form method="get" id="searchform" action="<?php echo esc_url( home_url( '/' ) ); ?>">
    1111        <label for="s" class="assistive-text"><?php _e( 'Search', 'twentyeleven' ); ?></label>
    1212        <input type="text" class="field" name="s" id="s" placeholder="<?php esc_attr_e( 'Search', 'twentyeleven' ); ?>" />
Note: See TracChangeset for help on using the changeset viewer.