diff options
Diffstat (limited to 'plugins/jetpack/modules/manage.php')
-rw-r--r-- | plugins/jetpack/modules/manage.php | 13 |
1 files changed, 0 insertions, 13 deletions
diff --git a/plugins/jetpack/modules/manage.php b/plugins/jetpack/modules/manage.php index e084e9d4..efc81419 100644 --- a/plugins/jetpack/modules/manage.php +++ b/plugins/jetpack/modules/manage.php @@ -12,9 +12,6 @@ * Feature: Recommended * Additional Search Queries: manage, management, remote */ - -add_action( 'jetpack_activate_module_manage', array( Jetpack::init(), 'toggle_module_on_wpcom' ) ); -add_action( 'jetpack_deactivate_module_manage', array( Jetpack::init(), 'toggle_module_on_wpcom' ) ); add_action( 'customize_register', 'add_wpcom_to_allowed_redirect_hosts' ); // Add wordpress.com to the safe redirect whitelist if the Manage module is enabled @@ -34,16 +31,6 @@ function allow_wpcom_domain( $domains ) { return array_unique( $domains ); } -// Re add sync for non public posts when the optin is selected in Calypso. -// This will only work if you have manage enabled as well. -if ( Jetpack_Options::get_option( 'sync_non_public_post_stati' ) ) { - $sync_options = array( - 'post_types' => get_post_types( array( 'public' => true ) ), - 'post_stati' => get_post_stati(), - ); - Jetpack_Sync::sync_posts( __FILE__, $sync_options ); -} - Jetpack::module_configuration_screen( 'manage', 'jetpack_manage_config_screen' ); function jetpack_manage_config_screen() { include ( JETPACK__PLUGIN_DIR . 'modules/manage/confirm-admin.php' ); |