[wpmu-trac] [WordPress MU Trac] #686: site_name code duplicated
WordPress MU Trac
wpmu-trac at lists.automattic.com
Sat Jul 19 16:01:06 GMT 2008
#686: site_name code duplicated
------------------------+---------------------------------------------------
Reporter: andy | Owner: somebody
Type: defect | Status: new
Priority: normal | Milestone:
Component: component1 | Version:
Severity: normal | Keywords:
------------------------+---------------------------------------------------
First wpmu-settings sets $current_site->site_name, then wp-settings sets
it again. It's a wasted query.
Also, you can set $current_blog and $current_site in sunrise, which causes
wpmu-settings to return early. But then wp-settings does a query and
overwrites site_name.
Two patches provided. Take your pick.
--
Ticket URL: <http://trac.mu.wordpress.org/ticket/686>
WordPress MU Trac <http://mu.wordpress.org/>
WordPress Multiuser
More information about the wpmu-trac
mailing list