Make WordPress Core


Ignore:
Timestamp:
04/21/2023 12:31:29 PM (22 months ago)
Author:
zieladam
Message:

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.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-includes/html-api/class-wp-html-tag-processor.php

    r55667 r55674  
    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,
Note: See TracChangeset for help on using the changeset viewer.