Изначально поля имени и email выглядят так
Находим следующие строки в файле /wp-includes/comment-template.php. и удаляем выделенное
‘author’ => ‘<p>’ . ‘<label for=»author»>’ . __( ‘Name’ ) . ( $req ? ‘ <span>*</span>’ : » ) . ‘</$ ‘<input id=»author» name=»author» type=»text» value=»‘ . esc_attr( $‘author’ => ‘<input id=»author» name=»author» placeholder=»Имя» type=»text» value=»‘ . esc_attr( $commenter['comment_author'] ) . ‘» size=»30″‘ . $aria_req . ‘ /></p>’, ‘email’ => ‘<input id=»email» name=»email» placeholder=»E-mail» type=»text» value=»‘ . esc_attr( $commenter['comment_author_email'] ) . ‘» size=»30″‘ . $aria_req . ‘ /></p>’,commenter['comment_author'] ) . ‘» size=»30″‘ . $aria_req . ‘ />$ ‘email’ => ‘<p><label for=»email»>’ . __( ‘Email’ ) . ( $req ? ‘ <span>*</span>’ : » ) . ‘</label>$ ‘<input id=»email» name=»email» type=»text» value=»‘ . esc_attr( $commenter['comment_author_email'] ) . ‘» size=»30″‘ . $aria_req .$
После чего добавляем параметр placeholder= с тем текстом который будет отображаться в полях
‘author’ => ‘<input id=»author» name=»author» placeholder=»Имя» type=»text» value=»‘ . esc_attr( $commenter['comment_author'] ) . ‘» size=»30″‘ . $aria_req . ‘ /></p>’, ‘email’ => ‘<input id=»email» name=»email» placeholder=»E-mail» type=»text» value=»‘ . esc_attr( $commenter['comment_author_email'] ) . ‘» size=»30″‘ . $aria_req . ‘ /></p>’,
Получаем результат