Skip to content

Commit

Permalink
Merge pull request #338 from NekoJonez/patch-1
Browse files Browse the repository at this point in the history
Fix missing text domain
  • Loading branch information
dkotter authored Nov 26, 2024
2 parents a28c5de + 77200e4 commit 9ddb1c4
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions restricted_site_access.php
Original file line number Diff line number Diff line change
Expand Up @@ -1301,14 +1301,14 @@ public static function settings_field_allowed() {
}
?>
<div class="rsa_unrestricted_ip_row">
<input type="text" name="rsa_options[allowed][]" class="ip code" placeholder="<?php esc_attr_e( 'IP Address or Range' ); ?>" size="20" />
<input type="text" name="rsa_options[comment][]" class="newipcomment" placeholder="<?php esc_attr_e( 'Identify this entry' ); ?>" size="20" />
<input type="text" name="rsa_options[allowed][]" class="ip code" placeholder="<?php esc_attr_e( 'IP Address or Range', 'restricted-site-access' ); ?>" size="20" />
<input type="text" name="rsa_options[comment][]" class="newipcomment" placeholder="<?php esc_attr_e( 'Identify this entry', 'restricted-site-access' ); ?>" size="20" />
<a href="#remove" class="remove_btn"><?php echo esc_html( _x( 'Remove', 'remove IP address action', 'restricted-site-access' ) ); ?></a>
</div>
</div>
<div id="rsa_add_new_ip_fields">
<p class="description"><label><?php esc_html_e( 'Enter a single IP address or a range using a subnet prefix', 'restricted-site-access' ); ?></label></p>
<input class="button" type="button" id="addip" value="<?php esc_attr_e( 'Add new IP' ); ?>" style="margin-top: 5px;" />
<input class="button" type="button" id="addip" value="<?php esc_attr_e( 'Add new IP', 'restricted-site-access' ); ?>" style="margin-top: 5px;" />
<?php if ( ! empty( $_SERVER['REMOTE_ADDR'] ) ) : ?>
<input class="button" type="button" id="rsa_myip" value="<?php esc_attr_e( 'Add My Current IP Address', 'restricted-site-access' ); ?>" style="margin-top: 5px;" data-myip="<?php echo esc_attr( self::get_client_ip_address() ); ?>" /><br />
<?php endif; ?>
Expand Down

0 comments on commit 9ddb1c4

Please sign in to comment.