| @@ -2,15 +2,14 @@ | ||
| 2 | 2 | if ( ! defined( 'ABSPATH' ) ) { |
| 3 | 3 | exit; // Exit if accessed directly |
| 4 | 4 | } |
| 5 | 5 | |
| 6 | -esc_html_e( 'New Contact Form Submission', 'ablocks' ) . "\n"; | |
| 7 | -esc_html_e( 'You have a new contact form submission!', 'ablocks' ) . "\n"; | |
| 8 | -esc_html_e( 'Email:', 'ablocks' ) . esc_html( $email ) . "\n"; | |
| 9 | -esc_html_e( 'Message:', 'ablocks' ) . "\n"; | |
| 6 | +// esc_html_e( 'New Contact Form Submission', 'ablocks' ) . "\n"; | |
| 7 | +// esc_html_e( 'You have a new contact form submission!', 'ablocks' ) . "\n"; | |
| 8 | +// esc_html_e( 'Email:', 'ablocks' ) . esc_html( $email ) . "\n"; | |
| 9 | +// esc_html_e( 'Message:', 'ablocks' ) . "\n"; | |
| 10 | 10 | echo wp_kses_post( $message ) . "\n"; |
| 11 | -esc_html_e( 'Login to your admin panel to view the submission.', 'ablocks' ) . "\n"; | |
| 12 | 11 | |
| 13 | 12 | $url = wp_parse_url( get_bloginfo( 'url' ) ); |
| 14 | 13 | $host = isset( $url['host'] ) ? sanitize_text_field( $url['host'] ) : ''; |
| 15 | 14 | $port = isset( $url['port'] ) ? sanitize_text_field( (string) $url['port'] ) : '80'; |
| 16 | -echo '©' . esc_html( $host . ':' . $port ); | |
| 15 | +echo esc_html( $host . ':' . $port ); | |