Advanced Access Manager - Version 6.7.4

Version Description

  • Fixed Bug: Access settings are not saved, reported by @argolein https://github.com/aamplugin/advanced-access-manager/issues/167
  • Changed: INI format warning, reported by @dannysummerlinjstartorg https://github.com/aamplugin/advanced-access-manager/issues/160
  • Changed: Minor change. Improved the UI consistency between views.
Download this release

Release Info

Developer vasyltech
Plugin Icon 128x128 Advanced Access Manager
Version 6.7.4
Comparing to
See all releases

Code changes from version 6.7.3 to 6.7.4

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.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.7.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.7.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.7.4');
268
  define('AAM_BASEDIR', __DIR__);
269
 
270
  //load vendor
application/Backend/Feature/Main/Metabox.php CHANGED
@@ -5,15 +5,16 @@
5
  * LICENSE: This file is subject to the terms and conditions defined in *
6
  * file 'license.txt', which is part of this source code package. *
7
  * ======================================================================
8
- *
9
- * @version 6.0.0
10
  */
11
 
12
  /**
13
  * Backend metaboxes & widgets manager
14
  *
 
 
 
15
  * @package AAM
16
- * @version 6.0.0
17
  */
18
  class AAM_Backend_Feature_Main_Metabox
19
  extends AAM_Backend_Feature_Abstract implements AAM_Backend_Feature_ISubjectAware
@@ -52,13 +53,16 @@ class AAM_Backend_Feature_Main_Metabox
52
  *
53
  * @return string
54
  *
 
 
 
55
  * @access public
56
- * @version 6.0.0
57
  */
58
  public function save()
