From 23d19f67539af53da891f9a778342e6359f3fe52 Mon Sep 17 00:00:00 2001 From: Andrew Nacin Date: Thu, 15 Apr 2010 16:16:51 +0000 Subject: [PATCH] Update the html comments in comment_form(). props iandstewart, fixes #13016. git-svn-id: https://develop.svn.wordpress.org/trunk@14092 602fd350-edb4-49c9-b593-d223f7449a82 --- wp-includes/comment-template.php | 13 +++++-------- 1 file changed, 5 insertions(+), 8 deletions(-) diff --git a/wp-includes/comment-template.php b/wp-includes/comment-template.php index abeaef0e95..7d3ff4a84b 100644 --- a/wp-includes/comment-template.php +++ b/wp-includes/comment-template.php @@ -1496,21 +1496,18 @@ function comment_form( $args = array(), $post_id = null ) { $defaults = array( 'fields' => apply_filters( 'comment_form_default_fields', array( 'author' => '

' . ' ' . ( $req ? '*' : '' ) . - '' . - '

', + '

', 'email' => '

' . ' ' . ( $req ? '*' : '' ) . - '' . - '

', + '

', 'url' => '

' . '' . - '' . - '

' ) ), + '

' ) ), 'comment_field' => '

' . '' . '' . - '

', + '

', 'must_log_in' => '

' . sprintf( __( 'You must be logged in to post a comment.' ), wp_login_url( apply_filters( 'the_permalink', get_permalink( $post_id ) ) ) ) . '

', 'logged_in_as' => '

' . sprintf( __( 'Logged in as %s. Log out?

' ), admin_url( 'profile.php' ), $user_identity, wp_logout_url( apply_filters( 'the_permalink', get_permalink( $post_id ) ) ) ), 'comment_notes_before' => '

' . __( 'Your email is never published nor shared.' ) . ( $req ? __( ' Required fields are marked *' ) : '' ) . '

', @@ -1557,7 +1554,7 @@ function comment_form( $args = array(), $post_id = null ) { - +