From 2c8e435aa51e88d626f44b4b39bf25445b9affb7 Mon Sep 17 00:00:00 2001 From: Sergey Biryukov Date: Mon, 20 Oct 2014 21:35:18 +0000 Subject: [PATCH] Fix copy/paste errors in [27769]. props Corphi. fixes #30054. Built from https://develop.svn.wordpress.org/trunk@29977 git-svn-id: http://core.svn.wordpress.org/trunk@29723 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-admin/includes/plugin.php | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/wp-admin/includes/plugin.php b/wp-admin/includes/plugin.php index 517c31d504..24fecc4355 100644 --- a/wp-admin/includes/plugin.php +++ b/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.