[wp-trac] [WordPress Trac] #38602: WP_UnitTest_Factory_For_Network::get_object_by_id() calling deprecated wp_get_network()

WordPress Trac noreply at wordpress.org
Tue Nov 1 16:51:28 UTC 2016


#38602: WP_UnitTest_Factory_For_Network::get_object_by_id() calling deprecated
wp_get_network()
--------------------------------+-------------------------
 Reporter:  johnjamesjacoby     |       Owner:  jeremyfelt
     Type:  defect (bug)        |      Status:  closed
 Priority:  normal              |   Milestone:  4.7
Component:  Networks and Sites  |     Version:  4.6
 Severity:  normal              |  Resolution:  fixed
 Keywords:  has-patch           |     Focuses:  multisite
--------------------------------+-------------------------
Changes (by jeremyfelt):

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


Comment:

 In [changeset:"39071"]:
 {{{
 #!CommitTicketReference repository="" revision="39071"
 Multisite: Use `get_network()` in `WP_UnitTest_Factory_For_Network`.

 `wp_get_network()` was deprecated in 4.6.

 Props johnjamesjacoby.
 Fixes #38602.
 }}}

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


More information about the wp-trac mailing list