Skip to content

Commit fea66be

Browse files
committed
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
1 parent f047b94 commit fea66be

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/wp-includes/html-api/class-wp-html-tag-processor.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1964,7 +1964,7 @@ public function set_attribute( $name, $value ) {
19641964
*
19651965
* Result: <div id="new"/>
19661966
*/
1967-
$existing_attribute = $this->attributes[ $comparable_name ];
1967+
$existing_attribute = $this->attributes[ $comparable_name ];
19681968
$this->lexical_updates[ $comparable_name ] = new WP_HTML_Text_Replacement(
19691969
$existing_attribute->start,
19701970
$existing_attribute->end,

0 commit comments

Comments
 (0)