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 Dec 4, 2023
1 parent 2750c1a commit ccadf5d
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 ccadf5d

Please sign in to comment.