mirror of
https://github.com/WordPress/WordPress.git
synced 2024-09-29 15:47:38 +02:00
Tests: Switch WP_UnitTest_Factory_For_Blog::create_object()
to use wp_insert_site()
.
Map some arguments for backward compatibility with `wpmu_create_blog()` previously used there. Props davidbaumwald, danielbachhuber, jeremyfelt, SergeyBiryukov. See #47195. Built from https://develop.svn.wordpress.org/trunk@47011 git-svn-id: http://core.svn.wordpress.org/trunk@46811 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
8990cf9296
commit
e2231ec703
@ -13,7 +13,7 @@
|
|||||||
*
|
*
|
||||||
* @global string $wp_version
|
* @global string $wp_version
|
||||||
*/
|
*/
|
||||||
$wp_version = '5.4-alpha-47010';
|
$wp_version = '5.4-alpha-47011';
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.
|
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.
|
||||||
|
Loading…
Reference in New Issue
Block a user