Make WordPress Core

Ticket #59420: 59420.9.patch

File 59420.9.patch, 499 bytes (added by viralsampat, 2 years ago)

I have checked above mentioned issue and founds few files. Here, I have added its patch.

  • 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 ) { 
    24162416        $classic_output = ob_get_clean();
    24172417
    24182418        $classic_elements = wp_html_split( $classic_output );
    2419         $hidden_inputs    = '';
    24202419        foreach ( $classic_elements as $element ) {
    24212420                if ( 0 !== strpos( $element, '<input ' ) ) {
    24222421                        continue;