mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-06-28 22:30:04 +00:00
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:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user