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-link-form.php

    r3977 r4656  
    231231          <input type="hidden" name="action" value="editlink" />
    232232          <input type="hidden" name="link_id" value="<?php echo (int) $link_id; ?>" />
    233           <input type="hidden" name="order_by" value="<?php echo wp_specialchars($order_by, 1); ?>" />
     233          <input type="hidden" name="order_by" value="<?php echo attribute_escape($order_by); ?>" />
    234234          <input type="hidden" name="cat_id" value="<?php echo (int) $cat_id ?>" />
    235235<?php else: ?>
Note: See TracChangeset for help on using the changeset viewer.