[wp-trac] [WordPress Trac] #13733: MS Main Site Uploads Inconsistency

WordPress Trac wp-trac at lists.automattic.com
Thu Jun 10 01:46:10 UTC 2010


#13733: MS Main Site Uploads Inconsistency
--------------------------+-------------------------------------------------
 Reporter:  filosofo      |       Owner:                                          
     Type:  defect (bug)  |      Status:  new                                     
 Priority:  normal        |   Milestone:  Future Release                          
Component:  Multisite     |     Version:  3.0                                     
 Severity:  normal        |    Keywords:  has-patch reporter-feedback dev-feedback
--------------------------+-------------------------------------------------

Comment(by wpmuguru):

 Replying to [comment:6 nacin]:
 > The blog_id bit shouldn't be necessary, is_main_site() defaults to
 $current_blog->blog_id.

 switch_to_blog() doesn't update the $current_blog object. For this use, we
 need to know if the switched blog is the main site.

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/13733#comment:7>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list