mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-03-29 17:54:29 +00:00
Unused var fixes. Props DD32. see #8220
git-svn-id: https://develop.svn.wordpress.org/trunk@9716 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
@@ -123,7 +123,7 @@ function has_filter($tag, $function_to_check = false) {
|
||||
* @subpackage Plugin
|
||||
* @since 0.71
|
||||
* @global array $wp_filter Stores all of the filters
|
||||
* @global array $merge_filters Merges the filter hooks using this function.
|
||||
* @global array $merged_filters Merges the filter hooks using this function.
|
||||
* @global array $wp_current_filter stores the list of current filters with the current one last
|
||||
*
|
||||
* @param string $tag The name of the filter hook.
|
||||
@@ -219,7 +219,7 @@ function remove_filter($tag, $function_to_remove, $priority = 10, $accepted_args
|
||||
* @return bool True when finished.
|
||||
*/
|
||||
function remove_all_filters($tag, $priority = false) {
|
||||
global $wp_filter, $merge_filters;
|
||||
global $wp_filter, $merged_filters;
|
||||
|
||||
if( isset($wp_filter[$tag]) ) {
|
||||
if( false !== $priority && isset($$wp_filter[$tag][$priority]) )
|
||||
|
||||
Reference in New Issue
Block a user