Skip to content

Commit

Permalink
rename action
Browse files Browse the repository at this point in the history
  • Loading branch information
aristath committed Sep 23, 2022
1 parent 3060c1c commit 7a2325c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/block-library/src/form/index.php
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ function render_block_core_form( $attributes, $content, $block ) {
*
* @return string The form action attribute.
*/
$action = apply_filters( 'block_form', $action, $attributes, $content, $block );
$action = apply_filters( 'block_form_action', $action, $attributes, $content, $block );

// Build the form method attribute.
$method = empty( $attributes['method'] ) ? '' : $attributes['method'];
Expand Down

0 comments on commit 7a2325c

Please sign in to comment.