Version Description
- Fixed: Compliance with WordPress.org code quality https://github.com/aamplugin/advanced-access-manager/issues/229
Download this release
Release Info
Developer | vasyltech |
Plugin | Advanced Access Manager |
Version | 6.9.2 |
Comparing to | |
See all releases |
Code changes from version 6.9.1 to 6.9.2
- aam.php +2 -2
- application/Backend/tmpl/metabox/iframe-footer.php +4 -3
- application/Backend/tmpl/metabox/iframe-header.php +4 -3
- application/Backend/tmpl/metabox/main-iframe.php +9 -2
- application/Backend/tmpl/metabox/policy-metabox.php +2 -3
- application/Backend/tmpl/metabox/post-iframe.php +8 -1
- application/Backend/tmpl/metabox/principal-iframe.php +14 -1
- application/Backend/tmpl/metabox/user-iframe.php +14 -1
- application/Backend/tmpl/page/addon-panel.php +4 -5
- application/Backend/tmpl/page/main-panel.php +11 -4
- application/Backend/tmpl/service/capability.php +9 -2
- application/Backend/tmpl/settings/content.php +11 -4
- application/Backend/tmpl/settings/security.php +11 -4
- readme.txt +4 -1
aam.php
CHANGED
@@ -3,7 +3,7 @@
|
|
3 |
/**
|
4 |
* Plugin Name: Advanced Access Manager
|
5 |
* Description: Collection of features to manage your WordPress website authentication, authorization and monitoring
|
6 |
-
* Version: 6.9.
|
7 |
* Author: Vasyl Martyniuk <vasyl@vasyltech.com>
|
8 |
* Author URI: https://vasyltech.com
|
9 |
* Text Domain: advanced-access-manager
|
@@ -264,7 +264,7 @@ if (defined('ABSPATH')) {
|
|
264 |
// Define few common constants
|
265 |
define('AAM_MEDIA', plugins_url('/media', __FILE__));
|
266 |
define('AAM_KEY', 'advanced-access-manager');
|
267 |
-
define('AAM_VERSION', '6.9.
|
268 |
define('AAM_BASEDIR', __DIR__);
|
269 |
|
270 |
// Load vendor
|
3 |
/**
|
4 |
* Plugin Name: Advanced Access Manager
|
5 |
* Description: Collection of features to manage your WordPress website authentication, authorization and monitoring
|
6 |
+
* Version: 6.9.2
|
7 |
* Author: Vasyl Martyniuk <vasyl@vasyltech.com>
|
8 |
* Author URI: https://vasyltech.com
|
9 |
* Text Domain: advanced-access-manager
|
264 |
// Define few common constants
|
265 |
define('AAM_MEDIA', plugins_url('/media', __FILE__));
|
266 |
define('AAM_KEY', 'advanced-access-manager');
|
267 |
+
define('AAM_VERSION', '6.9.2');
|
268 |
define('AAM_BASEDIR', __DIR__);
|
269 |
|
270 |
// Load vendor
|
application/Backend/tmpl/metabox/iframe-footer.php
CHANGED
@@ -1,20 +1,21 @@
|
|
1 |
<?php
|
2 |
/**
|
|
|
3 |
* @since 6.8.4 https://github.com/aamplugin/advanced-access-manager/issues/212
|
4 |
* @since 6.8.4 https://github.com/aamplugin/advanced-access-manager/issues/213
|
5 |
* @since 6.0.5 Changed the way core libraries are loaded to avoid issue with
|
6 |
* concatenated scripts with PHP
|
7 |
* @since 6.0.0 Initial implementation of the template
|
8 |
*
|
9 |
-
* @version 6.
|
10 |
**/
|
11 |
if (defined('AAM_KEY')) { ?>
|
12 |
<?php global $wp_scripts; ?>
|
13 |
|
14 |
-
<?php $wp_scripts->do_items(array('jquery-core', 'jquery-migrate', 'code-editor')); ?>
|
15 |
<?php do_action('aam_iframe_footer_action'); ?>
|
16 |
|
17 |
-
|
18 |
</body>
|
19 |
</html>
|
20 |
<?php }
|
1 |
<?php
|
2 |
/**
|
3 |
+
* @since 6.9.2 https://github.com/aamplugin/advanced-access-manager/issues/229
|
4 |
* @since 6.8.4 https://github.com/aamplugin/advanced-access-manager/issues/212
|
5 |
* @since 6.8.4 https://github.com/aamplugin/advanced-access-manager/issues/213
|
6 |
* @since 6.0.5 Changed the way core libraries are loaded to avoid issue with
|
7 |
* concatenated scripts with PHP
|
8 |
* @since 6.0.0 Initial implementation of the template
|
9 |
*
|
10 |
+
* @version 6.9.2
|
11 |
**/
|
12 |
if (defined('AAM_KEY')) { ?>
|
13 |
<?php global $wp_scripts; ?>
|
14 |
|
15 |
+
<?php $wp_scripts->do_items(array('jquery-core', 'jquery-migrate', 'code-editor', 'aam-iframe')); ?>
|
16 |
<?php do_action('aam_iframe_footer_action'); ?>
|
17 |
|
18 |
+
<?php $wp_scripts->do_item('aam-iframe'); ?>
|
19 |
</body>
|
20 |
</html>
|
21 |
<?php }
|
application/Backend/tmpl/metabox/iframe-header.php
CHANGED
@@ -1,10 +1,11 @@
|
|
1 |
<?php
|
2 |
/**
|
|
|
3 |
* @since 6.0.5 Changed the way core libraries are loaded to avoid issue with
|
4 |
* concatenated styles with PHP
|
5 |
* @since 6.0.0 Initial implementation of the template
|
6 |
*
|
7 |
-
* @version 6.
|
8 |
* */
|
9 |
?>
|
10 |
|
@@ -22,8 +23,8 @@
|
|
22 |
<?php global $wp_styles; ?>
|
23 |
|
24 |
<?php $wp_styles->do_item('common'); ?>
|
25 |
-
|
26 |
-
|
27 |
|
28 |
<?php do_action('aam_iframe_header_action'); ?>
|
29 |
</head>
|
1 |
<?php
|
2 |
/**
|
3 |
+
* @since 6.9.2 https://github.com/aamplugin/advanced-access-manager/issues/229
|
4 |
* @since 6.0.5 Changed the way core libraries are loaded to avoid issue with
|
5 |
* concatenated styles with PHP
|
6 |
* @since 6.0.0 Initial implementation of the template
|
7 |
*
|
8 |
+
* @version 6.9.2
|
9 |
* */
|
10 |
?>
|
11 |
|
23 |
<?php global $wp_styles; ?>
|
24 |
|
25 |
<?php $wp_styles->do_item('common'); ?>
|
26 |
+
<?php $wp_styles->do_item('aam-vendor'); ?>
|
27 |
+
<?php $wp_styles->do_item('aam'); ?>
|
28 |
|
29 |
<?php do_action('aam_iframe_header_action'); ?>
|
30 |
</head>
|
application/Backend/tmpl/metabox/main-iframe.php
CHANGED
@@ -1,13 +1,20 @@
|
|
1 |
<?php
|
2 |
/**
|
|
|
3 |
* @since 6.7.4 Improved the UI consistency
|
4 |
* @since 6.5.0 https://github.com/aamplugin/advanced-access-manager/issues/104
|
5 |
* @since 6.4.2 Styling notification metabox
|
6 |
* @since 6.2.0 Added support & import/export modals
|
7 |
* @since 6.0.0 Initial implementation of the template
|
8 |
*
|
9 |
-
* @version 6.
|
10 |
* */
|
|
|
|
|
|
|
|
|
|
|
|
|
11 |
?>
|
12 |
|
13 |
<?php if (defined('AAM_KEY')) { ?>
|
@@ -40,7 +47,7 @@
|
|
40 |
<div class="aam-postbox-inside">
|
41 |
<ul class="aam-error-list">
|
42 |
<?php foreach (AAM_Core_Console::getAll() as $message) { ?>
|
43 |
-
<li><?php echo $message; ?></li>
|
44 |
<?php } ?>
|
45 |
</ul>
|
46 |
<div class="hidden" id="migration-errors-container"><?php echo base64_encode(print_r(AAM_Core_Migration::getFailureLog(), 1)); ?></div>
|
1 |
<?php
|
2 |
/**
|
3 |
+
* @since 6.9.2 https://github.com/aamplugin/advanced-access-manager/issues/229
|
4 |
* @since 6.7.4 Improved the UI consistency
|
5 |
* @since 6.5.0 https://github.com/aamplugin/advanced-access-manager/issues/104
|
6 |
* @since 6.4.2 Styling notification metabox
|
7 |
* @since 6.2.0 Added support & import/export modals
|
8 |
* @since 6.0.0 Initial implementation of the template
|
9 |
*
|
10 |
+
* @version 6.9.2
|
11 |
* */
|
12 |
+
|
13 |
+
if (defined('AAM_KEY')) {
|
14 |
+
wp_enqueue_style('aam-vendor', AAM_MEDIA . '/css/vendor.min.css');
|
15 |
+
wp_enqueue_style('aam', AAM_MEDIA . '/css/aam.css', array('aam-vendor'));
|
16 |
+
wp_enqueue_script('aam-iframe', AAM_MEDIA . '/js/iframe-content.js');
|
17 |
+
}
|
18 |
?>
|
19 |
|
20 |
<?php if (defined('AAM_KEY')) { ?>
|
47 |
<div class="aam-postbox-inside">
|
48 |
<ul class="aam-error-list">
|
49 |
<?php foreach (AAM_Core_Console::getAll() as $message) { ?>
|
50 |
+
<li><?php echo esc_js($message); ?></li>
|
51 |
<?php } ?>
|
52 |
</ul>
|
53 |
<div class="hidden" id="migration-errors-container"><?php echo base64_encode(print_r(AAM_Core_Migration::getFailureLog(), 1)); ?></div>
|
application/Backend/tmpl/metabox/policy-metabox.php
CHANGED
@@ -1,5 +1,6 @@
|
|
1 |
<?php
|
2 |
/**
|
|
|
3 |
* @since 6.9.1 https://github.com/aamplugin/advanced-access-manager/issues/228
|
4 |
* @since 6.8.4 https://github.com/aamplugin/advanced-access-manager/issues/212
|
5 |
* @since 6.2.2 Slightly changed the way errors are displayed
|
@@ -7,7 +8,7 @@
|
|
7 |
* @since 6.1.1 Removing the backslashes before displaying the policy
|
8 |
* @since 6.0.0 Initial implementation of the template
|
9 |
*
|
10 |
-
* @version 6.9.
|
11 |
*/
|
12 |
if (defined('AAM_KEY')) { ?>
|
13 |
<div>
|
@@ -42,7 +43,5 @@ if (defined('AAM_KEY')) { ?>
|
|
42 |
<p class="aam-infobox">
|
43 |
<?php echo sprintf(AAM_Backend_View_Helper::preparePhrase('To learn more about Access & Security policy document, please check [%sAccess & Security Policy%s] page.', 'b'), '<a href="https://aamplugin.com/reference/policy" target="_blank">', '</a>'); ?>
|
44 |
</p>
|
45 |
-
|
46 |
-
<script type='text/javascript' src="<?php echo AAM_MEDIA . '/js/vendor.js'; ?>"></script>
|
47 |
</div>
|
48 |
<?php }
|
1 |
<?php
|
2 |
/**
|
3 |
+
* @since 6.9.2 https://github.com/aamplugin/advanced-access-manager/issues/229
|
4 |
* @since 6.9.1 https://github.com/aamplugin/advanced-access-manager/issues/228
|
5 |
* @since 6.8.4 https://github.com/aamplugin/advanced-access-manager/issues/212
|
6 |
* @since 6.2.2 Slightly changed the way errors are displayed
|
8 |
* @since 6.1.1 Removing the backslashes before displaying the policy
|
9 |
* @since 6.0.0 Initial implementation of the template
|
10 |
*
|
11 |
+
* @version 6.9.2
|
12 |
*/
|
13 |
if (defined('AAM_KEY')) { ?>
|
14 |
<div>
|
43 |
<p class="aam-infobox">
|
44 |
<?php echo sprintf(AAM_Backend_View_Helper::preparePhrase('To learn more about Access & Security policy document, please check [%sAccess & Security Policy%s] page.', 'b'), '<a href="https://aamplugin.com/reference/policy" target="_blank">', '</a>'); ?>
|
45 |
</p>
|
|
|
|
|
46 |
</div>
|
47 |
<?php }
|
application/Backend/tmpl/metabox/post-iframe.php
CHANGED
@@ -1,10 +1,17 @@
|
|
1 |
<?php
|
2 |
/**
|
|
|
3 |
* @since 6.5.1 Improved styling
|
4 |
* @since 6.0.0 Initial implementation of the template
|
5 |
*
|
6 |
-
* @version 6.
|
7 |
* */
|
|
|
|
|
|
|
|
|
|
|
|
|
8 |
?>
|
9 |
|
10 |
<?php if (defined('AAM_KEY')) { ?>
|
1 |
<?php
|
2 |
/**
|
3 |
+
* @since 6.9.2 https://github.com/aamplugin/advanced-access-manager/issues/229
|
4 |
* @since 6.5.1 Improved styling
|
5 |
* @since 6.0.0 Initial implementation of the template
|
6 |
*
|
7 |
+
* @version 6.9.2
|
8 |
* */
|
9 |
+
|
10 |
+
if (defined('AAM_KEY')) {
|
11 |
+
wp_enqueue_style('aam-vendor', AAM_MEDIA . '/css/vendor.min.css');
|
12 |
+
wp_enqueue_style('aam', AAM_MEDIA . '/css/aam.css', array('aam-vendor'));
|
13 |
+
wp_enqueue_script('aam-iframe', AAM_MEDIA . '/js/iframe-content.js');
|
14 |
+
}
|
15 |
?>
|
16 |
|
17 |
<?php if (defined('AAM_KEY')) { ?>
|
application/Backend/tmpl/metabox/principal-iframe.php
CHANGED
@@ -1,4 +1,17 @@
|
|
1 |
-
<?php
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2 |
|
3 |
<?php if (defined('AAM_KEY')) { ?>
|
4 |
<?php echo static::loadTemplate(__DIR__ . '/iframe-header.php', $params); ?>
|
1 |
+
<?php
|
2 |
+
/**
|
3 |
+
* @since 6.9.2 https://github.com/aamplugin/advanced-access-manager/issues/229
|
4 |
+
* @since 6.0.0 Initial implementation of the template
|
5 |
+
*
|
6 |
+
* @version 6.9.2
|
7 |
+
* */
|
8 |
+
|
9 |
+
if (defined('AAM_KEY')) {
|
10 |
+
wp_enqueue_style('aam-vendor', AAM_MEDIA . '/css/vendor.min.css');
|
11 |
+
wp_enqueue_style('aam', AAM_MEDIA . '/css/aam.css', array('aam-vendor'));
|
12 |
+
wp_enqueue_script('aam-iframe', AAM_MEDIA . '/js/iframe-content.js');
|
13 |
+
}
|
14 |
+
?>
|
15 |
|
16 |
<?php if (defined('AAM_KEY')) { ?>
|
17 |
<?php echo static::loadTemplate(__DIR__ . '/iframe-header.php', $params); ?>
|
application/Backend/tmpl/metabox/user-iframe.php
CHANGED
@@ -1,4 +1,17 @@
|
|
1 |
-
<?php
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2 |
|
3 |
<?php if (defined('AAM_KEY')) { ?>
|
4 |
<?php echo static::loadTemplate(__DIR__ . '/iframe-header.php'); ?>
|
1 |
+
<?php
|
2 |
+
/**
|
3 |
+
* @since 6.9.2 https://github.com/aamplugin/advanced-access-manager/issues/229
|
4 |
+
* @since 6.0.0 Initial implementation of the template
|
5 |
+
*
|
6 |
+
* @version 6.9.2
|
7 |
+
* */
|
8 |
+
|
9 |
+
if (defined('AAM_KEY')) {
|
10 |
+
wp_enqueue_style('aam-vendor', AAM_MEDIA . '/css/vendor.min.css');
|
11 |
+
wp_enqueue_style('aam', AAM_MEDIA . '/css/aam.css', array('aam-vendor'));
|
12 |
+
wp_enqueue_script('aam-iframe', AAM_MEDIA . '/js/iframe-content.js');
|
13 |
+
}
|
14 |
+
?>
|
15 |
|
16 |
<?php if (defined('AAM_KEY')) { ?>
|
17 |
<?php echo static::loadTemplate(__DIR__ . '/iframe-header.php'); ?>
|
application/Backend/tmpl/page/addon-panel.php
CHANGED
@@ -1,14 +1,15 @@
|
|
1 |
<?php
|
2 |
|
3 |
/**
|
|
|
4 |
* @since 6.8.1 https://github.com/aamplugin/advanced-access-manager/issues/203
|
5 |
* @since 6.7.5 https://github.com/aamplugin/advanced-access-manager/issues/173
|
6 |
-
* @since 6.4.0
|
7 |
* @since 6.2.0 Removed expiration date for license to avoid confusion
|
8 |
* @since 6.0.5 Fixed typo in the license expiration property. Enriched plugin' status display
|
9 |
* @since 6.0.0 Initial implementation of the template
|
10 |
*
|
11 |
-
* @version 6.
|
12 |
* */
|
13 |
?>
|
14 |
|
@@ -127,9 +128,7 @@
|
|
127 |
</div>
|
128 |
<div class="modal-body aam-info-modal">
|
129 |
<p>
|
130 |
-
<?php echo __('Insert license key that you received after the payment
|
131 |
-
<br /> <br />
|
132 |
-
<img src="https://aamplugin.com/media/img/email-confirmation.jpg" class="img-responsive" />
|
133 |
</p>
|
134 |
</div>
|
135 |
<div class="modal-footer">
|
1 |
<?php
|
2 |
|
3 |
/**
|
4 |
+
* @since 6.9.2 https://github.com/aamplugin/advanced-access-manager/issues/229
|
5 |
* @since 6.8.1 https://github.com/aamplugin/advanced-access-manager/issues/203
|
6 |
* @since 6.7.5 https://github.com/aamplugin/advanced-access-manager/issues/173
|
7 |
+
* @since 6.4.0 https://github.com/aamplugin/advanced-access-manager/issues/78
|
8 |
* @since 6.2.0 Removed expiration date for license to avoid confusion
|
9 |
* @since 6.0.5 Fixed typo in the license expiration property. Enriched plugin' status display
|
10 |
* @since 6.0.0 Initial implementation of the template
|
11 |
*
|
12 |
+
* @version 6.9.2
|
13 |
* */
|
14 |
?>
|
15 |
|
128 |
</div>
|
129 |
<div class="modal-body aam-info-modal">
|
130 |
<p>
|
131 |
+
<?php echo __('Insert license key that you received after the payment. It might take up to 2 hours to process the payment.', AAM_KEY); ?>
|
|
|
|
|
132 |
</p>
|
133 |
</div>
|
134 |
<div class="modal-footer">
|
application/Backend/tmpl/page/main-panel.php
CHANGED
@@ -1,4 +1,11 @@
|
|
1 |
-
<?php
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2 |
|
3 |
<?php if (defined('AAM_KEY')) { ?>
|
4 |
<?php $features = AAM_Backend_Feature::retrieveList($params->type); ?>
|
@@ -9,9 +16,9 @@
|
|
9 |
<ul class="list-group" id="feature-list">
|
10 |
<?php
|
11 |
foreach ($features as $i => $feature) {
|
12 |
-
echo '<li class="list-group-item' . (isset($feature->class) ? ' ' . $feature->class : '') . '" data-feature="' . $feature->uid . '">';
|
13 |
-
echo $feature->title;
|
14 |
-
echo (empty($feature->notification) ? '' : ' <span class="badge">' . $feature->notification . '</span>');
|
15 |
echo '</li>';
|
16 |
}
|
17 |
?>
|
1 |
+
<?php
|
2 |
+
/**
|
3 |
+
* @since 6.9.2 https://github.com/aamplugin/advanced-access-manager/issues/229
|
4 |
+
* @since 6.0.0 Initial implementation of the template
|
5 |
+
*
|
6 |
+
* @version 6.9.2
|
7 |
+
* */
|
8 |
+
?>
|
9 |
|
10 |
<?php if (defined('AAM_KEY')) { ?>
|
11 |
<?php $features = AAM_Backend_Feature::retrieveList($params->type); ?>
|
16 |
<ul class="list-group" id="feature-list">
|
17 |
<?php
|
18 |
foreach ($features as $i => $feature) {
|
19 |
+
echo '<li class="list-group-item' . (isset($feature->class) ? ' ' . esc_attr($feature->class) : '') . '" data-feature="' . esc_attr($feature->uid) . '">';
|
20 |
+
echo esc_js($feature->title);
|
21 |
+
echo (empty($feature->notification) ? '' : ' <span class="badge">' . esc_js($feature->notification) . '</span>');
|
22 |
echo '</li>';
|
23 |
}
|
24 |
?>
|
application/Backend/tmpl/service/capability.php
CHANGED
@@ -1,4 +1,11 @@
|
|
1 |
-
<?php
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2 |
|
3 |
<?php if (defined('AAM_KEY')) { ?>
|
4 |
<div class="aam-feature" id="capability-content">
|
@@ -21,7 +28,7 @@
|
|
21 |
</a>
|
22 |
<ul class="dropdown-menu" id="capability-groups" aria-labelledby="capability-filter">
|
23 |
<?php foreach ($this->getGroupList() as $group) { ?>
|
24 |
-
<li><a href="#"><?php echo $group; ?></a></li>
|
25 |
<?php } ?>
|
26 |
<li role="separator" class="divider"></li>
|
27 |
<li><a href="#" data-assigned="true"><?php echo __('All Assigned', AAM_KEY); ?></a></li>
|
1 |
+
<?php
|
2 |
+
/**
|
3 |
+
* @since 6.9.2 https://github.com/aamplugin/advanced-access-manager/issues/229
|
4 |
+
* @since 6.0.0 Initial implementation of the template
|
5 |
+
*
|
6 |
+
* @version 6.9.2
|
7 |
+
* */
|
8 |
+
?>
|
9 |
|
10 |
<?php if (defined('AAM_KEY')) { ?>
|
11 |
<div class="aam-feature" id="capability-content">
|
28 |
</a>
|
29 |
<ul class="dropdown-menu" id="capability-groups" aria-labelledby="capability-filter">
|
30 |
<?php foreach ($this->getGroupList() as $group) { ?>
|
31 |
+
<li><a href="#"><?php echo esc_js($group); ?></a></li>
|
32 |
<?php } ?>
|
33 |
<li role="separator" class="divider"></li>
|
34 |
<li><a href="#" data-assigned="true"><?php echo __('All Assigned', AAM_KEY); ?></a></li>
|
application/Backend/tmpl/settings/content.php
CHANGED
@@ -1,4 +1,11 @@
|
|
1 |
-
<?php
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2 |
|
3 |
<?php if (defined('AAM_KEY')) { ?>
|
4 |
<div class="aam-feature settings" id="settings-content-content">
|
@@ -10,13 +17,13 @@
|
|
10 |
<?php foreach($list as $id => $option) { ?>
|
11 |
<tr>
|
12 |
<td>
|
13 |
-
<span class='aam-setting-title'><?php echo $option['title']; ?></span>
|
14 |
<p class="aam-setting-description">
|
15 |
-
<?php echo $option['description']; ?>
|
16 |
</p>
|
17 |
</td>
|
18 |
<td class="text-center">
|
19 |
-
<input data-toggle="toggle" name="<?php echo $id; ?>" id="utility-<?php echo $id; ?>" <?php echo ($option['value'] ? 'checked' : ''); ?> type="checkbox" data-on="<?php echo __('Enabled', AAM_KEY); ?>" data-off="<?php echo __('Disabled', AAM_KEY); ?>" data-size="small" />
|
20 |
</td>
|
21 |
</tr>
|
22 |
<?php } ?>
|
1 |
+
<?php
|
2 |
+
/**
|
3 |
+
* @since 6.9.2 https://github.com/aamplugin/advanced-access-manager/issues/229
|
4 |
+
* @since 6.0.0 Initial implementation of the template
|
5 |
+
*
|
6 |
+
* @version 6.9.2
|
7 |
+
* */
|
8 |
+
?>
|
9 |
|
10 |
<?php if (defined('AAM_KEY')) { ?>
|
11 |
<div class="aam-feature settings" id="settings-content-content">
|
17 |
<?php foreach($list as $id => $option) { ?>
|
18 |
<tr>
|
19 |
<td>
|
20 |
+
<span class='aam-setting-title'><?php echo esc_js($option['title']); ?></span>
|
21 |
<p class="aam-setting-description">
|
22 |
+
<?php echo esc_js($option['description']); ?>
|
23 |
</p>
|
24 |
</td>
|
25 |
<td class="text-center">
|
26 |
+
<input data-toggle="toggle" name="<?php echo esc_attr($id); ?>" id="utility-<?php echo esc_attr($id); ?>" <?php echo ($option['value'] ? 'checked' : ''); ?> type="checkbox" data-on="<?php echo __('Enabled', AAM_KEY); ?>" data-off="<?php echo __('Disabled', AAM_KEY); ?>" data-size="small" />
|
27 |
</td>
|
28 |
</tr>
|
29 |
<?php } ?>
|
application/Backend/tmpl/settings/security.php
CHANGED
@@ -1,4 +1,11 @@
|
|
1 |
-
<?php
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2 |
|
3 |
<?php if (defined('AAM_KEY')) { ?>
|
4 |
<div class="aam-feature settings" id="settings-security-content">
|
@@ -7,13 +14,13 @@
|
|
7 |
<?php foreach($this->getList() as $id => $option) { ?>
|
8 |
<tr>
|
9 |
<td>
|
10 |
-
<span class='aam-setting-title'><?php echo $option['title']; ?></span>
|
11 |
<p class="aam-setting-description">
|
12 |
-
<?php echo $option['description']; ?>
|
13 |
</p>
|
14 |
</td>
|
15 |
<td class="text-center">
|
16 |
-
<input data-toggle="toggle" name="<?php echo $id; ?>" id="utility-<?php echo $id; ?>" <?php echo ($option['value'] ? 'checked' : ''); ?> type="checkbox" data-on="<?php echo __('Enabled', AAM_KEY); ?>" data-off="<?php echo __('Disabled', AAM_KEY); ?>" data-size="small" />
|
17 |
</td>
|
18 |
</tr>
|
19 |
<?php } ?>
|
1 |
+
<?php
|
2 |
+
/**
|
3 |
+
* @since 6.9.2 https://github.com/aamplugin/advanced-access-manager/issues/229
|
4 |
+
* @since 6.0.0 Initial implementation of the template
|
5 |
+
*
|
6 |
+
* @version 6.9.2
|
7 |
+
* */
|
8 |
+
?>
|
9 |
|
10 |
<?php if (defined('AAM_KEY')) { ?>
|
11 |
<div class="aam-feature settings" id="settings-security-content">
|
14 |
<?php foreach($this->getList() as $id => $option) { ?>
|
15 |
<tr>
|
16 |
<td>
|
17 |
+
<span class='aam-setting-title'><?php echo esc_js($option['title']); ?></span>
|
18 |
<p class="aam-setting-description">
|
19 |
+
<?php echo esc_js($option['description']); ?>
|
20 |
</p>
|
21 |
</td>
|
22 |
<td class="text-center">
|
23 |
+
<input data-toggle="toggle" name="<?php echo esc_attr($id); ?>" id="utility-<?php echo esc_attr($id); ?>" <?php echo ($option['value'] ? 'checked' : ''); ?> type="checkbox" data-on="<?php echo __('Enabled', AAM_KEY); ?>" data-off="<?php echo __('Disabled', AAM_KEY); ?>" data-size="small" />
|
24 |
</td>
|
25 |
</tr>
|
26 |
<?php } ?>
|
readme.txt
CHANGED
@@ -4,7 +4,7 @@ Tags: access control, membership, backend menu, user role, restricted content, s
|
|
4 |
Requires at least: 4.7.0
|
5 |
Requires PHP: 5.6.0
|
6 |
Tested up to: 6.0.3
|
7 |
-
Stable tag: 6.9.
|
8 |
|
9 |
All you need to manage access to WordPress websites on the frontend, backend and API levels for any role, user or visitors.
|
10 |
|
@@ -91,6 +91,9 @@ We take security and privacy very seriously, that is why there are several non-n
|
|
91 |
|
92 |
== Changelog ==
|
93 |
|
|
|
|
|
|
|
94 |
= 6.9.1 =
|
95 |
* Fixed: Incorrectly stripped backslashes for Access Policy [https://github.com/aamplugin/advanced-access-manager/issues/228](https://github.com/aamplugin/advanced-access-manager/issues/228)
|
96 |
* Fixed: PHP Notice: Function AAM_Backend_Subject::hasCapability was called incorrectly [https://github.com/aamplugin/advanced-access-manager/issues/227](https://github.com/aamplugin/advanced-access-manager/issues/227)
|
4 |
Requires at least: 4.7.0
|
5 |
Requires PHP: 5.6.0
|
6 |
Tested up to: 6.0.3
|
7 |
+
Stable tag: 6.9.2
|
8 |
|
9 |
All you need to manage access to WordPress websites on the frontend, backend and API levels for any role, user or visitors.
|
10 |
|
91 |
|
92 |
== Changelog ==
|
93 |
|
94 |
+
= 6.9.2 =
|
95 |
+
* Fixed: Compliance with WordPress.org code quality [https://github.com/aamplugin/advanced-access-manager/issues/229](https://github.com/aamplugin/advanced-access-manager/issues/229)
|
96 |
+
|
97 |
= 6.9.1 =
|
98 |
* Fixed: Incorrectly stripped backslashes for Access Policy [https://github.com/aamplugin/advanced-access-manager/issues/228](https://github.com/aamplugin/advanced-access-manager/issues/228)
|
99 |
* Fixed: PHP Notice: Function AAM_Backend_Subject::hasCapability was called incorrectly [https://github.com/aamplugin/advanced-access-manager/issues/227](https://github.com/aamplugin/advanced-access-manager/issues/227)
|