Skip to content

Commit

Permalink
revert index.php changes
Browse files Browse the repository at this point in the history
  • Loading branch information
aristath committed Nov 2, 2023
1 parent 2b8a2b3 commit 60f9f40
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion packages/block-library/src/form/index.php
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,11 @@ function render_block_core_form( $attributes, $content ) {

$extra_fields = apply_filters( 'render_block_core_form_extra_fields', '', $attributes );

return str_replace( '</form>', $extra_fields . '</form>', $processed_content->get_updated_html() );
return str_replace(
'</form>',
$extra_fields . '</form>',
$processed_content->get_updated_html()
);
}

/**
Expand Down

0 comments on commit 60f9f40

Please sign in to comment.