[wp-trac] [WordPress Trac] #15372: Add new plugin header parameter BlogOnly

WordPress Trac wp-trac at lists.automattic.com
Wed Nov 10 12:31:56 UTC 2010


#15372: Add new plugin header parameter BlogOnly
-----------------------------+----------------------------------------------
 Reporter:  raido357         |        Owner:         
     Type:  feature request  |       Status:  closed 
 Priority:  normal           |    Milestone:         
Component:  Plugins          |      Version:  3.0.1  
 Severity:  normal           |   Resolution:  wontfix
 Keywords:  has-patch        |  
-----------------------------+----------------------------------------------
Changes (by nacin):

  * status:  new => closed
  * resolution:  => wontfix
  * severity:  major => normal
  * milestone:  Awaiting Review =>


Comment:

 Any variation of this will do:
 {{{
 register_activation_hook( __FILE__, 'my_activation_callback' );
 function my_activation_callback() {
     if ( is_multisite() )
        deactivate_plugins(__FILE__);
 } );
 }}}

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


More information about the wp-trac mailing list