mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-07-01 15:50:09 +00:00
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. git-svn-id: https://develop.svn.wordpress.org/trunk@47013 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
@@ -38,19 +38,19 @@ if ( is_multisite() ) :
|
||||
|
||||
$sites = array(
|
||||
array(
|
||||
'domain' => 'wordpress.org',
|
||||
'path' => '/',
|
||||
'site_id' => self::$different_network_id,
|
||||
'domain' => 'wordpress.org',
|
||||
'path' => '/',
|
||||
'network_id' => self::$different_network_id,
|
||||
),
|
||||
array(
|
||||
'domain' => 'wordpress.org',
|
||||
'path' => '/foo/',
|
||||
'site_id' => self::$different_network_id,
|
||||
'domain' => 'wordpress.org',
|
||||
'path' => '/foo/',
|
||||
'network_id' => self::$different_network_id,
|
||||
),
|
||||
array(
|
||||
'domain' => 'wordpress.org',
|
||||
'path' => '/bar/',
|
||||
'site_id' => self::$different_network_id,
|
||||
'domain' => 'wordpress.org',
|
||||
'path' => '/bar/',
|
||||
'network_id' => self::$different_network_id,
|
||||
),
|
||||
);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user