Changeset 16431 for trunk/wp-admin/includes/template.php
- Timestamp:
- 11/17/2010 05:12:01 PM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-admin/includes/template.php
r16426 r16431 484 484 485 485 $entry['meta_key'] = esc_attr($entry['meta_key']); 486 $entry['meta_value'] = htmlspecialchars($entry['meta_value']); // using a <textarea />486 $entry['meta_value'] = esc_textarea( $entry['meta_value'] ); // using a <textarea /> 487 487 $entry['meta_id'] = (int) $entry['meta_id']; 488 488 … … 719 719 <tr> 720 720 <th scope="row"><?php _e( 'URL' ) ?></th> 721 <td><textarea rows="1" cols="40" type="text" class="attachmentlinks" readonly="readonly"><?php echo wp_get_attachment_url(); ?></textarea></td>721 <td><textarea rows="1" cols="40" type="text" class="attachmentlinks" readonly="readonly"><?php echo esc_textarea( wp_get_attachment_url() ); ?></textarea></td> 722 722 </tr> 723 723 <?php if ( $icon ) : ?>
Note: See TracChangeset
for help on using the changeset viewer.