diff --git a/wp-includes/plugin.php b/wp-includes/plugin.php index 7e38708034..f97395d43b 100644 --- a/wp-includes/plugin.php +++ b/wp-includes/plugin.php @@ -606,10 +606,10 @@ function plugin_dir_url( $file ) { * When a plugin is activated, the action 'activate_PLUGINNAME' hook is * activated. In the name of this hook, PLUGINNAME is replaced with the name of * the plugin, including the optional subdirectory. For example, when the plugin - * is located in wp-content/plugin/sampleplugin/sample.php, then the name of + * is located in wp-content/plugins/sampleplugin/sample.php, then the name of * this hook will become 'activate_sampleplugin/sample.php'. When the plugin * consists of only one file and is (as by default) located at - * wp-content/plugin/sample.php the name of this hook will be + * wp-content/plugins/sample.php the name of this hook will be * 'activate_sample.php'. * * @package WordPress @@ -630,11 +630,11 @@ function register_activation_hook($file, $function) { * When a plugin is deactivated, the action 'deactivate_PLUGINNAME' hook is * deactivated. In the name of this hook, PLUGINNAME is replaced with the name * of the plugin, including the optional subdirectory. For example, when the - * plugin is located in wp-content/plugin/sampleplugin/sample.php, then + * plugin is located in wp-content/plugins/sampleplugin/sample.php, then * the name of this hook will become 'activate_sampleplugin/sample.php'. * * When the plugin consists of only one file and is (as by default) located at - * wp-content/plugin/sample.php the name of this hook will be + * wp-content/plugins/sample.php the name of this hook will be * 'activate_sample.php'. * * @package WordPress