[wp-trac] [WordPress Trac] #40511: get_blogs_of_user should return an array of WP_Site objects

WordPress Trac noreply at wordpress.org
Fri Apr 21 10:24:56 UTC 2017


#40511: get_blogs_of_user should return an array of WP_Site objects
--------------------------------+-----------------------------
 Reporter:  spacedmonkey        |      Owner:
     Type:  enhancement         |     Status:  new
 Priority:  normal              |  Milestone:  Awaiting Review
Component:  Networks and Sites  |    Version:
 Severity:  normal              |   Keywords:
  Focuses:  multisite           |
--------------------------------+-----------------------------
 Currently the get_blogs_of_user uses get_sites to get list of sites. The
 code loops through the list and creates std objects. However, this is now
 needed. It is much better to return a list of WP_Sites.

--
Ticket URL: <https://core.trac.wordpress.org/ticket/40511>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list