[wpmu-trac] [WordPress MU Trac] #1162: switch_to_blog does not check if the blog really exists

WordPress MU Trac wpmu-trac at lists.automattic.com
Mon Nov 30 13:38:40 UTC 2009


#1162: switch_to_blog does not check if the blog really exists
---------------------+------------------------------------------------------
 Reporter:  Cimmo    |       Owner:  somebody
     Type:  defect   |      Status:  new     
 Priority:  normal   |   Milestone:          
Component:  General  |     Version:  2.8     
 Severity:  normal   |    Keywords:          
---------------------+------------------------------------------------------

Comment(by donncha):

 It'd be nice to have that, but switch_to_blog() is slow enough as it is
 now. If we added a blog check that's potentially another sql call or cache
 lookup to slow it down even further!

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


More information about the wpmu-trac mailing list