diff --git a/wp-admin/includes/misc.php b/wp-admin/includes/misc.php index 7f5952c895..d060c138dd 100644 --- a/wp-admin/includes/misc.php +++ b/wp-admin/includes/misc.php @@ -77,12 +77,12 @@ function extract_from_markers( $filename, $marker ) { foreach ( $markerdata as $markerline ) { if ( false !== strpos( $markerline, '# END ' . $marker ) ) { $state = false; - if ( $state ) { - $result[] = $markerline; - } - if ( false !== strpos( $markerline, '# BEGIN ' . $marker ) ) { - $state = true; - } + } + if ( $state ) { + $result[] = $markerline; + } + if ( false !== strpos( $markerline, '# BEGIN ' . $marker ) ) { + $state = true; } } diff --git a/wp-includes/version.php b/wp-includes/version.php index d009712661..d8e67bc8b9 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -4,7 +4,7 @@ * * @global string $wp_version */ -$wp_version = '5.0-alpha-42193'; +$wp_version = '5.0-alpha-42199'; /** * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.