[wp-trac] [WordPress Trac] #36406: $network_wide is unreliable

WordPress Trac noreply at wordpress.org
Sun Apr 3 11:16:12 UTC 2016


#36406: $network_wide is unreliable
--------------------------+------------------------------
 Reporter:  mensmaximus   |       Owner:
     Type:  defect (bug)  |      Status:  new
 Priority:  normal        |   Milestone:  Awaiting Review
Component:  Plugins       |     Version:  4.4.2
 Severity:  normal        |  Resolution:
 Keywords:                |     Focuses:
--------------------------+------------------------------

Comment (by mensmaximus):

 And I think there is one more bug in /wp-admin/plugins.php within the
 'error_scrape' case from the switch statement. Line 166 shows

 {{{
 do_action( "activate_{$plugin}" );
 }}}

 but I thing this should be

 {{{
 do_action( "activate_{$plugin}", is_network_admin() );
 }}}

 like within activate_plugin() in /wp-admin/includes/plugin.php where in
 shows in line 573

 {{{
 do_action( 'activate_' . $plugin, $network_wide );
 }}}

--
Ticket URL: <https://core.trac.wordpress.org/ticket/36406#comment:3>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list