From 3992509821a07c35598bad6b38462019d8849e37 Mon Sep 17 00:00:00 2001 From: ryan Date: Tue, 19 Feb 2008 20:24:50 +0000 Subject: [PATCH] Add admin_init action. fixes #5924 git-svn-id: http://svn.automattic.com/wordpress/trunk@6915 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- 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);