Correct @since for hooks in wp-admin/includes/plugin.php. see #25229.

Built from https://develop.svn.wordpress.org/trunk@25477


git-svn-id: http://core.svn.wordpress.org/trunk@25398 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
Sergey Biryukov 2013-09-18 11:58:10 +00:00
parent c663f0a925
commit 31ddfcca58
1 changed files with 17 additions and 20 deletions

View File

@ -543,10 +543,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
*
* @since 3.0.2
* @since 2.9.0
*
* @param string $plugin Basename of the plugin path from {@see activate_plugin()}
* @param bool $network_wide Argument from {@see activate_plugin()}
* @param string $plugin Basename of the plugin path from {@see activate_plugin()}.
* @param bool $network_wide Argument from {@see activate_plugin()}.
*/
do_action( 'activate_plugin', $plugin, $network_wide );
@ -556,9 +556,9 @@ function activate_plugin( $plugin, $redirect = '', $network_wide = false, $silen
* The action concatenates the 'activate_' prefix with the $plugin value passed to
* activate_plugin() to create a dynamically named action.
*
* @since 3.0.2
* @since 2.0.0
*
* @param bool $network_wide Argument from {@see activate_plugin()}
* @param bool $network_wide Argument from {@see activate_plugin()}.
*/
do_action( 'activate_' . $plugin, $network_wide );
}
@ -576,10 +576,10 @@ function activate_plugin( $plugin, $redirect = '', $network_wide = false, $silen
/**
* Fires after a plugin has been activated in activate_plugin() when the $silent parameter is false
*
* @since 3.0.2
* @since 2.9.0
*
* @param string $plugin Basename of the plugin path from {@see activate_plugin()}
* @param bool $network_wide Argument from {@see activate_plugin()}
* @param string $plugin Basename of the plugin path from {@see activate_plugin()}.
* @param bool $network_wide Argument from {@see activate_plugin()}.
*/
do_action( 'activated_plugin', $plugin, $network_wide );
}
@ -625,11 +625,10 @@ 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 3.3.2
* @since 2.9.0
*
* @param string $plugin Basename of the plugin path from {@see activate_plugin()}
* @param bool $network_deactivating True if $network_wide passed in {@see deactivate_plugin()}
* is true and the plugin is active for the network.
* @param string $plugin Basename of the plugin path from {@see activate_plugin()}.
* @param bool $network_deactivating True if $network_wide passed in {@see deactivate_plugin()} is true and the plugin is active for the network.
*/
do_action( 'deactivate_plugin', $plugin, $network_deactivating );
@ -658,10 +657,9 @@ function deactivate_plugins( $plugins, $silent = false, $network_wide = null ) {
* The action concatenates the 'deactivate_' prefix with the plugin's basename
* to create a dynamically named action.
*
* @since 3.3.2
* @since 2.0.0
*
* @param bool $network_deactivating True if $network_wide passed in {@see deactivate_plugin()}
* is true and the plugin is active for the network.
* @param bool $network_deactivating True if $network_wide passed in {@see deactivate_plugin()} is true and the plugin is active for the network.
*/
do_action( 'deactivate_' . $plugin, $network_deactivating );
@ -669,11 +667,10 @@ 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 3.3.2
* @since 2.9.0
*
* @param string $plugin Basename of the plugin path from {@see activate_plugin()}
* @param bool $network_deactivating True if $network_wide passed in {@see deactivate_plugin()}
* is true and the plugin is active for the network.
* @param string $plugin Basename of the plugin path from {@see activate_plugin()}.
* @param bool $network_deactivating True if $network_wide passed in {@see deactivate_plugin()} is true and the plugin is active for the network.
*/
do_action( 'deactivated_plugin', $plugin, $network_deactivating );
}
@ -932,7 +929,7 @@ function uninstall_plugin($plugin) {
* The action concatenates the 'uninstall_' prefix with the basename of the
* plugin passed to {@see uninstall_plugin()} to create a dynamically named action.
*
* @since 2.6.1
* @since 2.7.0
*/
do_action( 'uninstall_' . $file );
}