Skip to content

Commit

Permalink
Fix figcaption conditional
Browse files Browse the repository at this point in the history
  • Loading branch information
SantosGuillamot committed Jun 20, 2024
1 parent 9d417dd commit 43ecd61
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/wp-includes/class-wp-block.php
Original file line number Diff line number Diff line change
Expand Up @@ -357,7 +357,7 @@ public function set_content_between_figcaption_balanced_tags( $new_content ) {
*/
if (
WP_HTML_Processor::STATE_MATCHED_TAG !== $this->parser_state ||
'figcaption' !== $this->get_tag() ||
'FIGCAPTION' !== $this->get_tag() ||
$this->is_tag_closer()
) {
return false;
Expand Down

0 comments on commit 43ecd61

Please sign in to comment.