From f76f2a692ad31e368d91a102b1d6a21661812fa7 Mon Sep 17 00:00:00 2001 From: Scott Taylor Date: Fri, 13 Sep 2013 21:29:12 +0000 Subject: [PATCH] Fix an error in `tests/ajax/Compression` by removing the unnecessary call to `ob_end_clean()` immediately after `ob_get_clean()` in `_gzdecode`, which has aleady deleted the buffer. See #25282. git-svn-id: https://develop.svn.wordpress.org/trunk@25431 602fd350-edb4-49c9-b593-d223f7449a82 --- tests/phpunit/tests/ajax/Compression.php | 1 - 1 file changed, 1 deletion(-) diff --git a/tests/phpunit/tests/ajax/Compression.php b/tests/phpunit/tests/ajax/Compression.php index cd76532023..d8d5235644 100644 --- a/tests/phpunit/tests/ajax/Compression.php +++ b/tests/phpunit/tests/ajax/Compression.php @@ -191,7 +191,6 @@ class Tests_Ajax_CompressionTest extends WP_Ajax_UnitTestCase { // Save the data stop buffering $data = ob_get_clean(); - ob_end_clean(); // Done return $data;