Version Description
- Change: Updated core to allow geolocation functionality with IP Check
- Change: Enhanced IP Check add-on with ability to define geolocation rules https://aamplugin.com/article/how-to-manage-access-to-wordpress-website-based-on-location
- Change: Enhanced Plus Package
Download this release
Release Info
Developer | vasyltech |
Plugin | Advanced Access Manager |
Version | 6.3.3 |
Comparing to | |
See all releases |
Code changes from version 6.3.2 to 6.3.3
- aam.php +2 -2
- application/Core/Object.php +7 -3
- application/Core/Policy/Token.php +5 -2
- readme.txt +6 -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.3.
|
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.3.
|
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.3.3
|
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.3.3');
|
268 |
define('AAM_BASEDIR', __DIR__);
|
269 |
|
270 |
//load vendor
|
application/Core/Object.php
CHANGED
@@ -17,13 +17,14 @@
|
|
17 |
* role or visitor. For example login, logout redirect, default category or access
|
18 |
* denied redirect rules.
|
19 |
*
|
|
|
20 |
* @since 6.1.0 Significant improvement to the inheritance mechanism. Documented
|
21 |
* the class
|
22 |
* @since 6.0.5 Added `getExplicitOption` method
|
23 |
* @since 6.0.0 Initial implementation of the class
|
24 |
*
|
25 |
* @package AAM
|
26 |
-
* @version 6.
|
27 |
*/
|
28 |
abstract class AAM_Core_Object
|
29 |
{
|
@@ -406,10 +407,13 @@ abstract class AAM_Core_Object
|
|
406 |
*
|
407 |
* @return void
|
408 |
*
|
|
|
|
|
|
|
409 |
* @access protected
|
410 |
-
* @version 6.
|
411 |
*/
|
412 |
-
|
413 |
{
|
414 |
$this->_explicitOption = $option;
|
415 |
}
|
17 |
* role or visitor. For example login, logout redirect, default category or access
|
18 |
* denied redirect rules.
|
19 |
*
|
20 |
+
* @since 6.3.3 Change visibility level for the setExplicitOption method
|
21 |
* @since 6.1.0 Significant improvement to the inheritance mechanism. Documented
|
22 |
* the class
|
23 |
* @since 6.0.5 Added `getExplicitOption` method
|
24 |
* @since 6.0.0 Initial implementation of the class
|
25 |
*
|
26 |
* @package AAM
|
27 |
+
* @version 6.3.3
|
28 |
*/
|
29 |
abstract class AAM_Core_Object
|
30 |
{
|
407 |
*
|
408 |
* @return void
|
409 |
*
|
410 |
+
* @since 6.3.3 Changed the method to be public
|
411 |
+
* @since 6.1.0 Initial implementation of the method
|
412 |
+
*
|
413 |
* @access protected
|
414 |
+
* @version 6.3.3
|
415 |
*/
|
416 |
+
public function setExplicitOption($option)
|
417 |
{
|
418 |
$this->_explicitOption = $option;
|
419 |
}
|
application/Core/Policy/Token.php
CHANGED
@@ -100,8 +100,11 @@ class AAM_Core_Policy_Token
|
|
100 |
*
|
101 |
* @return mixed
|
102 |
*
|
|
|
|
|
|
|
103 |
* @access public
|
104 |
-
* @version 6.
|
105 |
*/
|
106 |
public static function getTokenValue($token, $args = array())
|
107 |
{
|
@@ -117,7 +120,7 @@ class AAM_Core_Policy_Token
|
|
117 |
$value = is_callable($parts[1]) ? call_user_func($parts[1], $args) : null;
|
118 |
} else {
|
119 |
$value = apply_filters(
|
120 |
-
'
|
121 |
);
|
122 |
}
|
123 |
|
100 |
*
|
101 |
* @return mixed
|
102 |
*
|
103 |
+
* @since 6.3.3 Enhancement for https://github.com/aamplugin/advanced-access-manager/issues/50
|
104 |
+
* @since 6.1.0 Initial implementation of the method
|
105 |
+
*
|
106 |
* @access public
|
107 |
+
* @version 6.3.3
|
108 |
*/
|
109 |
public static function getTokenValue($token, $args = array())
|
110 |
{
|
120 |
$value = is_callable($parts[1]) ? call_user_func($parts[1], $args) : null;
|
121 |
} else {
|
122 |
$value = apply_filters(
|
123 |
+
'aam_policy_token_value_filter', null, $parts[0], $parts[1], $args
|
124 |
);
|
125 |
}
|
126 |
|
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.3.2
|
7 |
-
Stable tag: 6.3.
|
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,11 @@ We take security and privacy very seriously, that is why there are several non-n
|
|
91 |
|
92 |
== Changelog ==
|
93 |
|
|
|
|
|
|
|
|
|
|
|
94 |
= 6.3.2 =
|
95 |
* Fixed Bug: *_OTHERS posts & terms access options malfunction [https://github.com/aamplugin/advanced-access-manager/issues/52](https://github.com/aamplugin/advanced-access-manager/issues/52)
|
96 |
|
4 |
Requires at least: 4.7.0
|
5 |
Requires PHP: 5.6.0
|
6 |
Tested up to: 5.3.2
|
7 |
+
Stable tag: 6.3.3
|
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.3.3 =
|
95 |
+
* Change: Updated core to allow geolocation functionality with IP Check
|
96 |
+
* Change: Enhanced [IP Check](https://aamplugin.com/pricing/ip-check) add-on with ability to define geolocation rules [https://aamplugin.com/article/how-to-manage-access-to-wordpress-website-based-on-location](https://aamplugin.com/article/how-to-manage-access-to-wordpress-website-based-on-location)
|
97 |
+
* Change: Enhanced [Plus Package](https://aamplugin.com/pricing/plus-package)
|
98 |
+
|
99 |
= 6.3.2 =
|
100 |
* Fixed Bug: *_OTHERS posts & terms access options malfunction [https://github.com/aamplugin/advanced-access-manager/issues/52](https://github.com/aamplugin/advanced-access-manager/issues/52)
|
101 |
|