diff --git a/src/wp-admin/includes/plugin.php b/src/wp-admin/includes/plugin.php index 517c31d504..24fecc4355 100644 --- a/src/wp-admin/includes/plugin.php +++ b/src/wp-admin/includes/plugin.php @@ -558,11 +558,11 @@ function activate_plugin( $plugin, $redirect = '', $network_wide = false, $silen do_action( 'activate_plugin', $plugin, $network_wide ); /** - * Fires as a specific plugin is being deactivated. + * Fires as a specific plugin is being activated. * - * This hook is the "deactivation" hook used internally by - * register_deactivation_hook(). The dynamic portion of the - * hook name, $plugin. refers to the plugin basename. + * This hook is the "activation" hook used internally by + * register_activation_hook(). The dynamic portion of the + * hook name, $plugin, refers to the plugin basename. * * If a plugin is silently activated (such as during an update), * this hook does not fire. @@ -675,7 +675,7 @@ function deactivate_plugins( $plugins, $silent = false, $network_wide = null ) { * * This hook is the "deactivation" hook used internally by * register_deactivation_hook(). The dynamic portion of the - * hook name, $plugin. refers to the plugin basename. + * hook name, $plugin, refers to the plugin basename. * * If a plugin is silently deactivated (such as during an update), * this hook does not fire.