updatepulse-server/inc/templates/error-page.php
Alexandre Froger 6bb34ba614 add early exit
2023-12-13 06:17:00 +08:00

12 lines
271 B
PHP

<?php if ( ! defined( 'ABSPATH' ) ) {
exit; // Exit if accessed directly
} ?>
<html>
<head>
<title><?php echo esc_html( $title ); ?></title>
</head>
<body>
<h1><?php echo esc_html( $heading ); ?></h1>
<p><?php echo esc_html( $message ); ?></p>
</body>
</html>