| Server IP : 27.254.66.5 / Your IP : 216.73.216.177 Web Server : Apache/2 System : Linux cs82.hostneverdie.com 3.10.0-1160.45.1.el7.x86_64 #1 SMP Wed Oct 13 17:20:51 UTC 2021 x86_64 User : technic2 ( 1951) PHP Version : 7.4.30 Disable Function : apache_child_terminate, apache_setenv, define_syslog_variables, escapeshellarg, escapeshellcmd,exec, fp, fput, highlight_file, ini_alter, ini_restore, inject_code, passthru,phpAds_remoteInfo, phpAds_XmlRpc,phpAds_xmlrpcDecode, phpAds_xmlrpcEncode, popen, posix_getpwuid, posix_kill, posix_mkfifo, posix_setpgid, posix_setsid,posix_setuid, posix_setuid, posix_uname,proc_open,proc_close, proc_get_status, proc_nice, proc_terminate, shell_exec, syslog, system, xmlrpc_entity_decode, show_source,sleep,pcntl_exec,virtual,suexec,dbmopen,dl,symlink,disk_free_space,diskfreespace,leak MySQL : OFF | cURL : ON | WGET : OFF | Perl : OFF | Python : OFF | Sudo : OFF | Pkexec : OFF Directory : /home/technic2/public_html/old-website/wp-content/plugins/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' );
}