mirror of
https://github.com/WordPress/WordPress.git
synced 2025-01-06 08:28:07 +01:00
Fix order of @param's for deactivate_plugins(). props Viper007Bond, fixes #21269.
git-svn-id: http://core.svn.wordpress.org/trunk@21291 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
86d87dd786
commit
dcb200efc9
@ -573,9 +573,9 @@ function activate_plugin( $plugin, $redirect = '', $network_wide = false, $silen
|
||||
* @since 2.5.0
|
||||
*
|
||||
* @param string|array $plugins Single plugin or list of plugins to deactivate.
|
||||
* @param bool $silent Prevent calling deactivation hooks. Default is false.
|
||||
* @param mixed $network_wide Whether to deactivate the plugin for all sites in the network.
|
||||
* A value of null (the default) will deactivate plugins for both the site and the network.
|
||||
* @param bool $silent Prevent calling deactivation hooks. Default is false.
|
||||
*/
|
||||
function deactivate_plugins( $plugins, $silent = false, $network_wide = null ) {
|
||||
if ( is_multisite() )
|
||||
|
Loading…
Reference in New Issue
Block a user