Ticket #17413: 17413.diff
| File 17413.diff, 894 bytes (added by sorich87, 2 years ago) |
|---|
-
wp-admin/includes/template.php
331 331 return; 332 332 } 333 333 334 if ( $mode == 'single' ) { 335 $wp_list_table = _get_list_table('WP_Post_Comments_List_Table'); 336 } else { 337 $wp_list_table = _get_list_table('WP_Comments_List_Table'); 334 if ( ! ( is_object( $wp_list_table ) && is_a( $wp_list_table, 'WP_Comments_List_Table' ) ) ) { 335 if ( $mode == 'single' ) { 336 $wp_list_table = _get_list_table('WP_Post_Comments_List_Table'); 337 } else { 338 $wp_list_table = _get_list_table('WP_Comments_List_Table'); 339 } 338 340 } 339 341 340 342 ?> … … 1742 1744 1743 1745 if ( !empty($wp_current_screen_options) ) 1744 1746 $show_screen = true; 1745 1747 1746 1748 $show_screen = apply_filters('screen_options_show_screen', $show_screen, $screen); 1747 1749 1748 1750 ?>