Skip to content

Commit

Permalink
Merge pull request #418 from leo-ger/patch-1
Browse files Browse the repository at this point in the history
Add space between 'E-Mail' label and the actual email in contact form
  • Loading branch information
albig authored Nov 2, 2023
2 parents 4e1a5d6 + 0501901 commit 653d977
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion functions/contact-form.php
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ function sunflower_contact_form() {
$to = get_sunflower_setting( 'sunflower_contact_form_to' ) ?: get_option( 'admin_email' );

$subject = __( 'New contact form', 'sunflower' );
$message = sprintf( "Name: %s\nE-Mail:%s\n\n%s", $name, $mail, $message );
$message = sprintf( "Name: %s\nE-Mail: %s\n\n%s", $name, $mail, $message );

if ( ! empty( $mail ) ) {
$headers = 'Reply-To: ' . $mail;
Expand Down

0 comments on commit 653d977

Please sign in to comment.