[wp-trac] [WordPress Trac] #25645: Document return value from wp_get_sites()

WordPress Trac noreply at wordpress.org
Mon Oct 21 06:37:32 UTC 2013


#25645: Document return value from wp_get_sites()
--------------------------+-----------------------------
 Reporter:  rmccue        |      Owner:
     Type:  defect (bug)  |     Status:  new
 Priority:  normal        |  Milestone:  Awaiting Review
Component:  Inline Docs   |    Version:
 Severity:  normal        |   Keywords:  needs-patch
--------------------------+-----------------------------
 The new `wp_get_sites()` function in 3.7 is pretty non-specific on what it
 actually returns, just noting that it returns "an array of site data"
 without saying what it actually returns. I really hate functions that do
 this, as it means you have to use it and dump the result, or check the
 Codex for an example.

--
Ticket URL: <http://core.trac.wordpress.org/ticket/25645>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list