Changeset 17113 for trunk/wp-admin/admin-ajax.php
- Timestamp:
- 12/22/2010 07:03:43 PM (15 years ago)
- File:
-
- 1 edited
-
trunk/wp-admin/admin-ajax.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-admin/admin-ajax.php
r17080 r17113 626 626 set_current_screen( 'edit-comments' ); 627 627 628 $wp_list_table = get_list_table('WP_Comments_List_Table');629 $wp_list_table->checkbox = ( isset($_POST['checkbox']) && true == $_POST['checkbox'] ) ? 1 : 0;630 631 628 $comment_post_ID = (int) $_POST['comment_post_ID']; 632 629 if ( !current_user_can( 'edit_post', $comment_post_ID ) ) … … 675 672 _wp_dashboard_recent_comments_row( $comment ); 676 673 } else { 674 if ( 'single' == $_REQUEST['mode'] ) { 675 $wp_list_table = get_list_table('WP_Post_Comments_List_Table'); 676 } else { 677 $wp_list_table = get_list_table('WP_Comments_List_Table'); 678 } 677 679 $wp_list_table->single_row( $comment ); 678 680 }
Note: See TracChangeset
for help on using the changeset viewer.