summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/jetpack/modules/masterbar/masterbar.php')
-rw-r--r--plugins/jetpack/modules/masterbar/masterbar.php6
1 files changed, 2 insertions, 4 deletions
diff --git a/plugins/jetpack/modules/masterbar/masterbar.php b/plugins/jetpack/modules/masterbar/masterbar.php
index d38b9e67..5045047b 100644
--- a/plugins/jetpack/modules/masterbar/masterbar.php
+++ b/plugins/jetpack/modules/masterbar/masterbar.php
@@ -45,8 +45,6 @@ class A8C_WPCOM_Masterbar {
// override user setting that hides masterbar from site's front.
// https://github.com/Automattic/jetpack/issues/7667
add_filter( 'show_admin_bar', '__return_true' );
- // Always sign out from .com from the masterbar
- add_filter( 'jetpack_masterbar_should_logout_from_wpcom', '__return_true' );
}
$this->user_data = Jetpack::get_connected_user_data( $this->user_id );
@@ -92,9 +90,9 @@ class A8C_WPCOM_Masterbar {
*
* @since 5.9.0
*
- * @param bool $masterbar_should_logout_from_wpcom False by default.
+ * @param bool $masterbar_should_logout_from_wpcom True by default.
*/
- $masterbar_should_logout_from_wpcom = apply_filters( 'jetpack_masterbar_should_logout_from_wpcom', false );
+ $masterbar_should_logout_from_wpcom = apply_filters( 'jetpack_masterbar_should_logout_from_wpcom', true );
if (
isset( $_GET['context'] ) &&
'masterbar' === $_GET['context'] &&