WordPress.org

Make WordPress Core

Ticket #13179: 13179.diff

File 13179.diff, 907 bytes (added by nacin, 4 years ago)
  • wp-admin/edit-form-advanced.php

     
    210210<?php endif; ?> 
    211211<form name="post" action="post.php" method="post" id="post"<?php do_action('post_edit_form_tag'); ?>> 
    212212<?php wp_nonce_field($nonce_action); ?> 
    213 <input type="hidden" id="parent_id" name="parent_id" value="<?php echo esc_attr( $post->post_parent ); ?>" /> 
     213<input type="hidden" name="parent_id" value="<?php echo esc_attr( $post->post_parent ); ?>" /> 
    214214<input type="hidden" id="user-id" name="user_ID" value="<?php echo (int) $user_ID ?>" /> 
    215215<input type="hidden" id="hiddenaction" name="action" value="<?php echo esc_attr( $form_action ) ?>" /> 
    216216<input type="hidden" id="originalaction" name="originalaction" value="<?php echo esc_attr( $form_action ) ?>" />