From 46b3fbfca35ad61d3c8ae88fb27a372a771bc95a Mon Sep 17 00:00:00 2001 From: Dennis Snell Date: Thu, 4 May 2023 10:19:17 +0200 Subject: [PATCH] HTML API: Adjust coding style to pass Gutenberg linter --- src/wp-includes/html-api/class-wp-html-tag-processor.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/wp-includes/html-api/class-wp-html-tag-processor.php b/src/wp-includes/html-api/class-wp-html-tag-processor.php index 2ac8f469cf725..9547aebd79aa9 100644 --- a/src/wp-includes/html-api/class-wp-html-tag-processor.php +++ b/src/wp-includes/html-api/class-wp-html-tag-processor.php @@ -1465,9 +1465,9 @@ private function apply_attributes_updates( $shift_this_point = 0 ) { $accumulated_shift_for_given_point += $shift; } - $output_buffer .= substr( $this->html, $bytes_already_copied, $diff->start - $bytes_already_copied ); - $output_buffer .= $diff->text; - $bytes_already_copied = $diff->end; + $output_buffer .= substr( $this->html, $bytes_already_copied, $diff->start - $bytes_already_copied ); + $output_buffer .= $diff->text; + $bytes_already_copied = $diff->end; } $this->html = $output_buffer . substr( $this->html, $bytes_already_copied );