[wp-trac] [WordPress Trac] #15525: Use network/update-core.php in Multisite

WordPress Trac wp-trac at lists.automattic.com
Sat Nov 20 21:02:59 UTC 2010


#15525: Use network/update-core.php in Multisite
-----------------------------+----------------------------------------------
 Reporter:  ocean90          |       Owner:           
     Type:  defect (bug)     |      Status:  new      
 Priority:  normal           |   Milestone:  3.1      
Component:  Upgrade/Install  |     Version:  3.1      
 Severity:  normal           |    Keywords:  has-patch
-----------------------------+----------------------------------------------

Comment(by nacin):

 That looks good.

 Thinking we should do an audit for files that should redirect to /network/
 when running multisite. Otherwise is_network_admin() would return false
 and plugins (and potentially core) may get confused.

 This file would be one of them. It's a simple `is_multisite() && !
 is_network_admin()` check.

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


More information about the wp-trac mailing list