From 2a1d6e141bb07a30cc4cd6badf7cd88b3a66b307 Mon Sep 17 00:00:00 2001 From: nbachiyski Date: Mon, 3 May 2010 18:48:33 +0000 Subject: [PATCH] Take out the leading space from the translatable string git-svn-id: http://svn.automattic.com/wordpress/trunk@14378 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-includes/comment-template.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/wp-includes/comment-template.php b/wp-includes/comment-template.php index 4315e3b70..f8c21c9a6 100644 --- a/wp-includes/comment-template.php +++ b/wp-includes/comment-template.php @@ -1502,12 +1502,13 @@ function comment_form( $args = array(), $post_id = null ) { '

', ); + $required_text = sprintf( ' ' . __('Required fields are marked %s'), '*' ); $defaults = array( 'fields' => apply_filters( 'comment_form_default_fields', $fields ), '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 %2$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 address will not be published.' ) . ( $req ? __( ' Required fields are marked *' ) : '' ) . '

', + 'comment_notes_before' => '

' . __( 'Your email address will not be published.' ) . ( $req ? $required_text : '' ) . '

', 'comment_notes_after' => '
' . __( 'You may use these HTML tags and attributes:' ) . '
' . allowed_tags() . '
', 'id_form' => 'commentform', 'id_submit' => 'submit',