diff --git a/wp-includes/html-api/class-wp-html-tag-processor.php b/wp-includes/html-api/class-wp-html-tag-processor.php index 039a8f275b..8c41e73215 100644 --- a/wp-includes/html-api/class-wp-html-tag-processor.php +++ b/wp-includes/html-api/class-wp-html-tag-processor.php @@ -2142,6 +2142,8 @@ class WP_HTML_Tag_Processor { * to the end of the updated document and return. */ if ( $requires_no_updating && $this->bytes_already_copied > 0 ) { + $this->html = $this->output_buffer . substr( $this->html, $this->bytes_already_copied ); + $this->bytes_already_copied = strlen( $this->output_buffer ); return $this->output_buffer . substr( $this->html, $this->bytes_already_copied ); } diff --git a/wp-includes/version.php b/wp-includes/version.php index 747e8c2ada..4bd41c3146 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -16,7 +16,7 @@ * * @global string $wp_version */ -$wp_version = '6.3-alpha-55674'; +$wp_version = '6.3-alpha-55675'; /** * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.