Make WordPress Core

Changeset 17446


Ignore:
Timestamp:
02/13/2011 02:44:36 PM (14 years ago)
Author:
markjaquith
Message:

Do not output an HTML ID on the (potentially duplicate) hidden parent_id field. props nacin. fixes #13179 for 3.1

File:
1 edited

Legend:

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

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