From d22dd5f1bd9bd1710ecbcfd032fd7edcf5e9a004 Mon Sep 17 00:00:00 2001 From: Matt Mullenweg Date: Mon, 7 Mar 2005 15:20:56 +0000 Subject: [PATCH] http://mosquito.wordpress.org/view.php?id=1049 git-svn-id: https://develop.svn.wordpress.org/trunk@2418 602fd350-edb4-49c9-b593-d223f7449a82 --- wp-includes/functions.php | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/wp-includes/functions.php b/wp-includes/functions.php index 89acb7d584..fa99a34f63 100644 --- a/wp-includes/functions.php +++ b/wp-includes/functions.php @@ -872,12 +872,10 @@ function merge_filters($tag) { $wp_filter[$tag][$priority] = array_merge($wp_filter['all'][$priority], array()); $wp_filter[$tag][$priority] = array_unique($wp_filter[$tag][$priority]); } - } -} - if (isset($wp_filter[$tag])) - ksort($wp_filter[$tag]); + if ( isset($wp_filter[$tag]) ) + ksort( $wp_filter[$tag] ); } function apply_filters($tag, $string) {