diff --git a/wp-includes/pomo/streams.php b/wp-includes/pomo/streams.php index e95dc17076..6a971af065 100644 --- a/wp-includes/pomo/streams.php +++ b/wp-includes/pomo/streams.php @@ -217,11 +217,7 @@ if ( ! class_exists( 'POMO_FileReader', false ) ) : * @return string */ public function read_all() { - $all = ''; - while ( ! $this->feof() ) { - $all .= $this->read( 4096 ); - } - return $all; + return stream_get_contents( $this->_f ); } } endif; diff --git a/wp-includes/version.php b/wp-includes/version.php index 0343f7ee17..0351f05a50 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -16,7 +16,7 @@ * * @global string $wp_version */ -$wp_version = '6.0-alpha-52695'; +$wp_version = '6.0-alpha-52696'; /** * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.