[wpmu-trac] [WordPress MU Trac] #1132: add get_blog_prefix to wpdb class

WordPress MU Trac wpmu-trac at lists.automattic.com
Wed Oct 21 14:04:31 UTC 2009


#1132: add get_blog_prefix to wpdb class
-------------------------+--------------------------------------------------
 Reporter:  wpmuguru     |       Owner:  somebody
     Type:  enhancement  |      Status:  new     
 Priority:  normal       |   Milestone:          
Component:  General      |     Version:          
 Severity:  normal       |    Keywords:          
-------------------------+--------------------------------------------------

Comment(by uglyrobot):

 Replying to [comment:1 tim.moore]:
 > Doesn't `$wpdb->prefix` already give the `wp_X_` prefix without having
 to do concatenation as you describe?
 Only for the current blog. You would have to use switch_to_blog or do it
 manually.

-- 
Ticket URL: <http://trac.mu.wordpress.org/ticket/1132#comment:3>
WordPress MU Trac <http://mu.wordpress.org/>
WordPress Multiuser


More information about the wpmu-trac mailing list