Version Description
- Fixed: Translation issues https://github.com/aamplugin/advanced-access-manager/issues/199
- Fixed: Undefined class constant 'DB_VIOLATION_OPTION' https://github.com/aamplugin/advanced-access-manager/issues/198
- Changed: Add "Free" tab to the add-ons page https://github.com/aamplugin/advanced-access-manager/issues/203
Download this release
Release Info
Developer | vasyltech |
Plugin | Advanced Access Manager |
Version | 6.8.1 |
Comparing to | |
See all releases |
Code changes from version 6.8.0 to 6.8.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.8.
|
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.8.
|
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.8.1
|
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.8.1');
|
268 |
define('AAM_BASEDIR', __DIR__);
|
269 |
|
270 |
//load vendor
|
application/Backend/View/Localization.php
CHANGED
@@ -10,12 +10,13 @@
|
|
10 |
/**
|
11 |
* JS localization for AAM backend UI
|
12 |
*
|
|
|
13 |
* @since 6.2.1 Added new label "Policy is not assigned to anybody"
|
14 |
* @since 6.2.0 Added couple new labels
|
15 |
* @since 6.0.0 Initial implementation of the class
|
16 |
*
|
17 |
* @package AAM
|
18 |
-
* @version 6.
|
19 |
*/
|
20 |
class AAM_Backend_View_Localization
|
21 |
{
|
@@ -25,12 +26,13 @@ class AAM_Backend_View_Localization
|
|
25 |
*
|
26 |
* @return array
|
27 |
*
|
|
|
28 |
* @since 6.2.1 Added new label "Policy is not assigned to anybody"
|
29 |
* @since 6.2.0 Added couple new labels
|
30 |
* @since 6.0.0 Initial implementation of the method
|
31 |
*
|
32 |
* @access public
|
33 |
-
* @version 6.
|
34 |
*/
|
35 |
public static function get()
|
36 |
{
|
@@ -52,7 +54,7 @@ class AAM_Backend_View_Localization
|
|
52 |
'Loading...' => __('Loading...', AAM_KEY),
|
53 |
'No role' => __('No role', AAM_KEY),
|
54 |
'Create New Role' => __('Create New Role', AAM_KEY),
|
55 |
-
'Search
|
56 |
'_TOTAL_ role(s)' => __('_TOTAL_ role(s)', AAM_KEY),
|
57 |
'Create' => __('Create', AAM_KEY),
|
58 |
'Users' => __('Users', AAM_KEY),
|
10 |
/**
|
11 |
* JS localization for AAM backend UI
|
12 |
*
|
13 |
+
* @since 6.8.1 https://github.com/aamplugin/advanced-access-manager/issues/199
|
14 |
* @since 6.2.1 Added new label "Policy is not assigned to anybody"
|
15 |
* @since 6.2.0 Added couple new labels
|
16 |
* @since 6.0.0 Initial implementation of the class
|
17 |
*
|
18 |
* @package AAM
|
19 |
+
* @version 6.8.1
|
20 |
*/
|
21 |
class AAM_Backend_View_Localization
|
22 |
{
|
26 |
*
|
27 |
* @return array
|
28 |
*
|
29 |
+
* @since 6.8.1 https://github.com/aamplugin/advanced-access-manager/issues/199
|
30 |
* @since 6.2.1 Added new label "Policy is not assigned to anybody"
|
31 |
* @since 6.2.0 Added couple new labels
|
32 |
* @since 6.0.0 Initial implementation of the method
|
33 |
*
|
34 |
* @access public
|
35 |
+
* @version 6.8.1
|
36 |
*/
|
37 |
public static function get()
|
38 |
{
|
54 |
'Loading...' => __('Loading...', AAM_KEY),
|
55 |
'No role' => __('No role', AAM_KEY),
|
56 |
'Create New Role' => __('Create New Role', AAM_KEY),
|
57 |
+
'Search role' => __('Search role', AAM_KEY),
|
58 |
'_TOTAL_ role(s)' => __('_TOTAL_ role(s)', AAM_KEY),
|
59 |
'Create' => __('Create', AAM_KEY),
|
60 |
'Users' => __('Users', AAM_KEY),
|
application/Backend/tmpl/page/addon-panel.php
CHANGED
@@ -1,13 +1,14 @@
|
|
1 |
<?php
|
2 |
|
3 |
/**
|
|
|
4 |
* @since 6.7.5 https://github.com/aamplugin/advanced-access-manager/issues/173
|
5 |
* @since 6.4.0 Fixed https://github.com/aamplugin/advanced-access-manager/issues/78
|
6 |
* @since 6.2.0 Removed expiration date for license to avoid confusion
|
7 |
* @since 6.0.5 Fixed typo in the license expiration property. Enriched plugin' status display
|
8 |
* @since 6.0.0 Initial implementation of the template
|
9 |
*
|
10 |
-
* @version 6.
|
11 |
* */
|
12 |
?>
|
13 |
|
@@ -49,6 +50,7 @@
|
|
49 |
<div class="aam-outer-top-xs">
|
50 |
<ul class="nav nav-tabs" role="tablist">
|
51 |
<?php if (count($commercial)) { ?><li role="presentation" class="active"><a href="#premium-extensions" aria-controls="premium-extensions" role="tab" data-toggle="tab"><i class='icon-basket'></i> <?php echo __('Premium', AAM_KEY); ?></a></li><?php } ?>
|
|
|
52 |
<li class="margin-right aam-update-check"><a href="#" id="check-for-updates"><i class='icon-arrows-cw'></i> <?php echo __('Check For Updates', AAM_KEY); ?></a></li>
|
53 |
</ul>
|
54 |
|
@@ -85,6 +87,34 @@
|
|
85 |
</tbody>
|
86 |
</table>
|
87 |
</div>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
88 |
</div>
|
89 |
</div>
|
90 |
|
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 Fixed https://github.com/aamplugin/advanced-access-manager/issues/78
|
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.8.1
|
12 |
* */
|
13 |
?>
|
14 |
|
50 |
<div class="aam-outer-top-xs">
|
51 |
<ul class="nav nav-tabs" role="tablist">
|
52 |
<?php if (count($commercial)) { ?><li role="presentation" class="active"><a href="#premium-extensions" aria-controls="premium-extensions" role="tab" data-toggle="tab"><i class='icon-basket'></i> <?php echo __('Premium', AAM_KEY); ?></a></li><?php } ?>
|
53 |
+
<li role="presentation"><a href="#free-extensions" aria-controls="free-extensions" role="tab" data-toggle="tab"><i class='icon-cubes'></i> <?php echo __('Free', AAM_KEY); ?></a></li>
|
54 |
<li class="margin-right aam-update-check"><a href="#" id="check-for-updates"><i class='icon-arrows-cw'></i> <?php echo __('Check For Updates', AAM_KEY); ?></a></li>
|
55 |
</ul>
|
56 |
|
87 |
</tbody>
|
88 |
</table>
|
89 |
</div>
|
90 |
+
<div role="tabpanel" class="tab-pane" id="free-extensions">
|
91 |
+
<table class="table table-striped table-bordered">
|
92 |
+
<tbody>
|
93 |
+
<tr>
|
94 |
+
<td width="80%">
|
95 |
+
<span class='aam-setting-title'>AAM Protected Media Files</span>
|
96 |
+
<p class="aam-extension-description">
|
97 |
+
Prevent direct access to the unlimited number of media library items either for visitors, individual users or groups of users (roles). This plugin does not modify a physical file’s location or URL.
|
98 |
+
</p>
|
99 |
+
</td>
|
100 |
+
<td class="text-center">
|
101 |
+
<a href="<?php echo admin_url('plugin-install.php?tab=plugin-information&plugin=aam-protected-media-files'); ?>" target="_blank" class="btn btn-sm btn-primary btn-block"><i class="icon-link"></i> <?php echo __('Read More', AAM_KEY); ?></a>
|
102 |
+
</td>
|
103 |
+
</tr>
|
104 |
+
<tr>
|
105 |
+
<td width="80%">
|
106 |
+
<span class='aam-setting-title'>Noti - Activity Notification</span>
|
107 |
+
<p class="aam-extension-description">
|
108 |
+
Noti - Activity Notification (aka Noti) plugin is your single-stop shop for all you need to track any WordPress website activities. And it is completely free.
|
109 |
+
</p>
|
110 |
+
</td>
|
111 |
+
<td class="text-center">
|
112 |
+
<a href="<?php echo admin_url('plugin-install.php?tab=plugin-information&plugin=noti-activity-notification'); ?>" target="_blank" class="btn btn-sm btn-primary btn-block"><i class="icon-link"></i> <?php echo __('Read More', AAM_KEY); ?></a>
|
113 |
+
</td>
|
114 |
+
</tr>
|
115 |
+
</tbody>
|
116 |
+
</table>
|
117 |
+
</div>
|
118 |
</div>
|
119 |
</div>
|
120 |
|
application/Core/Policy/Condition.php
CHANGED
@@ -156,7 +156,13 @@ class AAM_Core_Policy_Condition
|
|
156 |
*/
|
157 |
protected function evaluateNotEqualsConditions($conditions, $args)
|
158 |
{
|
159 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
160 |
}
|
161 |
|
162 |
/**
|
156 |
*/
|
157 |
protected function evaluateNotEqualsConditions($conditions, $args)
|
158 |
{
|
159 |
+
$result = false;
|
160 |
+
|
161 |
+
foreach ($this->prepareConditions($conditions, $args) as $condition) {
|
162 |
+
$result = $result || ($condition['left'] !== $condition['right']);
|
163 |
+
}
|
164 |
+
|
165 |
+
return $result;
|
166 |
}
|
167 |
|
168 |
/**
|
application/Migration/2121_10_15-base.php
CHANGED
@@ -16,7 +16,11 @@ use AAM_Core_Migration,
|
|
16 |
* Clearing the AAM violations repository to remove corrupted data
|
17 |
*
|
18 |
* @package AAM
|
19 |
-
*
|
|
|
|
|
|
|
|
|
20 |
*/
|
21 |
class Migration680 implements AAM_Core_Contract_MigrationInterface
|
22 |
{
|
@@ -24,11 +28,16 @@ class Migration680 implements AAM_Core_Contract_MigrationInterface
|
|
24 |
/**
|
25 |
* @inheritdoc
|
26 |
*
|
27 |
-
* @
|
|
|
|
|
|
|
28 |
*/
|
29 |
public function run()
|
30 |
{
|
31 |
-
|
|
|
|
|
32 |
|
33 |
// Finally store this script as completed
|
34 |
AAM_Core_Migration::storeCompletedScript(basename(__FILE__));
|
16 |
* Clearing the AAM violations repository to remove corrupted data
|
17 |
*
|
18 |
* @package AAM
|
19 |
+
*
|
20 |
+
* @since 6.8.1 https://github.com/aamplugin/advanced-access-manager/issues/198
|
21 |
+
* @since 6.8.0 Initial implementation of the class
|
22 |
+
*
|
23 |
+
* @version 6.8.1
|
24 |
*/
|
25 |
class Migration680 implements AAM_Core_Contract_MigrationInterface
|
26 |
{
|
28 |
/**
|
29 |
* @inheritdoc
|
30 |
*
|
31 |
+
* @since 6.8.1 https://github.com/aamplugin/advanced-access-manager/issues/198
|
32 |
+
* @since 6.8.0 Initial implementation of the method
|
33 |
+
*
|
34 |
+
* @version 6.8.1
|
35 |
*/
|
36 |
public function run()
|
37 |
{
|
38 |
+
if (defined('\AAM_Addon_Repository::DB_VIOLATION_OPTION')) {
|
39 |
+
\AAM_Core_API::deleteOption(\AAM_Addon_Repository::DB_VIOLATION_OPTION);
|
40 |
+
}
|
41 |
|
42 |
// Finally store this script as completed
|
43 |
AAM_Core_Migration::storeCompletedScript(basename(__FILE__));
|
readme.txt
CHANGED
@@ -3,8 +3,8 @@ Contributors: vasyltech
|
|
3 |
Tags: access control, membership, backend menu, user role, restricted content, security, jwt
|
4 |
Requires at least: 4.7.0
|
5 |
Requires PHP: 5.6.0
|
6 |
-
Tested up to: 5.
|
7 |
-
Stable tag: 6.8.
|
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 |
|
@@ -12,6 +12,8 @@ All you need to manage access to WordPress websites on the frontend, backend and
|
|
12 |
|
13 |
> Advanced Access Manager (aka AAM) is a powerfully robust WordPress plugin designed to help you control every aspect of your website, your way.
|
14 |
|
|
|
|
|
15 |
https://www.youtube.com/watch?v=mj5Xa_Wc16Y
|
16 |
|
17 |
= Few Quick Facts =
|
@@ -91,6 +93,11 @@ We take security and privacy very seriously, that is why there are several non-n
|
|
91 |
|
92 |
== Changelog ==
|
93 |
|
|
|
|
|
|
|
|
|
|
|
94 |
= 6.8.0 =
|
95 |
* Changed: Enhanced security pasture by escaping potentially harmful output, if information was directly modified in the DB or not escaped during storing AAM settings, reported by WordPress Plugin Review Team
|
96 |
* Fixed: Cleared potentially corrupted data about status of premium add-ons.
|
3 |
Tags: access control, membership, backend menu, user role, restricted content, security, jwt
|
4 |
Requires at least: 4.7.0
|
5 |
Requires PHP: 5.6.0
|
6 |
+
Tested up to: 5.9.0
|
7 |
+
Stable tag: 6.8.1
|
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 |
|
12 |
|
13 |
> Advanced Access Manager (aka AAM) is a powerfully robust WordPress plugin designed to help you control every aspect of your website, your way.
|
14 |
|
15 |
+
> FYI! Any business that operates on the territory of Ukraine or project that is developing for the Ukrainians gets all our premium products for free. Please email vasyl@vasyltech.com to obtain the free license key.
|
16 |
+
|
17 |
https://www.youtube.com/watch?v=mj5Xa_Wc16Y
|
18 |
|
19 |
= Few Quick Facts =
|
93 |
|
94 |
== Changelog ==
|
95 |
|
96 |
+
= 6.8.1 =
|
97 |
+
* Fixed: Translation issues [https://github.com/aamplugin/advanced-access-manager/issues/199](https://github.com/aamplugin/advanced-access-manager/issues/199)
|
98 |
+
* Fixed: Undefined class constant 'DB_VIOLATION_OPTION' [https://github.com/aamplugin/advanced-access-manager/issues/198](https://github.com/aamplugin/advanced-access-manager/issues/198)
|
99 |
+
* Changed: Add "Free" tab to the add-ons page [https://github.com/aamplugin/advanced-access-manager/issues/203](https://github.com/aamplugin/advanced-access-manager/issues/203)
|
100 |
+
|
101 |
= 6.8.0 =
|
102 |
* Changed: Enhanced security pasture by escaping potentially harmful output, if information was directly modified in the DB or not escaped during storing AAM settings, reported by WordPress Plugin Review Team
|
103 |
* Fixed: Cleared potentially corrupted data about status of premium add-ons.
|