diff --git a/src/wp-admin/includes/post.php b/src/wp-admin/includes/post.php
index 462bde55c3..ad261da34d 100644
|
a
|
b
|
function the_block_editor_meta_box_post_form_hidden_fields( $post ) {
|
| 2202 | 2202 | wp_nonce_field( 'closedpostboxes', 'closedpostboxesnonce', false ); |
| 2203 | 2203 | // Permalink title nonce. |
| 2204 | 2204 | wp_nonce_field( 'samplepermalink', 'samplepermalinknonce', false ); |
| | 2205 | |
| | 2206 | /** |
| | 2207 | * Add hidden input fields to the meta box save form. |
| | 2208 | * |
| | 2209 | * Hook into this action to print `<input type="hidden" ... />` fields, which will be POSTed back to |
| | 2210 | * the server when meta boxes are saved. |
| | 2211 | * |
| | 2212 | * @since 5.0.0 |
| | 2213 | * |
| | 2214 | * @params WP_Post $post The post that is being edited. |
| | 2215 | */ |
| | 2216 | do_action( 'block_editor_meta_box_hidden_fields', $post ); |
| 2205 | 2217 | } |