[wp-trac] [WordPress Trac] #14511: new function - wp_get_sites($args)

WordPress Trac wp-trac at lists.automattic.com
Sat Sep 25 16:29:32 UTC 2010


#14511: new function - wp_get_sites($args)
-------------------------+--------------------------------------------------
 Reporter:  transom      |       Owner:                 
     Type:  enhancement  |      Status:  new            
 Priority:  normal       |   Milestone:  Awaiting Review
Component:  Multisite    |     Version:                 
 Severity:  normal       |    Keywords:  has-patch      
-------------------------+--------------------------------------------------

Comment(by nacin):

 This probably generates quite a bit of notices (turn on WP_DEBUG) since
 most of the variables being extracted don't actually exist in the array.
 include_id is being considered a value, not the key -- should be
 `include_id => ''` instead.

 Lots of LIKEs and such. This query probably isn't very efficient, but it's
 a start we can work off of.

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/14511#comment:5>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list