Make WordPress Core


Ignore:
Timestamp:
12/25/2010 05:58:01 PM (15 years ago)
Author:
nacin
Message:

Tag textareas escaped earlier with textarea_escaped. see #15454.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-admin/includes/meta-boxes.php

    r17113 r17141  
    289289    <div class="nojs-tags hide-if-js">
    290290    <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 get_terms_to_edit( $post->ID, $tax_name ); // escaped by esc_attr() ?></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 ); // textarea_escaped by esc_attr() ?></textarea></div>
    292292    <?php if ( current_user_can($taxonomy->cap->assign_terms) ) : ?>
    293293    <div class="ajaxtag hide-if-no-js">
     
    384384function post_excerpt_meta_box($post) {
    385385?>
    386 <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>
     386<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_escaped ?></textarea>
    387387<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>
    388388<?php
     
    887887    <tr class="form-field">
    888888        <th valign="top"  scope="row"><label for="link_notes"><?php _e('Notes') ?></label></th>
    889         <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>
     889        <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_escaped ?></textarea></td>
    890890    </tr>
    891891    <tr class="form-field">
Note: See TracChangeset for help on using the changeset viewer.