Add missing type arg on call to _wp_filter_build_unique_id(). see #5231

git-svn-id: https://develop.svn.wordpress.org/trunk@6319 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Ryan Boren 2007-11-06 21:39:22 +00:00
parent f69f6c0070
commit 35f22f56cf
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]);