Version Description
- Fixed Bug: Incorectly evaluated best candidate for the conditional statement https://github.com/aamplugin/advanced-access-manager/issues/128
Download this release
Release Info
Developer | vasyltech |
Plugin | Advanced Access Manager |
Version | 6.5.4 |
Comparing to | |
See all releases |
Code changes from version 6.5.3 to 6.5.4
- aam.php +2 -2
- application/Core/Policy/Manager.php +6 -2
- 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.5.
|
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.5.
|
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.5.4
|
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.5.4');
|
268 |
define('AAM_BASEDIR', __DIR__);
|
269 |
|
270 |
//load vendor
|
application/Core/Policy/Manager.php
CHANGED
@@ -10,6 +10,7 @@
|
|
10 |
/**
|
11 |
* AAM policy manager for a specific subject
|
12 |
*
|
|
|
13 |
* @since 6.5.3 https://github.com/aamplugin/advanced-access-manager/issues/122
|
14 |
* https://github.com/aamplugin/advanced-access-manager/issues/124
|
15 |
* @since 6.4.0 Supporting Param's "Value" to be an array
|
@@ -256,8 +257,11 @@ class AAM_Core_Policy_Manager
|
|
256 |
*
|
257 |
* @return array|null
|
258 |
*
|
|
|
|
|
|
|
259 |
* @access protected
|
260 |
-
* @version 6.5.
|
261 |
*/
|
262 |
protected function getCandidateStatement($statements, $args = array())
|
263 |
{
|
@@ -278,7 +282,7 @@ class AAM_Core_Policy_Manager
|
|
278 |
}
|
279 |
}
|
280 |
}
|
281 |
-
} else {
|
282 |
$candidate = $statements;
|
283 |
}
|
284 |
|
10 |
/**
|
11 |
* AAM policy manager for a specific subject
|
12 |
*
|
13 |
+
* @since 5.5.4 https://github.com/aamplugin/advanced-access-manager/issues/128
|
14 |
* @since 6.5.3 https://github.com/aamplugin/advanced-access-manager/issues/122
|
15 |
* https://github.com/aamplugin/advanced-access-manager/issues/124
|
16 |
* @since 6.4.0 Supporting Param's "Value" to be an array
|
257 |
*
|
258 |
* @return array|null
|
259 |
*
|
260 |
+
* @since 5.5.4 https://github.com/aamplugin/advanced-access-manager/issues/128
|
261 |
+
* @since 6.5.3 Initial implementation of the method
|
262 |
+
*
|
263 |
* @access protected
|
264 |
+
* @version 6.5.4
|
265 |
*/
|
266 |
protected function getCandidateStatement($statements, $args = array())
|
267 |
{
|
282 |
}
|
283 |
}
|
284 |
}
|
285 |
+
} else if ($this->isApplicable($statements, $args)) {
|
286 |
$candidate = $statements;
|
287 |
}
|
288 |
|
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: 5.4.1
|
7 |
-
Stable tag: 6.5.
|
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.5.3 =
|
95 |
* Fixed Bug: PHP Warning: Parameter must be an array or an object that implements Countable in /service/core.php [https://github.com/aamplugin/advanced-access-manager/issues/126](https://github.com/aamplugin/advanced-access-manager/issues/126)
|
96 |
* Added New: Allow to target the same resource with multiple statements [https://github.com/aamplugin/advanced-access-manager/issues/124](https://github.com/aamplugin/advanced-access-manager/issues/124)
|
4 |
Requires at least: 4.7.0
|
5 |
Requires PHP: 5.6.0
|
6 |
Tested up to: 5.4.1
|
7 |
+
Stable tag: 6.5.4
|
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.5.4 =
|
95 |
+
* Fixed Bug: Incorectly evaluated best candidate for the conditional statement [https://github.com/aamplugin/advanced-access-manager/issues/128](https://github.com/aamplugin/advanced-access-manager/issues/128)
|
96 |
+
|
97 |
= 6.5.3 =
|
98 |
* Fixed Bug: PHP Warning: Parameter must be an array or an object that implements Countable in /service/core.php [https://github.com/aamplugin/advanced-access-manager/issues/126](https://github.com/aamplugin/advanced-access-manager/issues/126)
|
99 |
* Added New: Allow to target the same resource with multiple statements [https://github.com/aamplugin/advanced-access-manager/issues/124](https://github.com/aamplugin/advanced-access-manager/issues/124)
|