[wp-trac] [WordPress Trac] #29415: $sites global (containing all networks) no longer exists, with no replacement

WordPress Trac noreply at wordpress.org
Thu Aug 28 10:51:07 UTC 2014


#29415: $sites global (containing all networks) no longer exists, with no
replacement
--------------------------------+------------------------------
 Reporter:  rmccue              |       Owner:
     Type:  enhancement         |      Status:  new
 Priority:  normal              |   Milestone:  Awaiting Review
Component:  Networks and Sites  |     Version:  3.9
 Severity:  normal              |  Resolution:
 Keywords:                      |     Focuses:  multisite
--------------------------------+------------------------------

Comment (by rmccue):

 Also note, nacin on #27003:

 > I figure that wp_get_network() will eventually start returning a proper
 object, so I wanted to go ahead with this abstraction now. Also,
 originally, there was some decoration that occurred in wp_get_network().
 It doesn't matter for the moment. That said, emphasizing that a DB row
 should be passed through to wp_get_network() sets a good standard for
 others to do so, which means the migration to a proper object might be
 smoother.

 With this, we might want to look at actually making those objects.

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


More information about the wp-trac mailing list