Changeset 6319

Show
Ignore:
Timestamp:
11/06/07 21:39:22 (1 year ago)
Author:
ryan
Message:

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

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/wp-includes/plugin.php

    r6318 r6319  
    397397 */ 
    398398function remove_action($tag, $function_to_remove, $priority = 10, $accepted_args = 1) { 
    399     $function_to_remove = _wp_filter_build_unique_id($tag, $function_to_remove, $priority); 
     399    $function_to_remove = _wp_filter_build_unique_id($tag, $function_to_remove, $priority, 'action'); 
    400400 
    401401    $r = isset($GLOBALS['wp_action'][$tag][$priority][$function_to_remove]);