From 4247199e8d016a2b26919991d2cc9bd8d598eab9 Mon Sep 17 00:00:00 2001 From: Ryan Boren Date: Tue, 1 Feb 2005 17:27:10 +0000 Subject: [PATCH] Fix typo spotted by morganiq. git-svn-id: https://develop.svn.wordpress.org/trunk@2197 602fd350-edb4-49c9-b593-d223f7449a82 --- wp-includes/functions.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wp-includes/functions.php b/wp-includes/functions.php index a50f9a4df7..acb70d6c17 100644 --- a/wp-includes/functions.php +++ b/wp-includes/functions.php @@ -937,7 +937,7 @@ function do_action($tag, $arg = '') { if ( is_array($arg) ) $args = $arg + array_slice(func_get_args(), 2); else - $args = array($action) + array_slice(func_get_args(), 2); + $args = array($arg) + array_slice(func_get_args(), 2); merge_filters($tag);