Add a filter to is_multi_author(). props Viper007Bond, fixes #18600.
git-svn-id: https://develop.svn.wordpress.org/trunk@18649 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
182fa5fc58
commit
e9a78f4ad7
@ -385,7 +385,7 @@ function is_multi_author() {
|
||||
wp_cache_set('is_multi_author', $is_multi_author, 'posts');
|
||||
}
|
||||
|
||||
return (bool) $is_multi_author;
|
||||
return apply_filters( 'is_multi_author', (bool) $is_multi_author );
|
||||
}
|
||||
|
||||
/**
|
||||
|
Loading…
Reference in New Issue
Block a user