mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-07-04 17:20:07 +00:00
Comments: Improve the Author box in the Edit Comment screen.
- Add a border below the heading, to match meta boxes. - Remove the colons from the input labels. - Tweak the padding and margins. Props birgire, abdullahramzan, rhetorical, BODA1982, pento. Fixes #43586. git-svn-id: https://develop.svn.wordpress.org/trunk@44466 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
@@ -41,28 +41,29 @@ if ( 'approved' === wp_get_comment_status( $comment ) && $comment->comment_post_
|
||||
<div id="namediv" class="stuffbox">
|
||||
<div class="inside">
|
||||
<fieldset>
|
||||
<legend class="edit-comment-author"><?php _e( 'Author' ); ?></legend>
|
||||
<h2 class="edit-comment-author">
|
||||
<span><?php _e( 'Author' ); ?></span>
|
||||
</h2>
|
||||
<table class="form-table editcomment">
|
||||
<tbody>
|
||||
<tr>
|
||||
<td class="first"><label for="name"><?php _e( 'Name:' ); ?></label></td>
|
||||
<td class="first"><label for="name"><?php _e( 'Name' ); ?></label></td>
|
||||
<td><input type="text" name="newcomment_author" size="30" value="<?php echo esc_attr( $comment->comment_author ); ?>" id="name" /></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="first"><label for="email"><?php _e( 'Email:' ); ?></label></td>
|
||||
<td class="first"><label for="email"><?php _e( 'Email' ); ?></label></td>
|
||||
<td>
|
||||
<input type="text" name="newcomment_author_email" size="30" value="<?php echo $comment->comment_author_email; ?>" id="email" />
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="first"><label for="newcomment_author_url"><?php _e( 'URL:' ); ?></label></td>
|
||||
<td class="first"><label for="newcomment_author_url"><?php _e( 'URL' ); ?></label></td>
|
||||
<td>
|
||||
<input type="text" id="newcomment_author_url" name="newcomment_author_url" size="30" class="code" value="<?php echo esc_attr( $comment->comment_author_url ); ?>" />
|
||||
</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
<br />
|
||||
</fieldset>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user