From 902cc8e98542d9decfd7a066ec5e702a045e713f Mon Sep 17 00:00:00 2001 From: ryan Date: Tue, 6 Nov 2007 21:39:22 +0000 Subject: [PATCH] Add missing type arg on call to _wp_filter_build_unique_id(). see #5231 git-svn-id: http://svn.automattic.com/wordpress/trunk@6319 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-includes/plugin.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wp-includes/plugin.php b/wp-includes/plugin.php index a64275d48..527cd9e7c 100644 --- a/wp-includes/plugin.php +++ b/wp-includes/plugin.php @@ -396,7 +396,7 @@ function do_action_ref_array($tag, $args) { * @return boolean Whether the function is removed. */ function remove_action($tag, $function_to_remove, $priority = 10, $accepted_args = 1) { - $function_to_remove = _wp_filter_build_unique_id($tag, $function_to_remove, $priority); + $function_to_remove = _wp_filter_build_unique_id($tag, $function_to_remove, $priority, 'action'); $r = isset($GLOBALS['wp_action'][$tag][$priority][$function_to_remove]);