Show
Ignore:
Timestamp:
12/21/06 10:10:04 (2 years ago)
Author:
markjaquith
Message:

new function for escaping within attributes: attribute_escape()

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • branches/2.0/wp-admin/edit.php

    r3805 r4656  
    8080  <fieldset>  
    8181  <legend><?php _e('Search Posts&hellip;') ?></legend>  
    82   <input type="text" name="s" value="<?php if (isset($s)) echo wp_specialchars($s, 1); ?>" size="17" />  
     82  <input type="text" name="s" value="<?php if (isset($s)) echo attribute_escape($s); ?>" size="17" />  
    8383  <input type="submit" name="submit" value="<?php _e('Search') ?>"  />  
    8484  </fieldset>