diff options
author | Anthony G. Basile <blueness@gentoo.org> | 2016-11-30 16:22:57 -0500 |
---|---|---|
committer | Anthony G. Basile <blueness@gentoo.org> | 2016-11-30 16:22:57 -0500 |
commit | fbf8cf39f7ec35489332158cb2f73ea535279e5b (patch) | |
tree | b8025a3b964e60077492449c0e35bf675bcd6939 /plugins/jetpack/class.jetpack-heartbeat.php | |
parent | Update plugin openid to 3.4.2 (diff) | |
download | blogs-gentoo-fbf8cf39f7ec35489332158cb2f73ea535279e5b.tar.gz blogs-gentoo-fbf8cf39f7ec35489332158cb2f73ea535279e5b.tar.bz2 blogs-gentoo-fbf8cf39f7ec35489332158cb2f73ea535279e5b.zip |
Update plugin jetpack to 4.4.1
Diffstat (limited to 'plugins/jetpack/class.jetpack-heartbeat.php')
-rw-r--r-- | plugins/jetpack/class.jetpack-heartbeat.php | 9 |
1 files changed, 1 insertions, 8 deletions
diff --git a/plugins/jetpack/class.jetpack-heartbeat.php b/plugins/jetpack/class.jetpack-heartbeat.php index 2df8c8d9..9e4702d1 100644 --- a/plugins/jetpack/class.jetpack-heartbeat.php +++ b/plugins/jetpack/class.jetpack-heartbeat.php @@ -114,11 +114,8 @@ class Jetpack_Heartbeat { $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}identitycrisis"] = Jetpack::check_identity_crisis() ? '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` @@ -139,10 +136,6 @@ class Jetpack_Heartbeat { $return["{$prefix}module-{$slug}"] = Jetpack::is_module_active( $slug ) ? 'on' : 'off'; } - require_once dirname(__FILE__).'/sync/class.jetpack-sync-wp-replicastore.php'; - $store = new Jetpack_Sync_WP_Replicastore(); - $return["{$prefix}sync-checksum"] = json_encode( $store->checksum_all() ); - return $return; } |