Skip to content

Commit

Permalink
FIX: When a job has hyphens in the title, they're being mauled in the…
Browse files Browse the repository at this point in the history
… subject line of emails
  • Loading branch information
nithinjohn22 committed Apr 1, 2024
1 parent a206860 commit 8763f84
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion inc/class-awsm-job-openings-form.php
Original file line number Diff line number Diff line change
Expand Up @@ -533,7 +533,7 @@ public function insert_application() {
wp_update_attachment_metadata( $attach_id, $attach_data );
$applicant_details = array(
'awsm_job_id' => $job_id,
'awsm_apply_for' => esc_html( get_the_title( $job_id ) ),
'awsm_apply_for' => html_entity_decode( esc_html( get_the_title( $job_id ) ) ),
'awsm_applicant_ip' => isset( $_SERVER['REMOTE_ADDR'] ) ? sanitize_text_field( $_SERVER['REMOTE_ADDR'] ) : '',
'awsm_applicant_name' => $applicant_name,
'awsm_applicant_email' => $applicant_email,
Expand Down

0 comments on commit 8763f84

Please sign in to comment.