mirror of
https://gitlab.com/ArkHost/WP-Security-Pack.git
synced 2026-09-19 17:37:30 +02:00
v1.0
This commit is contained in:
@@ -953,9 +953,9 @@ class WPSP_Admin {
|
||||
<strong><?php esc_html_e( 'GeoIP Database Required', 'wp-security-pack' ); ?></strong><br>
|
||||
<?php
|
||||
printf(
|
||||
/* translators: %s: Link to Geo Blocking tab */
|
||||
/* translators: %s: Link to IP Control tab */
|
||||
esc_html__( 'Country detection requires the GeoIP database. Please download it from the %s tab.', 'wp-security-pack' ),
|
||||
'<a href="#" onclick="document.querySelector(\'a[href=\\\'#geo-blocking\\\']\').click(); return false;"><strong>' . esc_html__( 'Geo Blocking', 'wp-security-pack' ) . '</strong></a>'
|
||||
'<a href="' . esc_url( admin_url( 'admin.php?page=wp-security-pack&tab=ip' ) ) . '"><strong>' . esc_html__( 'IP Control', 'wp-security-pack' ) . '</strong></a>'
|
||||
);
|
||||
?>
|
||||
</p>
|
||||
@@ -2610,11 +2610,15 @@ class WPSP_Admin {
|
||||
<td><?php echo esc_html( WPSP_VERSION ); ?></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><strong><?php esc_html_e( 'Your IP Address', 'wp-security-pack' ); ?></strong></td>
|
||||
<td><strong><?php esc_html_e( 'Server IP Address', 'wp-security-pack' ); ?></strong></td>
|
||||
<td>
|
||||
<code><?php echo esc_html( $current_ip ); ?></code>
|
||||
<?php if ( $country_code ) : ?>
|
||||
<?php echo esc_html( WPSP_Helper::get_country_flag( $country_code ) . ' ' . $country_code ); ?>
|
||||
<?php
|
||||
$server_ip = WPSP_Helper::get_server_ip();
|
||||
if ( $server_ip ) :
|
||||
?>
|
||||
<code><?php echo esc_html( $server_ip ); ?></code>
|
||||
<?php else : ?>
|
||||
<em><?php esc_html_e( 'Unable to detect', 'wp-security-pack' ); ?></em>
|
||||
<?php endif; ?>
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
Reference in New Issue
Block a user