From 4e7abbf87b48122e6c0c65949ea3e5b3a9d805bb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Helen=20Hou-Sand=C3=AD?= Date: Thu, 20 Dec 2012 15:49:55 +0000 Subject: [PATCH] Correct phpdoc for wp-includes/plugin.php: wp-content/plugins/, not wp-content/plugin/. props technosailor. fixes #23024. git-svn-id: http://core.svn.wordpress.org/trunk@23190 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-includes/plugin.php | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) 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