Changeset 16431 for trunk/wp-admin/includes/meta-boxes.php
- Timestamp:
- 11/17/2010 05:12:01 PM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-admin/includes/meta-boxes.php
r16324 r16431 286 286 <div class="nojs-tags hide-if-js"> 287 287 <p><?php echo $taxonomy->labels->add_or_remove_items; ?></p> 288 <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_ attr(get_terms_to_edit( $post->ID, $tax_name )); ?></textarea></div>288 <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> 289 289 <?php if ( current_user_can($taxonomy->cap->assign_terms) ) : ?> 290 290 <div class="ajaxtag hide-if-no-js"> … … 386 386 function post_excerpt_meta_box($post) { 387 387 ?> 388 <label class="screen-reader-text" for="excerpt"><?php _e('Excerpt') ?></label><textarea rows="1" cols="40" name="excerpt" tabindex="6" id="excerpt"><?php echo $post->post_excerpt?></textarea>388 <label class="screen-reader-text" for="excerpt"><?php _e('Excerpt') ?></label><textarea rows="1" cols="40" name="excerpt" tabindex="6" id="excerpt"><?php echo esc_textarea( $post->post_excerpt ); ?></textarea> 389 389 <p><?php _e('Excerpts are optional hand-crafted summaries of your content that can be used in your theme. <a href="http://codex.wordpress.org/Excerpt" target="_blank">Learn more about manual excerpts.</a>'); ?></p> 390 390 <?php … … 895 895 <tr class="form-field"> 896 896 <th valign="top" scope="row"><label for="link_notes"><?php _e('Notes') ?></label></th> 897 <td><textarea name="link_notes" id="link_notes" cols="50" rows="10" style="width: 95%"><?php echo ( isset( $link->link_notes ) ? $link->link_notes : ''); ?></textarea></td>897 <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> 898 898 </tr> 899 899 <tr class="form-field">
Note: See TracChangeset
for help on using the changeset viewer.