Remove index-extra.php. Move dashboard widget XHR callbacks to ajax-actions.php. fixes #20242.

git-svn-id: https://develop.svn.wordpress.org/trunk@20190 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Andrew Nacin
2012-03-15 13:20:00 +00:00
parent c5ebfc0584
commit 681c6ea428
7 changed files with 28 additions and 65 deletions

View File

@@ -34,7 +34,10 @@ send_nosniff_header();
do_action( 'admin_init' );
$core_actions_get = array( 'fetch-list', 'ajax-tag-search', 'wp-compression-test', 'imgedit-preview', 'oembed-cache', 'autocomplete-user' );
$core_actions_get = array(
'fetch-list', 'ajax-tag-search', 'wp-compression-test', 'imgedit-preview', 'oembed-cache',
'autocomplete-user', 'dashboard-widgets',
);
$core_actions_post = array(
'oembed-cache', 'image-editor', 'delete-comment', 'delete-tag', 'delete-link',