Make WordPress Core


Ignore:
Timestamp:
11/21/2011 03:43:57 PM (15 years ago)
Author:
nacin
Message:

Revert other stuffs from [19374].

File:
1 edited

Legend:

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

    r19374 r19376  
    284284        if( isset($wp_filter[$tag]) ) {
    285285                if( false !== $priority && isset($wp_filter[$tag][$priority]) )
    286                         $wp_filter[$tag][$priority] = array();
     286                        unset($wp_filter[$tag][$priority]);
    287287                else
    288                         $wp_filter[$tag] = array();
     288                        unset($wp_filter[$tag]);
    289289        }
    290290
Note: See TracChangeset for help on using the changeset viewer.