mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-07-01 15:50:09 +00:00
Use is_super_admin() instead of is_site_admin(). Props GIGALinux see #11644
git-svn-id: https://develop.svn.wordpress.org/trunk@12672 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
@@ -443,7 +443,7 @@ class wp_xmlrpc_server extends IXR_Server {
|
||||
*/
|
||||
function wp_getUsersBlogs( $args ) {
|
||||
// If this isn't on WPMU then just use blogger_getUsersBlogs
|
||||
if( !function_exists( 'is_site_admin' ) ) {
|
||||
if( !is_multisite() ) {
|
||||
array_unshift( $args, 1 );
|
||||
return $this->blogger_getUsersBlogs( $args );
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user