Make WordPress Core


Ignore:
Timestamp:
12/21/2006 10:10:04 AM (19 years ago)
Author:
markjaquith
Message:

new function for escaping within attributes: attribute_escape()

File:
1 edited

Legend:

Unmodified
Added
Removed
  • 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>
Note: See TracChangeset for help on using the changeset viewer.