mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-06-28 22:30:04 +00:00
General: Use correct escaping function for form action attributes.
Props chintan1896, audrasjb. Fixes #53150. git-svn-id: https://develop.svn.wordpress.org/trunk@50809 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
@@ -2258,7 +2258,7 @@ function the_block_editor_meta_boxes() {
|
||||
<form class="metabox-base-form">
|
||||
<?php the_block_editor_meta_box_post_form_hidden_fields( $post ); ?>
|
||||
</form>
|
||||
<form id="toggle-custom-fields-form" method="post" action="<?php echo esc_attr( admin_url( 'post.php' ) ); ?>">
|
||||
<form id="toggle-custom-fields-form" method="post" action="<?php echo esc_url( admin_url( 'post.php' ) ); ?>">
|
||||
<?php wp_nonce_field( 'toggle-custom-fields', 'toggle-custom-fields-nonce' ); ?>
|
||||
<input type="hidden" name="action" value="toggle-custom-fields" />
|
||||
</form>
|
||||
|
||||
Reference in New Issue
Block a user