Make WordPress Core


Ignore:
Timestamp:
12/25/2019 09:39:46 PM (4 years ago)
Author:
SergeyBiryukov
Message:

Tests: Update legacy arguments passed to WP_UnitTest_Factory_For_Blog::create_object().

This converts the arguments originally meant for wpmu_create_blog() to the ones used by wp_insert_site().

Follow-up to [47011].

Fixes #47195.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/tests/phpunit/tests/user/getActiveBlogForUser.php

    r47012 r47013  
    8484                array(
    8585                    'user_id' => self::$user_id,
    86                     'meta'    => array( 'spam' => 1 ),
     86                    'spam'    => 1,
    8787                )
    8888            );
Note: See TracChangeset for help on using the changeset viewer.