// Require a valid action parameter.
if ( empty( $_REQUEST['action'
] ) || !
is_scalar( $_REQUEST['action'
] ) ) { wp_die( '0', 400
);
}/** Load WordPress Administration APIs */
require_once ABSPATH . 'wp-admin/includes/admin.php';
/** Load Ajax Handlers for WordPress Core */
require_once ABSPATH . 'wp-admin/includes/ajax-actions.php';
send_nosniff_header();
nocache_headers();
/** This action is documented in wp-admin/admin.php */
do_action( 'admin_init'
);
$core_actions_get = array
( 'fetch-list',
'ajax-tag-search',
'wp-compression-test',
'imgedit-preview',
'oembed-cache',