Make WordPress Core

Changeset 6319


Ignore:
Timestamp:
11/06/2007 09:39:22 PM (17 years ago)
Author:
ryan
Message:

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

File:
1 edited

Legend:

Unmodified
Added
Removed
  • 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]);
Note: See TracChangeset for help on using the changeset viewer.