Make WordPress Core


Ignore:
Timestamp:
02/08/2010 08:28:13 PM (15 years ago)
Author:
ryan
Message:

Escape some attributes. Fix search form action. see #9015

File:
1 edited

Legend:

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

    r13024 r13029  
    1     <form id="searchform" name="searchform" method="get" action="/">
     1    <form id="searchform" name="searchform" method="get" action="<?php echo home_url(); ?>">
    22        <div>
    33            <label for="s"><?php _e('Search', 'twentyten'); ?></label>
    44            <input type="text" id="s" name="s" />
    5             <input type="submit" id="searchsubmit" value="<?php _e('Search', 'twentyten'); ?>" />
     5            <input type="submit" id="searchsubmit" value="<?php esc_attr_e('Search', 'twentyten'); ?>" />
    66        </div>
    77    </form>
Note: See TracChangeset for help on using the changeset viewer.