Ticket #18340: 18340.patch
File 18340.patch, 820 bytes (added by , 14 years ago) |
---|
-
wp-admin/admin-ajax.php
727 727 edit_comment(); 728 728 729 729 $position = ( isset($_POST['position']) && (int) $_POST['position']) ? (int) $_POST['position'] : '-1'; 730 $comments_status = isset($_POST['comments_listing']) ? $_POST['comments_listing'] : ''; 730 $GLOBALS['comment_status'] = isset( $_POST['comments_listing'] ) ? $_POST['comments_listing'] : 'all'; 731 $checkbox = ( isset($_POST['checkbox']) && true == $_POST['checkbox'] ) ? 1 : 0; 731 732 732 $checkbox = ( isset($_POST['checkbox']) && true == $_POST['checkbox'] ) ? 1 : 0;733 733 $wp_list_table = _get_list_table( $checkbox ? 'WP_Comments_List_Table' : 'WP_Post_Comments_List_Table' ); 734 734 735 735 ob_start();