[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 21:39:59 UTC 2019


#47195: Switch WP_UnitTest_Factory_For_Blog->create_object() to use
wp_insert_site()
------------------------------+-----------------------------
 Reporter:  danielbachhuber   |       Owner:  SergeyBiryukov
     Type:  defect (bug)      |      Status:  closed
 Priority:  normal            |   Milestone:  5.4
Component:  Build/Test Tools  |     Version:
 Severity:  normal            |  Resolution:  fixed
 Keywords:  has-patch         |     Focuses:
------------------------------+-----------------------------
Changes (by SergeyBiryukov):

 * status:  reviewing => closed
 * resolution:   => fixed


Comment:

 In [changeset:"47013" 47013]:
 {{{
 #!CommitTicketReference repository="" revision="47013"
 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.
 }}}

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/47195#comment:10>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list