mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-07-27 20:40:21 +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:
@@ -83,7 +83,7 @@ if ( is_multisite() ) :
|
||||
$site_id = self::factory()->blog->create(
|
||||
array(
|
||||
'user_id' => self::$user_id,
|
||||
'meta' => array( 'spam' => 1 ),
|
||||
'spam' => 1,
|
||||
)
|
||||
);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user