diff options
author | Yury German <blueknight@gentoo.org> | 2016-02-12 22:22:00 -0500 |
---|---|---|
committer | Yury German <blueknight@gentoo.org> | 2016-02-12 22:22:00 -0500 |
commit | 657cafe0e955cf88033597f131aa50835140c617 (patch) | |
tree | cf21a30d319cb2a238a6cfb8b4eb3b20b1b5dcff /plugins/jetpack/class.jetpack-heartbeat.php | |
parent | Adding New Mantra version 2.4.1.1 - Bug 574468 (diff) | |
download | blogs-gentoo-657cafe0e955cf88033597f131aa50835140c617.tar.gz blogs-gentoo-657cafe0e955cf88033597f131aa50835140c617.tar.bz2 blogs-gentoo-657cafe0e955cf88033597f131aa50835140c617.zip |
Updating plugins easy-table, jetpack, openid, public-post preview, talbe-of-contents-plus, wordress-mobile-pack - Bug 574468
Diffstat (limited to 'plugins/jetpack/class.jetpack-heartbeat.php')
-rw-r--r-- | plugins/jetpack/class.jetpack-heartbeat.php | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/plugins/jetpack/class.jetpack-heartbeat.php b/plugins/jetpack/class.jetpack-heartbeat.php index 744a3a08..2c1fa4f2 100644 --- a/plugins/jetpack/class.jetpack-heartbeat.php +++ b/plugins/jetpack/class.jetpack-heartbeat.php @@ -91,6 +91,11 @@ class Jetpack_Heartbeat { $jetpack->do_stats( 'server_side' ); + /** + * Fires when we synchronize all registered options on heartbeat. + * + * @since 3.3.0 + */ do_action( 'jetpack_heartbeat' ); } @@ -105,12 +110,15 @@ class Jetpack_Heartbeat { $return["{$prefix}php-branch"] = floatval( PHP_VERSION ); $return["{$prefix}public"] = Jetpack_Options::get_option( 'public' ); $return["{$prefix}ssl"] = Jetpack::permit_ssl(); + $return["{$prefix}is-https"] = is_ssl() ? 'https' : 'http'; $return["{$prefix}language"] = get_bloginfo( 'language' ); $return["{$prefix}charset"] = get_bloginfo( 'charset' ); $return["{$prefix}is-multisite"] = is_multisite() ? 'multisite' : 'singlesite'; $return["{$prefix}identitycrisis"] = Jetpack::check_identity_crisis( 1 ) ? 'yes' : 'no'; $return["{$prefix}plugins"] = implode( ',', Jetpack::get_active_plugins() ); + $return["{$prefix}single-user-site"]= Jetpack::is_single_user_site(); + $return["{$prefix}manage-enabled"] = Jetpack::is_module_active( 'manage' ); // is-multi-network can have three values, `single-site`, `single-network`, and `multi-network` |