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/link-categories.php

    r4341 r4656  
    125125<tr>
    126126    <th width="33%" scope="row"><?php _e('Name:') ?></th>
    127     <td width="67%"><input name="cat_name" type="text" value="<?php echo wp_specialchars($row->cat_name)?>" size="30" /></td>
     127    <td width="67%"><input name="cat_name" type="text" value="<?php echo attribute_escape($row->cat_name)?>" size="30" /></td>
    128128</tr>
    129129<tr>
Note: See TracChangeset for help on using the changeset viewer.