Skip to content

Commit 43ecd61

Browse files
Fix figcaption conditional
1 parent 9d417dd commit 43ecd61

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/wp-includes/class-wp-block.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -357,7 +357,7 @@ public function set_content_between_figcaption_balanced_tags( $new_content ) {
357357
*/
358358
if (
359359
WP_HTML_Processor::STATE_MATCHED_TAG !== $this->parser_state ||
360-
'figcaption' !== $this->get_tag() ||
360+
'FIGCAPTION' !== $this->get_tag() ||
361361
$this->is_tag_closer()
362362
) {
363363
return false;

0 commit comments

Comments
 (0)