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

git-svn-id: https://develop.svn.wordpress.org/trunk@3689 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Ryan Boren 2006-04-04 01:02:19 +00:00
parent 4ac65f4a10
commit f1a38b0b9d
1 changed files with 1 additions and 0 deletions

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;
}