Changeset 15666
- Timestamp:
- 09/26/2010 10:02:23 AM (15 years ago)
- Location:
- trunk/wp-admin
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-admin/edit-comments.php
r15642 r15666 18 18 check_admin_referer( 'bulk-comments' ); 19 19 20 if ( 'delete_all' == $do _action && !empty( $_REQUEST['pagegen_timestamp'] ) ) {20 if ( 'delete_all' == $doaction && !empty( $_REQUEST['pagegen_timestamp'] ) ) { 21 21 $comment_status = $wpdb->escape( $_REQUEST['comment_status'] ); 22 22 $delete_time = $wpdb->escape( $_REQUEST['pagegen_timestamp'] ); … … 30 30 } else { 31 31 wp_redirect( wp_get_referer() ); 32 exit; 32 33 } 33 34 … … 218 219 <?php } ?> 219 220 221 <br class="clear" /> 222 220 223 <?php if ( $wp_list_table->has_items() ) { ?> 221 224 -
trunk/wp-admin/includes/default-list-tables.php
r15653 r15666 2441 2441 $action .= ' hide-if-no-js'; 2442 2442 elseif ( ( $action == 'untrash' && $the_comment_status == 'trash' ) || ( $action == 'unspam' && $the_comment_status == 'spam' ) ) { 2443 if ( '1' == get_comment_meta( $comment _id, '_wp_trash_meta_status', true ) )2443 if ( '1' == get_comment_meta( $comment->comment_ID, '_wp_trash_meta_status', true ) ) 2444 2444 $action .= ' approve'; 2445 2445 else
Note: See TracChangeset
for help on using the changeset viewer.