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/option/multisite.php

    r46586 r47013  
    105105                array(
    106106                    'user_id' => $user_id,
    107                     'meta'    => array(
    108                         'public' => 1,
    109                     ),
     107                    'public'  => 1,
    110108                )
    111109            );
Note: See TracChangeset for help on using the changeset viewer.