WordPress.org

Make WordPress Core

Ticket #21269: 21269.patch

File 21269.patch, 784 bytes (added by Viper007Bond, 21 months ago)
  • wp-admin/includes/plugin.php

     
    573573 * @since 2.5.0 
    574574 * 
    575575 * @param string|array $plugins Single plugin or list of plugins to deactivate. 
     576 * @param bool $silent Prevent calling deactivation hooks. Default is false. 
    576577 * @param mixed $network_wide Whether to deactivate the plugin for all sites in the network. 
    577578 *      A value of null (the default) will deactivate plugins for both the site and the network. 
    578  * @param bool $silent Prevent calling deactivation hooks. Default is false. 
    579579 */ 
    580580function deactivate_plugins( $plugins, $silent = false, $network_wide = null ) { 
    581581        if ( is_multisite() )