Changeset 8720 for trunk/wp-admin/edit-comments.php
- Timestamp:
- 08/24/2008 06:56:22 AM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-admin/edit-comments.php
r8710 r8720 12 12 $title = __('Edit Comments'); 13 13 wp_enqueue_script( 'admin-comments' ); 14 wp_enqueue_script('admin-forms'); 14 wp_enqueue_script( 'admin-forms' ); 15 wp_enqueue_script( 'quicktags' ); 15 16 16 17 if ( !empty( $_REQUEST['delete_comments'] ) && isset($_REQUEST['action']) ) { … … 54 55 require_once('admin-header.php'); 55 56 56 if ( empty($_GET['mode']) ) 57 $mode = 'detail'; 58 else 59 $mode = attribute_escape($_GET['mode']); 60 61 if ( isset($_GET['comment_status']) ) 62 $comment_status = attribute_escape($_GET['comment_status']); 63 else 64 $comment_status = ''; 65 66 if ( isset($_GET['s']) ) 67 $search_dirty = $_GET['s']; 68 else 69 $search_dirty = ''; 57 $mode = ( ! isset($_GET['mode']) || empty($_GET['mode']) ) ? 'detail' : attribute_escape($_GET['mode']); 58 59 $comment_status = isset($_GET['comment_status']) ? attribute_escape($_GET['comment_status']) : ''; 60 61 $search_dirty = ( isset($_GET['s']) ) ? $_GET['s'] : ''; 70 62 $search = attribute_escape( $search_dirty ); 71 63 ?> … … 216 208 <th scope="col" class="comment-column"><?php _e('Comment') ?></th> 217 209 <th scope="col" class="author-column"><?php _e('Author') ?></th> 218 <th scope="col" class="date-column"><?php _e(' CommentSubmitted') ?></th>210 <th scope="col" class="date-column"><?php _e('Submitted') ?></th> 219 211 <th scope="col" class="response-column"><?php _e('In Response To This Post') ?></th> 220 212 </tr> … … 270 262 </div> 271 263 272 <?php include('admin-footer.php'); ?> 264 <?php 265 wp_comment_reply('-1', true, 'detail'); 266 include('admin-footer.php'); ?>
Note: See TracChangeset
for help on using the changeset viewer.