WordPress.org

Make WordPress Core

Changes between Initial Version and Version 1 of Ticket #20995, comment 4


Ignore:
Timestamp:
06/17/12 02:58:42 (3 years ago)
Author:
scribu
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #20995, comment 4

    initial v1  
    44register_activation_hook( __FILE__, 'my_plugin_activation' ); 
    55 
    6 function my_plugin_activation( $networkwide ) { 
    7   if ( $networkwide ) { 
     6function my_plugin_activation( $network_wide ) { 
     7 
     8  if ( $network_wide ) { 
    89    // it's a network activation 
    910  } else {