| 1 | diff --git a/wp-includes/plugin.php b/wp-includes/plugin.php |
|---|
| 2 | index 8d8a7c7..3a9c507 100644 |
|---|
| 3 | --- a/wp-includes/plugin.php |
|---|
| 4 | +++ b/wp-includes/plugin.php |
|---|
| 5 | @@ -222,7 +222,7 @@ function remove_all_filters($tag, $priority = false) { |
|---|
| 6 | global $wp_filter, $merged_filters; |
|---|
| 7 | |
|---|
| 8 | if( isset($wp_filter[$tag]) ) { |
|---|
| 9 | - if( false !== $priority && isset($$wp_filter[$tag][$priority]) ) |
|---|
| 10 | + if( false !== $priority && isset($wp_filter[$tag][$priority]) ) |
|---|
| 11 | unset($wp_filter[$tag][$priority]); |
|---|
| 12 | else |
|---|
| 13 | unset($wp_filter[$tag]); |
|---|