Ticket #59420: 59420.9.patch
| File 59420.9.patch, 499 bytes (added by , 2 years ago) |
|---|
-
src/wp-admin/includes/post.php
diff --git src/wp-admin/includes/post.php src/wp-admin/includes/post.php index 8db8861c42..47a5257bef 100644
function the_block_editor_meta_box_post_form_hidden_fields( $post ) { 2416 2416 $classic_output = ob_get_clean(); 2417 2417 2418 2418 $classic_elements = wp_html_split( $classic_output ); 2419 $hidden_inputs = '';2420 2419 foreach ( $classic_elements as $element ) { 2421 2420 if ( 0 !== strpos( $element, '<input ' ) ) { 2422 2421 continue;