diff --git a/wp-includes/functions-compat.php b/wp-includes/functions-compat.php index b2de8a98d9..7921909223 100644 --- a/wp-includes/functions-compat.php +++ b/wp-includes/functions-compat.php @@ -44,6 +44,7 @@ function printr($var, $do_not_echo = false) { if (!$do_not_echo) { echo "
$code"; } + ob_end_clean(); return $code; }