summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/jetpack/class.jetpack-admin.php')
-rw-r--r--plugins/jetpack/class.jetpack-admin.php3
1 files changed, 1 insertions, 2 deletions
diff --git a/plugins/jetpack/class.jetpack-admin.php b/plugins/jetpack/class.jetpack-admin.php
index 6e46ee38..81a792cc 100644
--- a/plugins/jetpack/class.jetpack-admin.php
+++ b/plugins/jetpack/class.jetpack-admin.php
@@ -36,14 +36,13 @@ class Jetpack_Admin {
if ( isset( $_POST['jetpack-set-master-user'] ) ) {
add_action( 'init', array( $this->my_jetpack_page, 'jetpack_my_jetpack_change_user' ) );
}
-
+
// Add hooks for admin menus
add_action( 'admin_menu', array( $this->landing_page, 'add_actions' ), 998 );
add_action( 'jetpack_admin_menu', array( $this, 'admin_menu_debugger' ) );
add_action( 'jetpack_admin_menu', array( $this->settings_page, 'add_actions' ) );
add_action( 'jetpack_admin_menu', array( $this->my_jetpack_page, 'add_actions' ) );
-
// Add redirect to current page for activation/deactivation of modules
add_action( 'jetpack_pre_activate_module', array( $this, 'fix_redirect' ), 10, 2 );
add_action( 'jetpack_pre_deactivate_module', array( $this, 'fix_redirect' ) );