Do not output an HTML ID on the (potentially duplicate) hidden parent_id field. props nacin. fixes #13179 for trunk
git-svn-id: https://develop.svn.wordpress.org/trunk@17445 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
a57952b5c9
commit
2c7004c199
@ -210,7 +210,7 @@ require_once('./admin-header.php');
|
||||
<?php endif; ?>
|
||||
<form name="post" action="post.php" method="post" id="post"<?php do_action('post_edit_form_tag'); ?>>
|
||||
<?php wp_nonce_field($nonce_action); ?>
|
||||
<input type="hidden" id="parent_id" name="parent_id" value="<?php echo esc_attr( $post->post_parent ); ?>" />
|
||||
<input type="hidden" name="parent_id" value="<?php echo esc_attr( $post->post_parent ); ?>" />
|
||||
<input type="hidden" id="user-id" name="user_ID" value="<?php echo (int) $user_ID ?>" />
|
||||
<input type="hidden" id="hiddenaction" name="action" value="<?php echo esc_attr( $form_action ) ?>" />
|
||||
<input type="hidden" id="originalaction" name="originalaction" value="<?php echo esc_attr( $form_action ) ?>" />
|
||||
|
Loading…
Reference in New Issue
Block a user