Version Description
- Fixed Bug: PHP Fatal error: Uncaught Error: Class name must be a valid object or a string https://github.com/aamplugin/advanced-access-manager/issues/156
Download this release
Release Info
Developer | vasyltech |
Plugin | Advanced Access Manager |
Version | 6.7.1 |
Comparing to | |
See all releases |
Code changes from version 6.7.0 to 6.7.1
- aam.php +2 -2
- media/js/aam.js +11 -8
- 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.7.
|
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.7.
|
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.7.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.7.1');
|
268 |
define('AAM_BASEDIR', __DIR__);
|
269 |
|
270 |
//load vendor
|
media/js/aam.js
CHANGED
@@ -199,7 +199,7 @@
|
|
199 |
$('i.icon-spin4', container).attr(
|
200 |
'class', 'aam-row-action icon-cog text-muted'
|
201 |
);
|
202 |
-
} else {
|
203 |
getAAM().fetchPartial('post-access-form', function (content) {
|
204 |
$('#metabox-post-access-form').html(content);
|
205 |
getAAM().triggerHook('load-access-form', [
|
@@ -812,7 +812,7 @@
|
|
812 |
$('i.icon-spin4', container).attr(
|
813 |
'class', 'aam-row-action icon-cog text-muted'
|
814 |
);
|
815 |
-
} else {
|
816 |
getAAM().fetchPartial('post-access-form', function (content) {
|
817 |
$('#metabox-post-access-form').html(content);
|
818 |
getAAM().triggerHook('load-access-form', [
|
@@ -1146,9 +1146,10 @@
|
|
1146 |
if (getAAM().isUI('main')) {
|
1147 |
getAAM().fetchContent('main');
|
1148 |
$('i.icon-spin4', $(this)).attr('class', 'icon-cog');
|
1149 |
-
} else {
|
1150 |
getAAM().fetchPartial('post-access-form', function (content) {
|
1151 |
$('#metabox-post-access-form').html(content);
|
|
|
1152 |
getAAM().triggerHook('load-access-form', [
|
1153 |
$('#content-object-type').val(),
|
1154 |
$('#content-object-id').val(),
|
@@ -1221,7 +1222,7 @@
|
|
1221 |
if (getAAM().isUI('main')) {
|
1222 |
getAAM().fetchContent('main');
|
1223 |
$('i.icon-spin4', $(this)).attr('class', 'icon-cog');
|
1224 |
-
} else {
|
1225 |
getAAM().fetchPartial('post-access-form', function (content) {
|
1226 |
$('#metabox-post-access-form').html(content);
|
1227 |
getAAM().triggerHook('load-access-form', [
|
@@ -3201,10 +3202,12 @@
|
|
3201 |
}
|
3202 |
|
3203 |
if ($('#aam-access-form-container').is(':empty') === false) {
|
3204 |
-
|
3205 |
-
|
3206 |
-
|
3207 |
-
|
|
|
|
|
3208 |
}
|
3209 |
}
|
3210 |
|
199 |
$('i.icon-spin4', container).attr(
|
200 |
'class', 'aam-row-action icon-cog text-muted'
|
201 |
);
|
202 |
+
} else if (getAAM().isUI('post')) {
|
203 |
getAAM().fetchPartial('post-access-form', function (content) {
|
204 |
$('#metabox-post-access-form').html(content);
|
205 |
getAAM().triggerHook('load-access-form', [
|
812 |
$('i.icon-spin4', container).attr(
|
813 |
'class', 'aam-row-action icon-cog text-muted'
|
814 |
);
|
815 |
+
} else if (getAAM().isUI('post')) {
|
816 |
getAAM().fetchPartial('post-access-form', function (content) {
|
817 |
$('#metabox-post-access-form').html(content);
|
818 |
getAAM().triggerHook('load-access-form', [
|
1146 |
if (getAAM().isUI('main')) {
|
1147 |
getAAM().fetchContent('main');
|
1148 |
$('i.icon-spin4', $(this)).attr('class', 'icon-cog');
|
1149 |
+
} else if (getAAM().isUI('post')) {
|
1150 |
getAAM().fetchPartial('post-access-form', function (content) {
|
1151 |
$('#metabox-post-access-form').html(content);
|
1152 |
+
|
1153 |
getAAM().triggerHook('load-access-form', [
|
1154 |
$('#content-object-type').val(),
|
1155 |
$('#content-object-id').val(),
|
1222 |
if (getAAM().isUI('main')) {
|
1223 |
getAAM().fetchContent('main');
|
1224 |
$('i.icon-spin4', $(this)).attr('class', 'icon-cog');
|
1225 |
+
} else if (getAAM().isUI('post')) {
|
1226 |
getAAM().fetchPartial('post-access-form', function (content) {
|
1227 |
$('#metabox-post-access-form').html(content);
|
1228 |
getAAM().triggerHook('load-access-form', [
|
3202 |
}
|
3203 |
|
3204 |
if ($('#aam-access-form-container').is(':empty') === false) {
|
3205 |
+
if ($('#content-object-type').val()) {
|
3206 |
+
loadAccessForm(
|
3207 |
+
$('#content-object-type').val(),
|
3208 |
+
$('#content-object-id').val()
|
3209 |
+
);
|
3210 |
+
}
|
3211 |
}
|
3212 |
}
|
3213 |
|
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.5.1
|
7 |
-
Stable tag: 6.7.
|
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.7.0 =
|
95 |
* Fixed Bug: Incorrectly merged settings with multi-role enabled [https://github.com/aamplugin/advanced-access-manager/issues/152](https://github.com/aamplugin/advanced-access-manager/issues/152)
|
96 |
* Changed: Simplify the Route service [https://github.com/aamplugin/advanced-access-manager/issues/153](https://github.com/aamplugin/advanced-access-manager/issues/153)
|
4 |
Requires at least: 4.7.0
|
5 |
Requires PHP: 5.6.0
|
6 |
Tested up to: 5.5.1
|
7 |
+
Stable tag: 6.7.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 |
|
91 |
|
92 |
== Changelog ==
|
93 |
|
94 |
+
= 6.7.1 =
|
95 |
+
* Fixed Bug: PHP Fatal error: Uncaught Error: Class name must be a valid object or a string [https://github.com/aamplugin/advanced-access-manager/issues/156](https://github.com/aamplugin/advanced-access-manager/issues/156)
|
96 |
+
|
97 |
= 6.7.0 =
|
98 |
* Fixed Bug: Incorrectly merged settings with multi-role enabled [https://github.com/aamplugin/advanced-access-manager/issues/152](https://github.com/aamplugin/advanced-access-manager/issues/152)
|
99 |
* Changed: Simplify the Route service [https://github.com/aamplugin/advanced-access-manager/issues/153](https://github.com/aamplugin/advanced-access-manager/issues/153)
|