Replies: 1
In several of WP themes, the punctuation for the comment preview string of $moderation_note is incorrect.
This is the coding in the functions file for the twentytwelve theme:
$commenter = wp_get_current_commenter();
if ( $commenter['comment_author_email'] ) {
$moderation_note = __( 'Your comment is awaiting moderation.', 'twentytwelve' );
} else {
$moderation_note = __( 'Your comment is awaiting moderation. This is a preview, your comment will be visible after it has been approved.', 'twentytwelve' );
}
No doubt, other WP themes’ functions files have something similar, because when I searched “This is a preview, your comment will be visible after it has been approved”, various WP themes appeared (recent ones as well as this earlier twentytwelve).
I have been unable to discover how to change the wording within my own child theme’s functions file. (I have asked for help on this on two occasions but it appears that anyone looking in the WP forums doesn’t know the answer either.)
Therefore, in the next updates of WP themes Twenty Twenty, Twenty Nineteen, Twenty8teen, Twenty Seventeen, etc. etc. down to Twenty Ten, please correct the punctuation in the following string
This is a preview, your comment will be visible after it has been approved.
Please note that the comma after “preview” does not belong. The sentence should read:
This is a preview; your comment will be visible after it has been approved.
OR
This is a preview – your comment will be visible after it has been approved.
OR
This is a preview. Your comment will be visible after it has been approved.
Of course, it may seem like a small thing to have to change, but grammar teachers will be most appreciative. As would I. Thank you.