From fea66becf567d3cdcaa40d6edbec6e0d20df362e Mon Sep 17 00:00:00 2001 From: zieladam Date: Fri, 21 Apr 2023 12:31:29 +0000 Subject: [PATCH] HTML API: Update code style so it passes when backported into Gutenberg. This changes the indentation of a variable in class-wp-html-tag-processor.php to satisfy both WordPress and Gutenberg linters. Props dmsnell, ntsekouras. Fixes #58170. git-svn-id: https://develop.svn.wordpress.org/trunk@55674 602fd350-edb4-49c9-b593-d223f7449a82 --- src/wp-includes/html-api/class-wp-html-tag-processor.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 d4223a3b9a..039a8f275b 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 @@ -1964,7 +1964,7 @@ class WP_HTML_Tag_Processor { * * Result:
*/ - $existing_attribute = $this->attributes[ $comparable_name ]; + $existing_attribute = $this->attributes[ $comparable_name ]; $this->lexical_updates[ $comparable_name ] = new WP_HTML_Text_Replacement( $existing_attribute->start, $existing_attribute->end,