Quick Edit: fix an ID attribute name collision by renaming one of the author fields author-name.

Props afercia.
Fixes #33770.


git-svn-id: https://develop.svn.wordpress.org/trunk@34070 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Scott Taylor 2015-09-12 02:34:52 +00:00
parent 0f2078bc9e
commit 6a262bd6ce

View File

@ -498,8 +498,8 @@ function wp_comment_reply( $position = 1, $checkbox = false, $mode = 'single', $
<div id="addhead" style="display:none;"><h5><?php _e('Add new Comment'); ?></h5></div>
<div id="edithead" style="display:none;">
<div class="inside">
<label for="author"><?php _e('Name') ?></label>
<input type="text" name="newcomment_author" size="50" value="" id="author" />
<label for="author-name"><?php _e( 'Name' ) ?></label>
<input type="text" name="newcomment_author" size="50" value="" id="author-name" />
</div>
<div class="inside">