Ticket #12492: 12492-patch.diff
File 12492-patch.diff, 510 bytes (added by , 15 years ago) |
---|
-
wp-includes/plugin.php
diff --git a/wp-includes/plugin.php b/wp-includes/plugin.php index 8d8a7c7..3a9c507 100644
a b function remove_all_filters($tag, $priority = false) { 222 222 global $wp_filter, $merged_filters; 223 223 224 224 if( isset($wp_filter[$tag]) ) { 225 if( false !== $priority && isset($ $wp_filter[$tag][$priority]) )225 if( false !== $priority && isset($wp_filter[$tag][$priority]) ) 226 226 unset($wp_filter[$tag][$priority]); 227 227 else 228 228 unset($wp_filter[$tag]);