[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
Thu Dec 3 20:15:49 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 johnjamesjacoby):

 Is it possible to trap the WP_Error response (if there is one) and just
 return false if the blog isn't an object?

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


More information about the wpmu-trac mailing list