[wp-trac] [WordPress Trac] #14170: Problems with network	activation
    WordPress Trac 
    wp-trac at lists.automattic.com
       
    Wed Oct 27 19:25:13 UTC 2010
    
    
  
#14170: Problems with network activation
--------------------------+-------------------------------------------------
 Reporter:  scribu        |       Owner:                  
     Type:  defect (bug)  |      Status:  new             
 Priority:  high          |   Milestone:  3.1             
Component:  Multisite     |     Version:                  
 Severity:  major         |    Keywords:  has-patch commit
--------------------------+-------------------------------------------------
Changes (by coolmann):
 * cc: coolmann (added)
Comment:
 According to 14170.3.diff, I would not need to specify the "foreach
 blogid" loop anymore, am I right? Just to recap it would now be something
 like:
 {{{
 register_activation_hook( __FILE__, 'my_plugin_activation' );
 function my_plugin_activation( $network_wide ) {
   // usual activation code
 }
 }}}
 It seems like $network_wide is not needed anymore, since WP is taking care
 of performing the appropriate actions (foreach), right?
-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/14170#comment:35>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
    
    
More information about the wp-trac
mailing list