mirror of
https://github.com/Automattic/wordpress-activitypub
synced 2024-10-18 16:23:34 +00:00
revert unnecessary changes
This commit is contained in:
parent
ba7dcab207
commit
871ad46ad8
1 changed files with 4 additions and 1 deletions
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue