From 4ea9070f8a8c3433ba4f6cf815406e5eb9b2b233 Mon Sep 17 00:00:00 2001 From: Sergey Biryukov Date: Mon, 20 Oct 2014 21:34:51 +0000 Subject: [PATCH] Fix copy/paste errors in [27769]. props Corphi. fixes #30054. git-svn-id: https://develop.svn.wordpress.org/trunk@29977 602fd350-edb4-49c9-b593-d223f7449a82 --- src/wp-admin/includes/plugin.php | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) 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.