59
  {
60
  $items = AAM_Core_Request::post('items', array());
61
- $status = AAM_Core_Request::post('status');
62
 
63
  $object = AAM_Backend_Subject::getInstance()->getObject(
64
  self::OBJECT_TYPE, null, true
5
  * LICENSE: This file is subject to the terms and conditions defined in *
6
  * file 'license.txt', which is part of this source code package. *
7
  * ======================================================================
 
 
8
  */
9
 
10
  /**
11
  * Backend metaboxes & widgets manager
12
  *
13
+ * @since 6.0.0 Initial implementation of the class
14
+ * @since 6.7.4 https://github.com/aamplugin/advanced-access-manager/issues/167
15
+ *
16
  * @package AAM
17
+ * @version 6.7.4
18
  */
19
  class AAM_Backend_Feature_Main_Metabox
20
  extends AAM_Backend_Feature_Abstract implements AAM_Backend_Feature_ISubjectAware
53
  *
54
  * @return string
55
  *
56
+ * @since 6.0.0 Initial implementation of the method
57
+ * @since 6.7.4 https://github.com/aamplugin/advanced-access-manager/issues/167
58
+ *
59
  * @access public
60
+ * @version 6.7.4
61
  */
62
  public function save()
63
  {
64
  $items = AAM_Core_Request::post('items', array());
65
+ $status = filter_input(INPUT_POST, 'status', FILTER_VALIDATE_BOOLEAN);
66
 
67
  $object = AAM_Backend_Subject::getInstance()->getObject(
68
  self::OBJECT_TYPE, null, true
application/Backend/tmpl/metabox/main-iframe.php CHANGED
@@ -1,11 +1,12 @@
1
  <?php
2
  /**
 
3
  * @since 6.5.0 https://github.com/aamplugin/advanced-access-manager/issues/104
4
  * @since 6.4.2 Styling notification metabox
5
  * @since 6.2.0 Added support & import/export modals
6
  * @since 6.0.0 Initial implementation of the template
7
  *
8
- * @version 6.5.0
9
  * */
10
  ?>
11
 
@@ -13,10 +14,10 @@
13
  <?php echo static::loadTemplate(__DIR__ . '/iframe-header.php'); ?>
14
 
15
  <div class="wrap">
16
- <?php echo static::loadTemplate(dirname(__DIR__) . '/page/current-subject.php'); ?>
17
-
18
  <div class="row">
19
  <div class="col-xs-12 col-md-8">
 
 
20
  <div class="metabox-holder">
21
  <div class="postbox">
22
  <div class="inside" id="access-manager-inside">
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.7.4
10
  * */
11
  ?>
12
 
14
  <?php echo static::loadTemplate(__DIR__ . '/iframe-header.php'); ?>
15
 
16
  <div class="wrap">
 
 
17
  <div class="row">
18
  <div class="col-xs-12 col-md-8">
19
+ <?php echo static::loadTemplate(dirname(__DIR__) . '/page/current-subject.php'); ?>
20
+
21
  <div class="metabox-holder">
22
  <div class="postbox">
23
  <div class="inside" id="access-manager-inside">
application/Backend/tmpl/page/current-subject.php CHANGED
@@ -1,17 +1,18 @@
1
  <?php
2
  /**
 
3
  * @since 6.5.0 https://github.com/aamplugin/advanced-access-manager/issues/109
4
  * @since 6.3.0 Refactored to support https://github.com/aamplugin/advanced-access-manager/issues/27
5
  * @since 6.2.0 Added `aam_top_subject_actions_filter` hook
6
  * @since 6.0.0 Initial implementation of the template
7
  *
8
- * @version 6.5.0
9
  * */
10
  ?>
11
 
12
  <?php if (defined('AAM_KEY')) { ?>
13
  <div class="row" id="aam-subject-banner">
14
- <div class="col-xs-12 col-md-8">
15
  <div class="aam-current-subject"></div>
16
  <div class="subject-top-actions">
17
  <div class="action-row">
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/109
5
  * @since 6.3.0 Refactored to support https://github.com/aamplugin/advanced-access-manager/issues/27
6
  * @since 6.2.0 Added `aam_top_subject_actions_filter` hook
7
  * @since 6.0.0 Initial implementation of the template
8
  *
9
+ * @version 6.7.4
10
  * */
11
  ?>
12
 
13
  <?php if (defined('AAM_KEY')) { ?>
14
  <div class="row" id="aam-subject-banner">
15
+ <div class="col-xs-12">
16
  <div class="aam-current-subject"></div>
17
  <div class="subject-top-actions">
18
  <div class="action-row">
application/Core/ConfigPress.php CHANGED
@@ -5,15 +5,16 @@
5
  * LICENSE: This file is subject to the terms and conditions defined in *
6
  * file 'license.txt', which is part of this source code package. *
7
  * ======================================================================
8
- *
9
- * @version 6.0.0
10
  */
11
 
12
  /**
13
  * ConfigPress layer
14
  *
 
 
 
15
  * @package AAM
16
- * @version 6.0.0
17
  */
18
  final class AAM_Core_ConfigPress
19
  {
@@ -61,14 +62,17 @@ final class AAM_Core_ConfigPress
61
  *
62
  * @return string
63
  *
 
 
 
64
  * @access protected
65
- * @version 6.0.0
66
  */
67
  public function read()
68
  {
69
  $config = AAM_Core_API::getOption(self::DB_OPTION, null);
70
 
71
- return (empty($config) ? '' : $config);
72
  }
73
 
74
  /**
5
  * LICENSE: This file is subject to the terms and conditions defined in *
6
  * file 'license.txt', which is part of this source code package. *
7
  * ======================================================================
 
 
8
  */
9
 
10
  /**
11
  * ConfigPress layer
12
  *
13
+ * @since 6.7.4 https://github.com/aamplugin/advanced-access-manager/issues/160
14
+ * @since 6.0.0 Initial implementation of the class
15
+ *
16
  * @package AAM
17
+ * @version 6.7.4
18
  */
19
  final class AAM_Core_ConfigPress
20
  {
62
  *
63
  * @return string
64
  *
65
+ * @since 6.7.4 https://github.com/aamplugin/advanced-access-manager/issues/160
66
+ * @since 6.0.0 Initial implementation of the method
67
+ *
68
  * @access protected
69
+ * @version 6.7.4
70
  */
71
  public function read()
72
  {
73
  $config = AAM_Core_API::getOption(self::DB_OPTION, null);
74
 
75
+ return (empty($config) ? '[aam]' : $config);
76
  }
77
 
78
  /**
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.6.0
7
- Stable tag: 6.7.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.7.3 =
95
  * Fixed Bug: Incorrectly handled .attr('checked') by the latest jQuery update [https://github.com/aamplugin/advanced-access-manager/issues/166](https://github.com/aamplugin/advanced-access-manager/issues/166)
96
 
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.6.1
7
+ Stable tag: 6.7.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.7.4 =
95
+ * Fixed Bug: Access settings are not saved, reported by @argolein [https://github.com/aamplugin/advanced-access-manager/issues/167](https://github.com/aamplugin/advanced-access-manager/issues/167)
96
+ * Changed: INI format warning, reported by @dannysummerlinjstartorg [https://github.com/aamplugin/advanced-access-manager/issues/160](https://github.com/aamplugin/advanced-access-manager/issues/160)
97
+ * Changed: Minor change. Improved the UI consistency between views.
98
+
99
  = 6.7.3 =
100
  * Fixed Bug: Incorrectly handled .attr('checked') by the latest jQuery update [https://github.com/aamplugin/advanced-access-manager/issues/166](https://github.com/aamplugin/advanced-access-manager/issues/166)
101