mirror of
https://github.com/WordPress/WordPress.git
synced 2025-03-02 19:39:32 +00:00
Fire admin_init action in admin-ajax. Props DD32. fixes #8574
git-svn-id: http://svn.automattic.com/wordpress/trunk@10622 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
1b4ac5206d
commit
8817375a71
@ -18,6 +18,8 @@ require_once('../wp-load.php');
|
||||
require_once('includes/admin.php');
|
||||
@header('Content-Type: text/html; charset=' . get_option('blog_charset'));
|
||||
|
||||
do_action('admin_init');
|
||||
|
||||
if ( ! is_user_logged_in() ) {
|
||||
|
||||
if ( $_POST['action'] == 'autosave' ) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user