Make WordPress Core

Ticket #5261: plugin.5261.fix2.patch

File plugin.5261.fix2.patch, 439 bytes (added by darkdragon, 19 years ago)

Take two, will not need testing, solution provided by referenced forum thread.

  • plugin.php

     
    189189
    190190        $r = isset($GLOBALS['wp_filter'][$tag][$priority][$function_to_remove]);
    191191
     192        $GLOBALS['wp_filter'][$tag][$priority][$function_to_remove] = array();
    192193        unset($GLOBALS['wp_filter'][$tag][$priority][$function_to_remove]);
    193194        unset($GLOBALS['merged_filters'][$tag]);
    194195