PluginProbe
DoLogin Security / trunk
DoLogin Security vtrunk
5.0.10 4.8.3 trunk 1.0 1.1 1.1.1 1.2 1.2.1 1.2.2 1.3 1.3.1 1.3.2 1.3.3 1.3.4 1.3.5 1.4 1.4.1 1.4.2 1.4.3 1.4.4 1.4.5 1.4.6 1.4.7 1.5 1.6 All 64 releases
dologin / tpl / error.tpl.php

error.tpl.php in DoLogin Security trunk, at tpl/error.tpl.php

33 lines 1.3 KB
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 <?php
2 /**
3 * Standalone error page for public token endpoints.
4 *
5 * @package dologin
6 */
7
8 namespace dologin;
9
10 defined( 'WPINC' ) || exit;
11
12 // Secret-bearing token URLs must not leak through referrers.
13 if ( ! headers_sent() ) {
14 header( 'Referrer-Policy: no-referrer' );
15 }
16 ?>
17 <!DOCTYPE html>
18 <html <?php language_attributes(); ?>>
19 <head>
20 <meta charset="<?php bloginfo( 'charset' ); ?>" />
21 <meta name="viewport" content="width=device-width, initial-scale=1" />
22 <meta name="robots" content="noindex,nofollow" />
23 <title><?php esc_html_e( 'DoLogin Security', 'dologin' ); ?></title>
24 </head>
25 <body style="margin:0;background:#f0f0f1;font-family:-apple-system,BlinkMacSystemFont,'Segoe UI',Roboto,Oxygen-Sans,Ubuntu,Cantarell,'Helvetica Neue',sans-serif;color:#1d2327;">
26 <main style="max-width:520px;margin:60px auto;padding:24px;background:#fff;border:1px solid #dcdcde;border-radius:8px;text-align:center;">
27 <h1 style="margin:0 0 16px;font-size:1.3em;"><?php esc_html_e( 'DoLogin Security', 'dologin' ); ?></h1>
28 <p style="margin:0;line-height:1.5;color:#b32d2e;"><?php echo esc_html( $message ); ?></p>
29 <p style="margin:20px 0 0;"><a href="<?php echo esc_url( wp_login_url() ); ?>" style="color:#2271b1;text-decoration:underline;"><?php esc_html_e( 'Go to the login page', 'dologin' ); ?></a></p>
30 </main>
31 </body>
32 </html>
33