[wp-trac] [WordPress Trac] #14511: new function - wp_get_sites($args)
WordPress Trac
wp-trac at lists.automattic.com
Thu Feb 24 19:40:19 UTC 2011
#14511: new function - wp_get_sites($args)
---------------------------------+-----------------------------
Reporter: transom | Owner:
Type: enhancement | Status: new
Priority: normal | Milestone: Future Release
Component: Multisite | Version:
Severity: normal | Resolution:
Keywords: has-patch 3.2-early |
---------------------------------+-----------------------------
Comment (by cesperanc):
Replying to [comment:9 kahless]:
> Replying to [comment:8 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.
>
> I am running a subdirectory install if that makes any difference.
I've the same problem here. Renaming {$wpdb->site_id} to {$wpdb->siteid}
seams to resolve the problem.
--
Ticket URL: <http://core.trac.wordpress.org/ticket/14511#comment:11>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list