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
This commit is contained in:
ryan 2007-11-06 21:39:22 +00:00
parent 0e63de02ca
commit 902cc8e985
1 changed files with 1 additions and 1 deletions

View File

@ -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]);