ob_end_clean() in printr(). Props doit-cu. fixes #2297

git-svn-id: http://svn.automattic.com/wordpress/trunk@3689 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
ryan 2006-04-04 01:02:19 +00:00
parent 041257657c
commit 230fd0cc1b

View File

@ -44,6 +44,7 @@ function printr($var, $do_not_echo = false) {
if (!$do_not_echo) {
echo "<pre>$code</pre>";
}
ob_end_clean();
return $code;
}