Server IP : 52.91.253.208 / Your IP : 3.22.71.106 [ Web Server : Apache System : Linux ip-172-26-9-9 4.19.0-25-cloud-amd64 #1 SMP Debian 4.19.289-1 (2023-07-24) x86_64 User : daemon ( 1) PHP Version : 7.3.18 Disable Function : NONE Domains : 3 Domains MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : ON | Pkexec : OFF Directory : /opt/bitnami/apps/wordpress/htdocs/wp-content/plugins_old/jetpack/modules/ |
Upload File : |
<?php /** * Module Name: Manage * Module Description: Manage all of your sites from a centralized dashboard. * Jumpstart Description: Helps you remotely manage plugins, turn on automated updates, and more from <a href="https://wordpress.com/plugins/" target="_blank">wordpress.com</a>. * Sort Order: 1 * Recommendation Order: 3 * First Introduced: 3.4 * Requires Connection: Yes * Auto Activate: Yes * Module Tags: Centralized Management, Recommended * Feature: General * Additional Search Queries: manage, management, remote */ add_action( 'customize_register', 'add_wpcom_to_allowed_redirect_hosts' ); // Add wordpress.com to the safe redirect whitelist if the Manage module is enabled // so the customizer can `return` to wordpress.com if invoked from there. function add_wpcom_to_allowed_redirect_hosts( $domains ) { if ( Jetpack::is_module_active( 'manage' ) ) { add_filter( 'allowed_redirect_hosts', 'allow_wpcom_domain' ); } } // Return $domains, with 'wordpress.com' appended. function allow_wpcom_domain( $domains ) { if ( empty( $domains ) ) { $domains = array(); } $domains[] = 'wordpress.com'; return array_unique( $domains ); } Jetpack::module_configuration_screen( 'manage', 'jetpack_manage_config_screen' ); function jetpack_manage_config_screen() { include ( JETPACK__PLUGIN_DIR . 'modules/manage/confirm-admin.php' ); }