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.
Built from https://develop.svn.wordpress.org/trunk@57227


git-svn-id: http://core.svn.wordpress.org/trunk@56733 1a063a9b-81f0-0310-95a4-ce76da25c4cd
  • Loading branch information
SergeyBiryukov committed Dec 25, 2023
1 parent 356dd51 commit 13f7ee3
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion 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
2 changes: 1 addition & 1 deletion wp-includes/version.php
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
*
* @global string $wp_version
*/
$wp_version = '6.5-alpha-57226';
$wp_version = '6.5-alpha-57227';

/**
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.
Expand Down

0 comments on commit 13f7ee3

Please sign in to comment.