mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-03-30 18:24:31 +00:00
Pinking shears
git-svn-id: https://develop.svn.wordpress.org/trunk@25880 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
@@ -542,7 +542,7 @@ function activate_plugin( $plugin, $redirect = '', $network_wide = false, $silen
|
||||
if ( ! $silent ) {
|
||||
/**
|
||||
* Fires before a plugin is activated in activate_plugin() when the $silent parameter is false.
|
||||
*
|
||||
*
|
||||
* @since 2.9.0
|
||||
*
|
||||
* @param string $plugin Plugin path to main plugin file with plugin data.
|
||||
@@ -553,10 +553,10 @@ function activate_plugin( $plugin, $redirect = '', $network_wide = false, $silen
|
||||
|
||||
/**
|
||||
* Fires before a plugin is activated in activate_plugin() when the $silent parameter is false.
|
||||
*
|
||||
*
|
||||
* The action concatenates the 'activate_' prefix with the $plugin value passed to
|
||||
* activate_plugin() to create a dynamically-named action.
|
||||
*
|
||||
*
|
||||
* @since 2.0.0
|
||||
*
|
||||
* @param bool $network_wide Whether to enable the plugin for all sites in the network
|
||||
@@ -577,7 +577,7 @@ function activate_plugin( $plugin, $redirect = '', $network_wide = false, $silen
|
||||
if ( ! $silent ) {
|
||||
/**
|
||||
* Fires after a plugin has been activated in activate_plugin() when the $silent parameter is false.
|
||||
*
|
||||
*
|
||||
* @since 2.9.0
|
||||
*
|
||||
* @param string $plugin Plugin path to main plugin file with plugin data.
|
||||
@@ -627,11 +627,11 @@ function deactivate_plugins( $plugins, $silent = false, $network_wide = null ) {
|
||||
/**
|
||||
* Fires for each plugin being deactivated in deactivate_plugins(), before deactivation
|
||||
* and when the $silent parameter is false.
|
||||
*
|
||||
*
|
||||
* @since 2.9.0
|
||||
*
|
||||
* @param string $plugin Plugin path to main plugin file with plugin data.
|
||||
* @param bool $network_deactivating Whether the plugin is deactivated for all sites in the network
|
||||
* @param bool $network_deactivating Whether the plugin is deactivated for all sites in the network
|
||||
* or just the current site. Multisite only. Default is false.
|
||||
*/
|
||||
do_action( 'deactivate_plugin', $plugin, $network_deactivating );
|
||||
@@ -657,13 +657,13 @@ function deactivate_plugins( $plugins, $silent = false, $network_wide = null ) {
|
||||
/**
|
||||
* Fires for each plugin being deactivated in deactivate_plugins(), after deactivation
|
||||
* and when the $silent parameter is false.
|
||||
*
|
||||
*
|
||||
* The action concatenates the 'deactivate_' prefix with the plugin's basename
|
||||
* to create a dynamically-named action.
|
||||
*
|
||||
*
|
||||
* @since 2.0.0
|
||||
*
|
||||
* @param bool $network_deactivating Whether the plugin is deactivated for all sites in the network
|
||||
* @param bool $network_deactivating Whether the plugin is deactivated for all sites in the network
|
||||
* or just the current site. Multisite only. Default is false.
|
||||
*/
|
||||
do_action( 'deactivate_' . $plugin, $network_deactivating );
|
||||
@@ -671,11 +671,11 @@ function deactivate_plugins( $plugins, $silent = false, $network_wide = null ) {
|
||||
/**
|
||||
* Fires for each plugin being deactivated in deactivate_plugins(), after deactivation
|
||||
* and when the $silent parameter is false.
|
||||
*
|
||||
*
|
||||
* @since 2.9.0
|
||||
*
|
||||
* @param string $plugin Plugin path to main plugin file with plugin data.
|
||||
* @param bool $network_deactivating Whether the plugin is deactivated for all sites in the network
|
||||
* @param bool $network_deactivating Whether the plugin is deactivated for all sites in the network
|
||||
* or just the current site. Multisite only. Default is false.
|
||||
*/
|
||||
do_action( 'deactivated_plugin', $plugin, $network_deactivating );
|
||||
@@ -931,7 +931,7 @@ function uninstall_plugin($plugin) {
|
||||
|
||||
/**
|
||||
* Fires in uninstall_plugin() once the plugin has been uninstalled.
|
||||
*
|
||||
*
|
||||
* The action concatenates the 'uninstall_' prefix with the basename of the
|
||||
* plugin passed to {@see uninstall_plugin()} to create a dynamically-named action.
|
||||
*
|
||||
|
||||
Reference in New Issue
Block a user