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:
parent
4ac65f4a10
commit
f1a38b0b9d
@ -44,6 +44,7 @@ function printr($var, $do_not_echo = false) {
|
||||
if (!$do_not_echo) {
|
||||
echo "<pre>$code</pre>";
|
||||
}
|
||||
ob_end_clean();
|
||||
return $code;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user