[wp-trac] [WordPress Trac] #47195: Switch WP_UnitTest_Factory_For_Blog->create_object() to use wp_insert_site()
WordPress Trac
noreply at wordpress.org
Wed Dec 25 18:10:31 UTC 2019
#47195: Switch WP_UnitTest_Factory_For_Blog->create_object() to use
wp_insert_site()
------------------------------+-----------------------------
Reporter: danielbachhuber | Owner: SergeyBiryukov
Type: defect (bug) | Status: reviewing
Priority: normal | Milestone: 5.4
Component: Build/Test Tools | Version:
Severity: normal | Resolution:
Keywords: has-patch | Focuses:
------------------------------+-----------------------------
Comment (by SergeyBiryukov):
In [changeset:"47011" 47011]:
{{{
#!CommitTicketReference repository="" revision="47011"
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.
}}}
--
Ticket URL: <https://core.trac.wordpress.org/ticket/47195#comment:8>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list