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

WordPress Trac wp-trac at lists.automattic.com
Thu Nov 11 19:14:34 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 kahless):

 Copied wp_get_sites2.php into my themes functions.php and am getting

 Undefined property: wpdb::$site_id in /path-to-wp-content/wp-
 content/themes/delicious/functions.php on line 159

 and line 159 is

 $query .= "WHERE b.`site_id` = '{$wpdb->site_id}' ";

 I am running the latest nightly build.

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


More information about the wp-trac mailing list