Changeset 17255 for trunk/wp-admin/admin-ajax.php
- Timestamp:
- 01/11/2011 08:03:50 PM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-admin/admin-ajax.php
r17228 r17255 53 53 case 'fetch-list' : 54 54 55 $list_class = $_GET['list_args']['class']; 56 check_ajax_referer( "fetch-list-$list_class", '_ajax_fetch_list_nonce' ); 57 55 58 $current_screen = (object) $_GET['list_args']['screen']; 56 59 //TODO fix this in a better way see #15336 … … 61 64 define( 'WP_USER_ADMIN', $current_screen->is_user ); 62 65 63 $wp_list_table = get_list_table( $ _GET['list_args']['class']);66 $wp_list_table = get_list_table( $list_class ); 64 67 if ( ! $wp_list_table ) 65 68 die( '0' ); … … 1090 1093 require_once ABSPATH . 'wp-admin/includes/internal-linking.php'; 1091 1094 1095 check_ajax_referer( 'internal-linking', '_ajax_linking_nonce' ); 1096 1092 1097 $args = array(); 1093 1098
Note: See TracChangeset
for help on using the changeset viewer.