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
This commit is contained in:
parent
ac23d53402
commit
f76f2a692a
@ -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;
|
||||
|
Loading…
x
Reference in New Issue
Block a user