diff --git a/includes/class-wpvul-admin-settings.php b/includes/class-wpvul-admin-settings.php index 5edc357..0ecbff8 100644 --- a/includes/class-wpvul-admin-settings.php +++ b/includes/class-wpvul-admin-settings.php @@ -189,7 +189,9 @@ public function admin_section_api_info() { * @return void */ public function emails_callback() { - if( empty( $this->wpvulnerability_settings['emails'] ) ) $this->wpvulnerability_settings['emails'] = get_bloginfo( 'admin_email' ); + if ( empty( $this->wpvulnerability_settings['emails'] ) ) { + $this->wpvulnerability_settings['emails'] = get_bloginfo( 'admin_email' ); + } printf( '', isset( $this->wpvulnerability_settings['emails'] ) ? esc_attr( $this->wpvulnerability_settings['emails'] ) : '' @@ -202,7 +204,9 @@ public function emails_callback() { * @return void */ public function period_callback() { - if( empty( $this->wpvulnerability_settings['period'] ) ) $this->wpvulnerability_settings['period'] = 'weekly'; + if ( empty( $this->wpvulnerability_settings['period'] ) ) { + $this->wpvulnerability_settings['period'] = 'weekly'; + } ?> wpvulnerability_settings['period'], 'weekly' ); ?>> diff --git a/includes/class-wpvul-notification.php b/includes/class-wpvul-notification.php index ba11667..44ac317 100644 --- a/includes/class-wpvul-notification.php +++ b/includes/class-wpvul-notification.php @@ -110,7 +110,7 @@ public function execute_notification() { * @return html */ private function html_email( $title, $content ) { - $message = ' + $message = ' @@ -159,7 +159,6 @@ private function html_email( $title, $content ) { '; $message .= $content; - $message .= '