Make WordPress Core

Changeset 12672 for trunk/xmlrpc.php


Ignore:
Timestamp:
01/08/2010 08:29:56 PM (15 years ago)
Author:
ryan
Message:

Use is_super_admin() instead of is_site_admin(). Props GIGALinux see #11644

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/xmlrpc.php

    r12515 r12672  
    444444    function wp_getUsersBlogs( $args ) {
    445445        // If this isn't on WPMU then just use blogger_getUsersBlogs
    446         if( !function_exists( 'is_site_admin' ) ) {
     446        if( !is_multisite() ) {
    447447            array_unshift( $args, 1 );
    448448            return $this->blogger_getUsersBlogs( $args );
Note: See TracChangeset for help on using the changeset viewer.