WordPress.org

Make WordPress Core

Ticket #17656: 17656.diff

File 17656.diff, 801 bytes (added by solarissmoke, 4 years ago)
  • wp-admin/edit-form-advanced.php

     
    204204<?php endif; ?> 
    205205<form name="post" action="post.php" method="post" id="post"<?php do_action('post_edit_form_tag'); ?>> 
    206206<?php wp_nonce_field($nonce_action); ?> 
    207 <input type="hidden" name="parent_id" value="<?php echo esc_attr( $post->post_parent ); ?>" /> 
    208207<input type="hidden" id="user-id" name="user_ID" value="<?php echo (int) $user_ID ?>" /> 
    209208<input type="hidden" id="hiddenaction" name="action" value="<?php echo esc_attr( $form_action ) ?>" /> 
    210209<input type="hidden" id="originalaction" name="originalaction" value="<?php echo esc_attr( $form_action ) ?>" />