From 8b0d256a446f2b14561842af09b457c3c86fc43f Mon Sep 17 00:00:00 2001 From: rboren Date: Tue, 1 Feb 2005 17:27:10 +0000 Subject: [PATCH] Fix typo spotted by morganiq. git-svn-id: http://svn.automattic.com/wordpress/trunk@2197 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- 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);