mirror of
https://github.com/WordPress/WordPress.git
synced 2025-01-08 17:38:26 +01:00
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:
parent
041257657c
commit
230fd0cc1b
@ -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