mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-07-01 15:50:09 +00:00
Comments: Improve author and content of the default comment.
The new comment: > A WordPress Commenter <!wapuu@wordpress.example>: > > Hi, this is a comment. > To moderate comments, just log in. There you will have the option to edit or delete them. > Commenter avatars come from <a href="!https://gravatar.com">Gravatar</a>. Also introduces a network setting to set the email address of the first comment author on a new site. Props Ipstenu, rachelbaker, jorbin, jeremyfelt. Fixes #36702, #14268. git-svn-id: https://develop.svn.wordpress.org/trunk@37888 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
@@ -62,6 +62,7 @@ if ( $_POST ) {
|
||||
'first_post', 'first_page', 'first_comment', 'first_comment_url', 'first_comment_author',
|
||||
'welcome_email', 'welcome_user_email', 'fileupload_maxk', 'global_terms_enabled',
|
||||
'illegal_names', 'limited_email_domains', 'banned_email_domains', 'WPLANG', 'admin_email',
|
||||
'first_comment_email',
|
||||
);
|
||||
|
||||
// Handle translation install.
|
||||
@@ -264,6 +265,15 @@ if ( isset( $_GET['updated'] ) ) {
|
||||
</p>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th scope="row"><label for="first_comment_email"><?php _e( 'First Comment Email' ) ?></label></th>
|
||||
<td>
|
||||
<input type="text" size="40" name="first_comment_email" id="first_comment_email" aria-describedby="first-comment-email-desc" value="<?php echo esc_attr( get_site_option( 'first_comment_email' ) ); ?>" />
|
||||
<p class="description" id="first-comment-email-desc">
|
||||
<?php _e( 'The email address of the first comment author on a new site.' ) ?>
|
||||
</p>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th scope="row"><label for="first_comment_url"><?php _e( 'First Comment URL' ) ?></label></th>
|
||||
<td>
|
||||
|
||||
Reference in New Issue
Block a user