Changeset 19612
- Timestamp:
- 12/20/2011 09:39:46 PM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-admin/edit-form-comment.php
r19176 r19612 10 10 if ( !defined('ABSPATH') ) 11 11 die('-1'); 12 13 /**14 * @var string15 */16 $submitbutton_text = __('Edit Comment');17 $toprow_title = sprintf(__('Editing Comment # %s'), $comment->comment_ID);18 $form_action = 'editedcomment';19 $form_extra = "' />\n<input type='hidden' name='comment_ID' value='" . esc_attr($comment->comment_ID) . "' />\n<input type='hidden' name='comment_post_ID' value='" . esc_attr($comment->comment_post_ID);20 $comment->comment_author_email = esc_attr($comment->comment_author_email);21 12 ?> 22 23 13 <form name="post" action="comment.php" method="post" id="post"> 24 14 <?php wp_nonce_field('update-comment_' . $comment->comment_ID) ?> … … 28 18 29 19 <div id="poststuff" class="metabox-holder has-right-sidebar"> 30 <input type="hidden" name="user_ID" value="<?php echo (int) $user_ID ?>" /> 31 <input type="hidden" name="action" value='<?php echo $form_action . $form_extra ?>' /> 20 <input type="hidden" name="user_ID" value="<?php echo (int) $user_ID; ?>" /> 21 <input type="hidden" name="action" value="editedcomment" /> 22 <input type="hidden" name="comment_ID" value="<?php echo esc_attr( $comment->comment_ID ); ?>"' /> 23 <input type="hidden" name="comment_post_ID" value="<?php esc_attr( $comment->comment_post_ID ); ?>" /> 32 24 33 25 <div id="side-info-column" class="inner-sidebar">
Note: See TracChangeset
for help on using the changeset viewer.