From 761397a1481fa51eb014f2a0bc963310ea2cf26f Mon Sep 17 00:00:00 2001 From: Ryan Boren Date: Tue, 19 Feb 2008 20:24:50 +0000 Subject: [PATCH] Add admin_init action. fixes #5924 git-svn-id: https://develop.svn.wordpress.org/trunk@6915 602fd350-edb4-49c9-b593-d223f7449a82 --- wp-admin/admin.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/wp-admin/admin.php b/wp-admin/admin.php index c84d418f61..d500d293f4 100644 --- a/wp-admin/admin.php +++ b/wp-admin/admin.php @@ -38,6 +38,8 @@ if (isset($_GET['page'])) { require(ABSPATH . 'wp-admin/menu.php'); +do_action('admin_init'); + // Handle plugin admin pages. if (isset($plugin_page)) { $page_hook = get_plugin_page_hook($plugin_page, $pagenow);