From 2031c68eb87046436c51c8a3a64e50b0e89def56 Mon Sep 17 00:00:00 2001 From: mikelittle Date: Fri, 4 Jul 2003 22:22:26 +0000 Subject: [PATCH] minor change to apply_filters (spotted by Robert Morrison) git-svn-id: http://svn.automattic.com/wordpress/trunk@249 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- b2-include/b2template.functions.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/b2-include/b2template.functions.php b/b2-include/b2template.functions.php index 373915604d..fa6c18d9fe 100644 --- a/b2-include/b2template.functions.php +++ b/b2-include/b2template.functions.php @@ -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);