Skip to content

Commit

Permalink
Coding Standards: Correct alignment in `WP_HTML_Tag_Processor::apply_…
Browse files Browse the repository at this point in the history
…attributes_updates()`.

This fixes an `Equals sign not aligned correctly` WPCS warning.

Follow-up to [57179].

Props antonvlasenko, dmsnell, ironprogrammer.
Fixes #60078.

git-svn-id: https://develop.svn.wordpress.org/trunk@57227 602fd350-edb4-49c9-b593-d223f7449a82
  • Loading branch information
SergeyBiryukov committed Dec 25, 2023
1 parent e98fe1f commit e9f335d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/wp-includes/html-api/class-wp-html-tag-processor.php
Original file line number Diff line number Diff line change
Expand Up @@ -1895,7 +1895,7 @@ private function apply_attributes_updates( $shift_this_point = 0 ) {
* replacements adjust offsets in the input document.
*/
foreach ( $this->bookmarks as $bookmark_name => $bookmark ) {
$bookmark_end = $bookmark->start + $bookmark->length;
$bookmark_end = $bookmark->start + $bookmark->length;

/*
* Each lexical update which appears before the bookmark's endpoints
Expand Down

0 comments on commit e9f335d

Please sign in to comment.