From 7d6c7b441d856217324de59ff947348fbd310cc8 Mon Sep 17 00:00:00 2001 From: Jeremy Felt Date: Tue, 27 Sep 2016 20:05:28 +0000 Subject: [PATCH] Multsite: Flush output buffer after `readfile()` in `ms-files.php`. Props fuscata, MikeLittle for testing, iamfriendly for testing. Fixes #14730. Built from https://develop.svn.wordpress.org/trunk@38662 git-svn-id: http://core.svn.wordpress.org/trunk@38605 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-includes/ms-files.php | 1 + wp-includes/version.php | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/wp-includes/ms-files.php b/wp-includes/ms-files.php index 87fa70f4b9..e5c1db3f89 100644 --- a/wp-includes/ms-files.php +++ b/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(); diff --git a/wp-includes/version.php b/wp-includes/version.php index ac4784377a..0bb4f21f41 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -4,7 +4,7 @@ * * @global string $wp_version */ -$wp_version = '4.7-alpha-38661'; +$wp_version = '4.7-alpha-38662'; /** * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.