diff --git a/includes/functions.php b/includes/functions.php index 29e3d33f..49a72ca2 100644 --- a/includes/functions.php +++ b/includes/functions.php @@ -506,7 +506,10 @@ function is_user_type_disabled( $type ) { * @return boolean True if the blog is in single-user mode, false otherwise. */ function is_single_user() { - if ( '2' === get_option( 'activitypub_actor_mode', '1' ) ) { + if ( + false === is_user_type_disabled( 'blog' ) && + true === is_user_type_disabled( 'user' ) + ) { return true; }