Permalink
Browse files

Do not output an HTML ID on the (potentially duplicate) hidden parent…

…_id field. props nacin. fixes #13179 for trunk

git-svn-id: http://svn.automattic.com/wordpress/trunk@17445 1a063a9b-81f0-0310-95a4-ce76da25c4cd
  • Loading branch information...
1 parent 55c2425 commit 4dbc1e1549ad40962583c2aadd2ba0c62219ccb4 markjaquith committed Feb 13, 2011
Showing with 1 addition and 1 deletion.
  1. +1 −1 wp-admin/edit-form-advanced.php
@@ -210,7 +210,7 @@
<?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 ) ?>" />

0 comments on commit 4dbc1e1

Please sign in to comment.