WordPress.org

Make WordPress Core

Changeset 13567


Ignore:
Timestamp:
03/03/10 06:41:19 (5 years ago)
Author:
nacin
Message:

Fix typo in remove_all_filters() that prevented hooks from being removed by priority. fixes #12492, props chrisbliss18.

File:
1 edited

Legend:

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

    r12733 r13567  
    223223 
    224224    if( isset($wp_filter[$tag]) ) { 
    225         if( false !== $priority && isset($$wp_filter[$tag][$priority]) ) 
     225        if( false !== $priority && isset($wp_filter[$tag][$priority]) ) 
    226226            unset($wp_filter[$tag][$priority]); 
    227227        else 
Note: See TracChangeset for help on using the changeset viewer.