Changeset 17001 for trunk/wp-admin/includes/meta-boxes.php
- Timestamp:
- 12/16/2010 05:48:20 PM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-admin/includes/meta-boxes.php
r16969 r17001 289 289 <div class="nojs-tags hide-if-js"> 290 290 <p><?php echo $taxonomy->labels->add_or_remove_items; ?></p> 291 <textarea name="<?php echo "tax_input[$tax_name]"; ?>" rows="3" cols="20" class="the-tags" id="tax-input-<?php echo $tax_name; ?>" <?php echo $disabled; ?>><?php echo esc_textarea( get_terms_to_edit( $post->ID, $tax_name ) );?></textarea></div>291 <textarea name="<?php echo "tax_input[$tax_name]"; ?>" rows="3" cols="20" class="the-tags" id="tax-input-<?php echo $tax_name; ?>" <?php echo $disabled; ?>><?php echo get_terms_to_edit( $post->ID, $tax_name ); // escaped by esc_attr() ?></textarea></div> 292 292 <?php if ( current_user_can($taxonomy->cap->assign_terms) ) : ?> 293 293 <div class="ajaxtag hide-if-no-js"> … … 893 893 <tr class="form-field"> 894 894 <th valign="top" scope="row"><label for="link_notes"><?php _e('Notes') ?></label></th> 895 <td><textarea name="link_notes" id="link_notes" cols="50" rows="10" style="width: 95%"><?php echo esc_textarea( ( isset( $link->link_notes ) ? $link->link_notes : '') );?></textarea></td>895 <td><textarea name="link_notes" id="link_notes" cols="50" rows="10" style="width: 95%"><?php echo ( isset( $link->link_notes ) ? $link->link_notes : ''); // escaped ?></textarea></td> 896 896 </tr> 897 897 <tr class="form-field">
Note: See TracChangeset
for help on using the changeset viewer.