git-svn-id: http://svn.automattic.com/wordpress/trunk@2418 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
matt 2005-03-07 15:20:56 +00:00
parent 0459dc002a
commit 266b766a0d

View File

@ -872,12 +872,10 @@ function merge_filters($tag) {
$wp_filter[$tag][$priority] = array_merge($wp_filter['all'][$priority], array()); $wp_filter[$tag][$priority] = array_merge($wp_filter['all'][$priority], array());
$wp_filter[$tag][$priority] = array_unique($wp_filter[$tag][$priority]); $wp_filter[$tag][$priority] = array_unique($wp_filter[$tag][$priority]);
} }
} }
}
if (isset($wp_filter[$tag])) if ( isset($wp_filter[$tag]) )
ksort($wp_filter[$tag]); ksort( $wp_filter[$tag] );
} }
function apply_filters($tag, $string) { function apply_filters($tag, $string) {