From 3387a838b5c0b5fba41c874e5548357f096bf105 Mon Sep 17 00:00:00 2001 From: Jeremy Felt Date: Tue, 27 Sep 2016 20:05:00 +0000 Subject: [PATCH] Multsite: Flush output buffer after `readfile()` in `ms-files.php`. Props fuscata, MikeLittle for testing, iamfriendly for testing. Fixes #14730. git-svn-id: https://develop.svn.wordpress.org/trunk@38662 602fd350-edb4-49c9-b593-d223f7449a82 --- src/wp-includes/ms-files.php | 1 + 1 file changed, 1 insertion(+) diff --git a/src/wp-includes/ms-files.php b/src/wp-includes/ms-files.php index 87fa70f4b9..e5c1db3f89 100644 --- a/src/wp-includes/ms-files.php +++ b/src/wp-includes/ms-files.php @@ -80,3 +80,4 @@ if ( ( $client_last_modified && $client_etag ) // If we made it this far, just serve the file readfile( $file ); +flush();