[wp-trac] [WordPress Trac] #31985: WP_Network class

WordPress Trac noreply at wordpress.org
Thu Sep 10 21:28:35 UTC 2015


#31985: WP_Network class
------------------------------------+-------------------------
 Reporter:  johnjamesjacoby         |       Owner:  jeremyfelt
     Type:  task (blessed)          |      Status:  accepted
 Priority:  normal                  |   Milestone:  4.4
Component:  Networks and Sites      |     Version:  3.0
 Severity:  normal                  |  Resolution:
 Keywords:  dev-feedback has-patch  |     Focuses:  multisite
------------------------------------+-------------------------

Comment (by spacedmonkey):

 Big changes in my patch

 - Allow get_instance to take WP_Network object as a param.
 - Added pre_get_network filter in get_instance method, so you can short-
 circuit. Based on pre_get_network_by_path
 - get_core_option_keys method also now has a filter.

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


More information about the wp-trac mailing list