PluginProbe
Easy Basic Authentication – Add basic auth to site or admin area / 2.5
Easy Basic Authentication – Add basic auth to site or admin area v2.5
trunk 1.1 1.2 1.3 1.3.1 1.3.2 1.3.3 1.3.4 1.3.5 1.4 1.4.1 1.5 1.5.1 1.5.2 1.5.3 1.6 1.6.1 1.6.2 1.6.3 1.6.4 1.7 1.7.1 1.8 1.8.1 1.9 All 50 releases
← All changes | template/log_page.php +9 -9 1.62.5 View file →
@@ -1,11 +1,11 @@
1 1 <div class="wrap">
2 - <h2><?php echo __('Unauthorized access log', 'easy-basic-authentication'); ?></h2>
2 + <h2><?php echo esc_html__('Unauthorized access log', 'easy-basic-authentication'); ?></h2>
3 3 <p>
4 4 <form method="post" action="<?php echo esc_url(admin_url('admin.php?page=basic-auth-login')); ?>">
5 5 <input type="hidden" name="clear_mode" value="1">
6 6 <button type="submit" class="button button-primary">
7 - <?php echo __('Clear log', 'easy-basic-authentication'); ?>
7 + <?php echo esc_html__('Clear log', 'easy-basic-authentication'); ?>
8 8 </button>
9 9 </form>
10 10 </p>
11 11 <table class="wp-list-table widefat fixed striped">
@@ -10,21 +10,21 @@
10 10 </p>
11 11 <table class="wp-list-table widefat fixed striped">
12 12 <thead>
13 13 <tr>
14 - <th><?php echo __('ID', 'easy-basic-authentication'); ?></th>
15 - <th><?php echo __('IP Address', 'easy-basic-authentication'); ?></th>
16 - <th><?php echo __('Date', 'easy-basic-authentication'); ?></th>
17 - <th><?php echo __('Browser', 'easy-basic-authentication'); ?></th>
18 - <th><?php echo __('Request URI', 'easy-basic-authentication'); ?></th>
14 + <th><?php echo esc_html__('ID', 'easy-basic-authentication'); ?></th>
15 + <th><?php echo esc_html__('IP Address', 'easy-basic-authentication'); ?></th>
16 + <th><?php echo esc_html__('Date', 'easy-basic-authentication'); ?></th>
17 + <th><?php echo esc_html__('Browser', 'easy-basic-authentication'); ?></th>
18 + <th><?php echo esc_html__('Request URI', 'easy-basic-authentication'); ?></th>
19 19 </tr>
20 20 </thead>
21 21 <tbody>
22 22 <?php
23 23 foreach ($user_log_data as $entry) {
24 - $new = $entry['viewed']?'':' ('.__('new', 'easy-basic-authentication').')';
24 + $new = $entry['viewed']?'':' ('.esc_html__('new', 'easy-basic-authentication').')';
25 25 echo "<tr>";
26 - echo "<td>" . esc_html($entry['id']) .$new. "</td>";
26 + echo "<td>" . esc_html($entry['id']) .esc_attr($new). "</td>";
27 27 echo "<td>" . esc_html($entry['ip']) . "</td>";
28 28 echo "<td>" . esc_html($entry['data']) . "</td>";
29 29 echo "<td>" . esc_html($entry['browser']) . "</td>";
30 30 echo "<td>" . esc_html(isset($entry['request_uri'])?$entry['request_uri']:'') . "</td>";