Ticket #14579: 14579-fix_current_screen.diff
File 14579-fix_current_screen.diff, 548 bytes (added by , 15 years ago) |
---|
-
wp-admin/admin-ajax.php
52 52 switch ( $action = $_GET['action'] ) : 53 53 case 'fetch-list' : 54 54 55 $current_screen = (object) $_GET['list_args']['screen']; 55 56 $wp_list_table = get_list_table( $_GET['list_args']['class'] ); 56 57 if ( ! $wp_list_table ) 57 58 die( '0' ); 58 59 59 $current_screen = (object) $_GET['list_args']['screen'];60 60 $wp_list_table->ajax_response(); 61 61 62 62 die( '0' );