Skip to content
Open
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Change comments
  • Loading branch information
SantosGuillamot committed Jul 2, 2024
commit 1855e5dd2f22c6fa88772d101a097d236e1f2212
4 changes: 2 additions & 2 deletions src/wp-includes/class-wp-block.php
Original file line number Diff line number Diff line change
Expand Up @@ -354,7 +354,7 @@ public function set_figcaption_inner_text( $new_content ) {
return false;
}

// Set position of the opener tag.
// Set position of the opening tag.
$this->set_bookmark( 'opening' );

// Once this element closes the depth will be one shallower than it is now.
Expand All @@ -367,7 +367,7 @@ public function set_figcaption_inner_text( $new_content ) {
return false;
}

// Set position of the opener tag.
// Set position of the closing tag.
$this->set_bookmark( 'closing' );

$opening = $this->bookmarks['_opening'];
Expand Down