Changeset 17141
- Timestamp:
- 12/25/2010 05:58:01 PM (14 years ago)
- Location:
- trunk/wp-admin
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-admin/edit-tag-form.php
r17001 r17141 62 62 <tr class="form-field"> 63 63 <th scope="row" valign="top"><label for="description"><?php _ex('Description', 'Taxonomy Description'); ?></label></th> 64 <td><textarea name="description" id="description" rows="5" cols="50" style="width: 97%;"><?php echo $tag->description; // alreadyescaped ?></textarea><br />64 <td><textarea name="description" id="description" rows="5" cols="50" style="width: 97%;"><?php echo $tag->description; // textarea_escaped ?></textarea><br /> 65 65 <span class="description"><?php _e('The description is not prominent by default, however some themes may show it.'); ?></span></td> 66 66 </tr> -
trunk/wp-admin/includes/media.php
r17120 r17141 1344 1344 $item .= $field[ $field['input'] ]; 1345 1345 elseif ( $field['input'] == 'textarea' ) { 1346 if ( user_can_richedit() ) { // alreadyescaped when user_can_richedit() = false1346 if ( user_can_richedit() ) { // textarea_escaped when user_can_richedit() = false 1347 1347 $field['value'] = esc_textarea( $field['value'] ); 1348 1348 } -
trunk/wp-admin/includes/meta-boxes.php
r17113 r17141 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 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> 292 292 <?php if ( current_user_can($taxonomy->cap->assign_terms) ) : ?> 293 293 <div class="ajaxtag hide-if-no-js"> … … 384 384 function post_excerpt_meta_box($post) { 385 385 ?> 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> 387 387 <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> 388 388 <?php … … 887 887 <tr class="form-field"> 888 888 <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> 890 890 </tr> 891 891 <tr class="form-field"> -
trunk/wp-admin/user-edit.php
r17095 r17141 355 355 <tr> 356 356 <th><label for="description"><?php _e('Biographical Info'); ?></label></th> 357 <td><textarea name="description" id="description" rows="5" cols="30"><?php echo $profileuser->description; // escaped ?></textarea><br />357 <td><textarea name="description" id="description" rows="5" cols="30"><?php echo $profileuser->description; // textarea_escaped ?></textarea><br /> 358 358 <span class="description"><?php _e('Share a little biographical information to fill out your profile. This may be shown publicly.'); ?></span></td> 359 359 </tr>
Note: See TracChangeset
for help on using the changeset viewer.