✏️ 编辑:scan-email-template.php
路径:
/home/forge/kingkrunch.com/wp/wp-content/plugins/wp-defender/src/traits/scan-email-template.php
大小:1.25 KB · 修改:2025-10-22 00:15:46 · 权限:0644 · 可写
← 返回目录
👁 查看
⬇ 下载
<?php /** * Handle common Scan notification and reporting template. * * @since 3.8.0 * @package WP_Defender\Traits */ namespace WP_Defender\Traits; trait Scan_Email_Template { /** * Get email template. * * @return array */ public function get_email_template(): array { return array( 'found' => array( 'subject' => esc_html__( 'Malware Scan of {SITE_URL} is complete. {ISSUES_COUNT} issue(s) found.', 'wpdef' ), 'body' => esc_html__( 'Hi {USER_NAME}, Malware Scan identified {ISSUES_COUNT} issue(s) on {SITE_URL}. The identified issue(s) is/are listed below. {ISSUES_LIST}', 'wpdef' ), ), 'not_found' => array( 'subject' => esc_html__( 'Scan of {SITE_URL} complete. {ISSUES_COUNT} issues found.', 'wpdef' ), 'body' => esc_html__( 'Hi {USER_NAME}, No vulnerabilities have been found for {SITE_URL}.', 'wpdef' ), ), 'error' => array( 'subject' => esc_html__( 'Couldn’t scan {SITE_URL} for vulnerabilities. ', 'wpdef' ), 'body' => esc_html__( 'Hi {USER_NAME}, We couldn’t scan {SITE_URL} for vulnerabilities. Please visit your site and run a manual scan.', 'wpdef' ), ), ); } }
💾 保存
取消
保存为 UTF-8,换行统一为 LF