[wp-trac] [WordPress Trac] #12069: Siteurl filter for upgrades in multisite mode
WordPress Trac
wp-trac at lists.automattic.com
Fri Jan 29 23:49:09 UTC 2010
#12069: Siteurl filter for upgrades in multisite mode
-------------------------+--------------------------------------------------
Reporter: axelseaa | Owner:
Type: enhancement | Status: new
Priority: normal | Milestone: 3.0
Component: Multisite | Version: 3.0
Severity: normal | Keywords: has-patch
-------------------------+--------------------------------------------------
Comment(by nacin):
Wait, it doesn't use switch_to_blog:
{{{
256 $blog_prefix = $wpdb->get_blog_prefix( $blog_id );
257 $row = $wpdb->get_row( $wpdb->prepare( "SELECT * FROM
{$blog_prefix}options WHERE option_name = %s", $setting ) );
}}}
Sounds like switching to the API could actually be quicker as it includes
caching.
--
Ticket URL: <http://core.trac.wordpress.org/ticket/12069#comment:7>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list