Make WordPress Core

Changeset 18112


Ignore:
Timestamp:
06/02/2011 03:26:01 PM (13 years ago)
Author:
ryan
Message:

Remove redundant hidden parent_id input from edit form. Props solarissmoke. fixes #17656

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-admin/edit-form-advanced.php

    r18092 r18112  
    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 ) ?>" />
Note: See TracChangeset for help on using the changeset viewer.