<?php
/**
 * Optional HTML rendering of the high-risk alert for future transports.
 *
 * @var int    $localguard_scanner_scan_id  Scan ID.
 * @var int    $localguard_scanner_critical Critical count.
 * @var int    $localguard_scanner_high     High count.
 * @var string $localguard_scanner_url      Authenticated dashboard URL.
 *
 * @package LocalGuardScanner
 */

defined( 'ABSPATH' ) || exit;
?>
<h1><?php echo esc_html__( 'LocalGuard Scanner alert', 'localguard-scanner' ); ?></h1>
<p>
	<?php
	echo esc_html(
		sprintf(
			/* translators: 1: scan ID, 2: critical count, 3: high count. */
			__( 'Scan #%1$d found %2$d new critical and %3$d new high-risk items.', 'localguard-scanner' ),
			$localguard_scanner_scan_id,
			$localguard_scanner_critical,
			$localguard_scanner_high
		)
	);
	?>
</p>
<p><a href="<?php echo esc_url( $localguard_scanner_url ); ?>"><?php echo esc_html__( 'Review the redacted evidence in WordPress', 'localguard-scanner' ); ?></a></p>
