Make WordPress Core


Ignore:
Timestamp:
06/15/2023 03:48:03 PM (12 months ago)
Author:
Bernhard Reiter
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, zieladam, ntsekouras.
Merges [55674] to the 6.2 branch.
Fixes #58530.

File:
1 edited

Legend:

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

    r55729 r55925  
    18951895             *     Result: <div id="new"/>
    18961896             */
    1897             $existing_attribute = $this->attributes[ $comparable_name ];
     1897            $existing_attribute                        = $this->attributes[ $comparable_name ];
    18981898            $this->lexical_updates[ $comparable_name ] = new WP_HTML_Text_Replacement(
    18991899                $existing_attribute->start,
Note: See TracChangeset for help on using the changeset viewer.