Skip to content

Commit

Permalink
fix special chars
Browse files Browse the repository at this point in the history
  • Loading branch information
davidperezgar committed Dec 5, 2022
1 parent f230240 commit 6d933bc
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions includes/class-wpvul-notification.php
Original file line number Diff line number Diff line change
Expand Up @@ -91,12 +91,11 @@ public function execute_notification() {
$email_content_hml = $this->html_email( esc_html__( 'Vulnerabilites founded', 'wpvulnerability' ), $email_content );

// Prepare email.
$parse = wp_parse_url( get_bloginfo( 'url' ) );
$email_headers = array();
$email_subject = sprintf(
// translators: site name.
__( 'Vulnerabilites founded in %s', 'wpvulnerability' ),
get_bloginfo( 'name' ) . ' ' . $parse['host']
get_bloginfo( 'name' )
);
$email_headers[] = 'From: WPVulnerability <' . get_bloginfo( 'admin_email' ) . '>';
$email_headers[] = 'Content-Type: text/html; charset=UTF-8';
Expand Down

0 comments on commit 6d933bc

Please sign in to comment.