[wp-trac] [WordPress Trac] #20995: [20525] breaks commonly used plugin technique for network activation

WordPress Trac wp-trac at lists.automattic.com
Tue Jun 26 04:03:34 UTC 2012


#20995: [20525] breaks commonly used plugin technique for network activation
------------------------------+---------------------
 Reporter:  iandunn           |       Owner:  nacin
     Type:  defect (bug)      |      Status:  closed
 Priority:  normal            |   Milestone:  3.4.1
Component:  Multisite         |     Version:  3.4
 Severity:  normal            |  Resolution:  fixed
 Keywords:  has-patch commit  |
------------------------------+---------------------
Changes (by nacin):

 * status:  assigned => closed
 * resolution:   => fixed


Comment:

 In [21130]:
 {{{
 #!CommitTicketReference repository="" revision="21130"
 Back compat for plugins looking for networkwide=1 during a plugin
 activation hook.

 Proper way to detect this: An activation hook callback receives (bool)
 $network_wide as the first argument.

 fixes #20995 for 3.4.
 }}}

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


More information about the wp-trac mailing list