From 70d44588cedc156bfdeab6b9f50e2fff7d5e7cfd Mon Sep 17 00:00:00 2001 From: John Blackbourn Date: Mon, 14 Dec 2015 02:32:04 +0000 Subject: [PATCH] git-svn-id: https://develop.svn.wordpress.org/trunk@35910 602fd350-edb4-49c9-b593-d223f7449a82 --- src/wp-includes/plugin.php | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/src/wp-includes/plugin.php b/src/wp-includes/plugin.php index 1ec2497ef3..b836c4853c 100644 --- a/src/wp-includes/plugin.php +++ b/src/wp-includes/plugin.php @@ -191,9 +191,9 @@ function has_filter($tag, $function_to_check = false) { * @global array $merged_filters Merges the filter hooks using this function. * @global array $wp_current_filter Stores the list of current filters with the current one last. * - * @param string $tag The name of the filter hook. - * @param mixed $value The value on which the filters hooked to `$tag` are applied on. - * @param mixed $var Additional variables passed to the functions hooked to `$tag`. + * @param string $tag The name of the filter hook. + * @param mixed $value The value on which the filters hooked to `$tag` are applied on. + * @param mixed $var,... Additional variables passed to the functions hooked to `$tag`. * @return mixed The filtered value after all hooked functions are applied to it. */ function apply_filters( $tag, $value ) { @@ -475,9 +475,9 @@ function add_action($tag, $function_to_add, $priority = 10, $accepted_args = 1) * @global array $merged_filters Merges the filter hooks using this function. * @global array $wp_current_filter Stores the list of current filters with the current one last * - * @param string $tag The name of the action to be executed. - * @param mixed $arg Optional. Additional arguments which are passed on to the - * functions hooked to the action. Default empty. + * @param string $tag The name of the action to be executed. + * @param mixed $arg,... Optional. Additional arguments which are passed on to the + * functions hooked to the action. Default empty. */ function do_action($tag, $arg = '') { global $wp_filter, $wp_actions, $merged_filters, $wp_current_filter;