minor change to apply_filters (spotted by Robert Morrison)

git-svn-id: http://svn.automattic.com/wordpress/trunk@249 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
mikelittle 2003-07-04 22:22:26 +00:00
parent 68ab72e70d
commit 2031c68eb8
1 changed files with 1 additions and 1 deletions

View File

@ -1252,7 +1252,7 @@ function apply_filters($tag, $string) {
$b2_filter[$tag] = array_unique($b2_filter[$tag]);
}
if (isset($b2_filter[$tag])) {
$b2_filter[$tags] = (is_string($b2_filter[$tag])) ? array($b2_filter[$tag]) : $b2_filter[$tag];
$b2_filter[$tag] = (is_string($b2_filter[$tag])) ? array($b2_filter[$tag]) : $b2_filter[$tag];
$functions = $b2_filter[$tag];
foreach($functions as $function) {
$string = $function($string);