Make WordPress Core


Ignore:
Timestamp:
06/29/2026 02:12:06 PM (2 months ago)
Author:
SergeyBiryukov
Message:

XML-RPC: Correct argument mismatch in ::_multisite_getUsersBlogs().

This ensures that ::wp_getUsersBlogs() receives the valid authentication arguments when called from ::blogger_getUsersBlogs() via ::_multisite_getUsersBlogs().

Follow-up to [54468].

Props sainathpoojary, SergeyBiryukov.
Fixes #65536.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-includes/class-wp-xmlrpc-server.php

    r62178 r62572  
    48934893                $path   = $current_blog->path . 'xmlrpc.php';
    48944894
    4895                 $blogs = $this->wp_getUsersBlogs( $args );
     4895                $blogs = $this->wp_getUsersBlogs( array( $args[1], $args[2] ) );
    48964896                if ( $blogs instanceof IXR_Error ) {
    48974897                        return $blogs;
Note: See TracChangeset for help on using the changeset viewer.