From 0da957471b1ea55947e12ba3602d644c2b2471e3 Mon Sep 17 00:00:00 2001 From: John Blackbourn Date: Thu, 18 Jun 2015 08:36:39 +0000 Subject: [PATCH] Correct a typo in the inline docs for `add_action()`. Props nabil_kadimi, swissspidy Fixes #32697 git-svn-id: https://develop.svn.wordpress.org/trunk@32829 602fd350-edb4-49c9-b593-d223f7449a82 --- src/wp-includes/plugin.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/wp-includes/plugin.php b/src/wp-includes/plugin.php index 11ba3f8cf4..e2d2a0b50d 100644 --- a/src/wp-includes/plugin.php +++ b/src/wp-includes/plugin.php @@ -429,7 +429,7 @@ function doing_action( $action = null ) { * Lower numbers correspond with earlier execution, * and functions with the same priority are executed * in the order in which they were added to the action. - * @param int $accepted_args Optional. The number of arguments the function accept. Default 1. + * @param int $accepted_args Optional. The number of arguments the function accepts. Default 1. * @return true Will always return true. */ function add_action($tag, $function_to_add, $priority = 10, $accepted_args = 1) {