diff --git a/src/wp-admin/includes/post.php b/src/wp-admin/includes/post.php
index 2d27efca49..142f9c57f5 100644
|
a
|
b
|
function the_block_editor_meta_boxes() { |
| 2258 | 2258 | <form class="metabox-base-form"> |
| 2259 | 2259 | <?php the_block_editor_meta_box_post_form_hidden_fields( $post ); ?> |
| 2260 | 2260 | </form> |
| 2261 | | <form id="toggle-custom-fields-form" method="post" action="<?php echo esc_attr( admin_url( 'post.php' ) ); ?>"> |
| | 2261 | <form id="toggle-custom-fields-form" method="post" action="<?php echo esc_url( admin_url( 'post.php' ) ); ?>"> |
| 2262 | 2262 | <?php wp_nonce_field( 'toggle-custom-fields', 'toggle-custom-fields-nonce' ); ?> |
| 2263 | 2263 | <input type="hidden" name="action" value="toggle-custom-fields" /> |
| 2264 | 2264 | </form> |