Skip to content

Commit

Permalink
Format strings
Browse files Browse the repository at this point in the history
Alter string formation after changing logic.
  • Loading branch information
pkevan authored Oct 29, 2024
1 parent 3581f3d commit c24cae4
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -278,16 +278,16 @@ public function notify_applicant_application_received( $email_address, $event_ci
sanitize_text_field( $event_city )
);
$message .= sprintf(
"---- Internal details for the Community Team ----\n\n
"---- Internal details for the Community Team ----\n
Name: %1\$s\n
Type: %2\$s\n",
Type: %2\$s",
$this->get_event_label(),
sanitize_text_field( $event_city ),
);

if ( 0 !== $application_post ) {
$message .= sprintf(
'URL: https://central.wordcamp.org/wp-admin/post.php?post=%3\$d&action=edit',
"\nURL: https://central.wordcamp.org/wp-admin/post.php?post=%1\$d&action=edit",
absint( $application_post )
);
}
Expand Down

0 comments on commit c24cae4

Please sign in to comment.