diff --git a/wp-includes/functions.php b/wp-includes/functions.php index 6a2fede355..8e17499be0 100644 --- a/wp-includes/functions.php +++ b/wp-includes/functions.php @@ -5636,7 +5636,7 @@ function get_file_data( $file, $default_headers, $context = '' ) { $fp = fopen( $file, 'r' ); // Pull only the first 8kiB of the file in. - $file_data = fread( $fp, 8192 ); + $file_data = fread( $fp, 8 * KB_IN_BYTES ); // PHP will close file handle, but we are good citizens. fclose( $fp ); diff --git a/wp-includes/version.php b/wp-includes/version.php index ed2a327ac1..2346c41f22 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -13,7 +13,7 @@ * * @global string $wp_version */ -$wp_version = '5.3-alpha-45853'; +$wp_version = '5.3-alpha-45854'; /** * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.