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:
Ryan Boren
2010-01-08 20:29:56 +00:00
parent f0761d7cf6
commit b153c75949
4 changed files with 18 additions and 18 deletions

View File

@@ -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 );
}