Skip to content

Commit b502273

Browse files
committed
fixup! Remove the symmetric helper $bookmark_start since it's not necessary
1 parent 449ae5a commit b502273

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
@@ -1651,7 +1651,7 @@ private function apply_attributes_updates( $shift_this_point = 0 ) {
16511651
* replacements adjust offsets in the input document.
16521652
*/
16531653
foreach ( $this->bookmarks as $bookmark_name => $bookmark ) {
1654-
$bookmark_end = $bookmark_start + $bookmark->length;
1654+
$bookmark_end = $bookmark->start + $bookmark->length;
16551655

16561656
/*
16571657
* Each lexical update which appears before the bookmark's endpoints

0 commit comments

Comments
 (0)