Advanced Access Manager - Version 4.7.6

Version Description

  • Added ability to hide admin notification with show_admin_notices capability
  • Added ability to subscribe to the AAM updates
  • Updated refund policy term
Download this release

Release Info

Developer vasyl_m
Plugin Icon 128x128 Advanced Access Manager
Version 4.7.6
Comparing to
See all releases

Code changes from version 4.7.5 to 4.7.6

Application/Backend/Feature/Extension.php CHANGED
@@ -43,7 +43,7 @@ class AAM_Backend_Feature_Extension extends AAM_Backend_Feature_Abstract {
43
  $license = AAM_Core_Request::post('license', $storedLicense);
44
 
45
  //download the extension from the server first
46
- $package = AAM_Extension_Server::download($license);
47
 
48
  if (is_wp_error($package)) {
49
  $response = array(
43
  $license = AAM_Core_Request::post('license', $storedLicense);
44
 
45
  //download the extension from the server first
46
+ $package = AAM_Core_Server::download($license);
47
 
48
  if (is_wp_error($package)) {
49
  $response = array(
Application/Backend/Filter.php CHANGED
@@ -45,6 +45,9 @@ class AAM_Backend_Filter {
45
 
46
  //control admin area
47
  add_action('admin_init', array($this, 'adminInit'));
 
 
 
48
 
49
  //post restrictions
50
  add_filter('page_row_actions', array($this, 'postRowActions'), 10, 2);
@@ -74,6 +77,20 @@ class AAM_Backend_Filter {
74
  add_filter('contextual_help', array($this, 'helpOptions'), 10, 3);
75
  }
76
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
77
  /**
78
  *
79
  * @param type $id
45
 
46
  //control admin area
47
  add_action('admin_init', array($this, 'adminInit'));
48
+ add_action('admin_notices', array($this, 'adminNotices'), -1);
49
+ add_action('network_admin_notices', array($this, 'adminNotices'), -1);
50
+ add_action('user_admin_notices', array($this, 'adminNotices'), -1);
51
 
52
  //post restrictions
53
  add_filter('page_row_actions', array($this, 'postRowActions'), 10, 2);
77
  add_filter('contextual_help', array($this, 'helpOptions'), 10, 3);
78
  }
79
 
80
+ /**
81
+ *
82
+ * @global type $wp_filter
83
+ */
84
+ public function adminNotices() {
85
+ if (AAM_Core_API::capabilityExists('show_admin_notices')) {
86
+ if (!AAM::getUser()->hasCapability('show_admin_notices')) {
87
+ remove_all_actions('admin_notices');
88
+ remove_all_actions('network_admin_notices');
89
+ remove_all_actions('user_admin_notices');
90
+ }
91
+ }
92
+ }
93
+
94
  /**
95
  *
96
  * @param type $id
Application/Backend/View.php CHANGED
@@ -213,6 +213,32 @@ class AAM_Backend_View {
213
  return json_encode(array('status' => ($result ? 'success' : 'failure')));
214
  }
215
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
216
  /**
217
  *
218
  * @return type
213
  return json_encode(array('status' => ($result ? 'success' : 'failure')));
214
  }
215
 
216
+ /**
217
+ *
218
+ * @return type
219
+ */
220
+ public function subscribe() {
221
+ $email = filter_var(
222
+ AAM_Core_Request::post('email'), FILTER_VALIDATE_EMAIL
223
+ );
224
+
225
+ if ($email) {
226
+ $response = AAM_Core_Server::subscribe($email);
227
+ } else {
228
+ $response = array(
229
+ 'status' => 'failure', 'reason' => __('Invalid Email', AAM_KEY)
230
+ );
231
+ }
232
+
233
+ if (is_wp_error($response)) {
234
+ $response = array(
235
+ 'status' => 'failure', 'reason' => $response->get_error_message()
236
+ );
237
+ }
238
+
239
+ return json_encode($response);
240
+ }
241
+
242
  /**
243
  *
244
  * @return type
Application/Backend/phtml/extension.phtml CHANGED
@@ -3,7 +3,7 @@
3
  <div class="row">
4
  <div class="col-xs-12">
5
  <p class="aam-info">
6
- <?php echo sprintf(AAM_Backend_View_Helper::preparePhrase('By purchasing any extension below you obtain the license to use it [for one life site] unless you purchased %sdevelopment package%s. The license can be used for unlimited number of test or development sites where URL is either [localhost] or starts with [dev.], [staging.], [test.] or [demo.] [before it is activated on the life site]. Contact us immediately if you have troubles installing extension. [Money back guaranteed] within 30 day from the time of purchase.', 'b', 'i', 'i', 'i', 'i', 'i', 'b', 'b'), '<a href="https://aamplugin.com/development-package" target="_blank">', '</a>'); ?><br/>
7
  </p>
8
  </div>
9
  </div>
3
  <div class="row">
4
  <div class="col-xs-12">
5
  <p class="aam-info">
6
+ <?php echo sprintf(AAM_Backend_View_Helper::preparePhrase('By purchasing any extension below you obtain the license to use it [for one life site] unless you purchased %sdevelopment package%s. The license can be used for unlimited number of test or development sites where URL is either [localhost] or starts with [dev.], [staging.], [test.] or [demo.] [before it is activated on the life site]. Contact us immediately if you have troubles installing extension. [Money back guaranteed] within 10 day from the time of purchase.', 'b', 'i', 'i', 'i', 'i', 'i', 'b', 'b'), '<a href="https://aamplugin.com/development-package" target="_blank">', '</a>'); ?><br/>
7
  </p>
8
  </div>
9
  </div>
Application/Backend/phtml/index.phtml CHANGED
@@ -261,9 +261,24 @@
261
  <hr/>
262
 
263
  <div class="text-center">
264
- <p class="aam-promo"><strong>NEED HELP FASTER?</strong><br/>Get in touch with Google Hangouts.<br/><b>It is free.</b></p>
265
- <a href="mailto:support@aamplugin.com" class="btn btn-success" target="_blank"><i class="icon-chat-empty"></i> support@aamplugin.com</a>
266
  </div>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
267
  </div>
268
  </div>
269
  </div>
261
  <hr/>
262
 
263
  <div class="text-center">
264
+ <p class="aam-promo"><strong>NEED HELP FASTER?</strong><br/>Get in touch with Google Hangouts.<br/><b>It is free.</b></p>
265
+ <a href="mailto:support@aamplugin.com" class="btn btn-success" target="_blank"><i class="icon-chat-empty"></i> support@aamplugin.com</a>
266
  </div>
267
+
268
+ <hr/>
269
+
270
+ <label for="extension-key"><?php echo __('Subscribe to updates', AAM_KEY); ?></label><a href="#" data-toggle="tooltip" title="<?php echo __('Get once a month the email with the latest AAM features and promo-codes', AAM_KEY) ?>"><i class="icon-help-circled"></i></a>
271
+ <div class="row">
272
+ <div class="col-xs-8">
273
+ <div class="form-group">
274
+ <input type="text" class="form-control" id="subscribe-email" placeholder="<?php echo __('Your Email Address', AAM_KEY); ?>" />
275
+ </div>
276
+ </div>
277
+ <div class="col-xs-4">
278
+ <button class="btn btn-primary btn-block" id="subscribe"><i class="icon-rss"></i> <?php echo __('Submit', AAM_KEY); ?></button>
279
+ </div>
280
+ </div>
281
+
282
  </div>
283
  </div>
284
  </div>
Application/Backend/phtml/object/capability.phtml CHANGED
@@ -2,6 +2,14 @@
2
  <div class="aam-feature" id="capability-content">
3
  <?php $subject = AAM_Backend_View::getSubject(); ?>
4
 
 
 
 
 
 
 
 
 
5
  <div class="aam-feature-top-actions text-right">
6
  <div class="btn-group">
7
  <a href="#" class="btn btn-xs btn-primary dropdown-toggle" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false" id="capability-filter">
2
  <div class="aam-feature" id="capability-content">
3
  <?php $subject = AAM_Backend_View::getSubject(); ?>
4
 
5
+ <div class="row">
6
+ <div class="col-xs-12">
7
+ <p class="aam-info">
8
+ <?php echo sprintf(AAM_Backend_View_Helper::preparePhrase('Manage list of capabilities for current %s. For more information about concept of capabilities check %sWhat is a WordPress capability%s article.', 'b'), AAM_Backend_View::getSubject()->getUID(), '<a href="https://aamplugin.com/help/what-is-a-wordpress-capability" target="_blank">', '</a>'); ?>
9
+ </p>
10
+ </div>
11
+ </div>
12
+
13
  <div class="aam-feature-top-actions text-right">
14
  <div class="btn-group">
15
  <a href="#" class="btn btn-xs btn-primary dropdown-toggle" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false" id="capability-filter">
Application/Backend/phtml/object/post.phtml CHANGED
@@ -4,7 +4,15 @@
4
  <div class="row">
5
  <div class="col-xs-12">
6
  <p class="aam-notification">
7
- <?php echo sprintf(AAM_Backend_View_Helper::preparePhrase('You are allowed to manage access to unlimited number of posts, pages or custom post types but only on role, user or visitor levels. Consider to purchase [AAM Plus Package] extension to have the ability to manage access also to categories or custom taxonomies and to have the ability to define the default access to all posts, pages or custom post types. For more information check %sthis article%s.', 'b'), '<a href="https://aamplugin.com/help/aam-plus-package-extension" target="_blank">', '</a>'); ?>
 
 
 
 
 
 
 
 
8
  </p>
9
  </div>
10
  </div>
4
  <div class="row">
5
  <div class="col-xs-12">
6
  <p class="aam-notification">
7
+ <?php echo sprintf(AAM_Backend_View_Helper::preparePhrase('You are allowed to manage access to unlimited number of posts, pages or custom post types but only on role, user or visitor levels. Consider to purchase %s[AAM Plus Package]%s extension to have the ability to also manage access to categories and custom taxonomies or to define the default access to all posts, pages or custom post types. For more information about this functionality check %sWhat is a WordPress post%s.', 'b'), '<a href="https://aamplugin.com/help/aam-plus-package-extension" target="_blank">', '</a>', '<a href="https://aamplugin.com/help/what-is-a-wordpress-post" target="_blank">', '</a>'); ?>
8
+ </p>
9
+ </div>
10
+ </div>
11
+ <?php } else { ?>
12
+ <div class="row">
13
+ <div class="col-xs-12">
14
+ <p class="aam-info">
15
+ <?php echo sprintf(__('Manage access to posts, pages and custom post types. For more information about this functionality check %sWhat is a WordPress post%s article.'), '<a href="https://aamplugin.com/help/what-is-a-wordpress-post" target="_blank">', '</a>'); ?>
16
  </p>
17
  </div>
18
  </div>
Application/{Extension → Core}/Server.php RENAMED
@@ -15,7 +15,7 @@
15
  * @package AAM
16
  * @author Vasyl Martyniuk <vasyl@vasyltech.com>
17
  */
18
- final class AAM_Extension_Server {
19
 
20
  /**
21
  * Server endpoint
@@ -40,7 +40,9 @@ final class AAM_Extension_Server {
40
  //prepare check params
41
  $params = array(
42
  'domain' => parse_url(site_url(), PHP_URL_HOST),
43
- 'version' => AAM_Core_API::version()
 
 
44
  );
45
 
46
  $response = self::send('/check', $params);
@@ -70,7 +72,11 @@ final class AAM_Extension_Server {
70
 
71
  $response = self::send(
72
  '/download',
73
- array('license' => $license, 'domain' => $domain)
 
 
 
 
74
  );
75
 
76
  if (!is_wp_error($response)) {
@@ -85,6 +91,31 @@ final class AAM_Extension_Server {
85
 
86
  return $result;
87
  }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
88
 
89
  /**
90
  * Send request
@@ -96,10 +127,6 @@ final class AAM_Extension_Server {
96
  * @access protected
97
  */
98
  protected static function send($request, $params) {
99
- //add AAM UID
100
- $params['uid'] = AAM_Core_API::getOption('aam-uid', null, 'site');
101
- $params['email'] = AAM_Core_API::getOption('admin_email');
102
-
103
  $response = self::parseResponse(
104
  AAM_Core_API::cURL(self::SERVER_URL . $request, false, $params)
105
  );
15
  * @package AAM
16
  * @author Vasyl Martyniuk <vasyl@vasyltech.com>
17
  */
18
+ final class AAM_Core_Server {
19
 
20
  /**
21
  * Server endpoint
40
  //prepare check params
41
  $params = array(
42
  'domain' => parse_url(site_url(), PHP_URL_HOST),
43
+ 'version' => AAM_Core_API::version(),
44
+ 'uid' => AAM_Core_API::getOption('aam-uid', null, 'site'),
45
+ 'email' => AAM_Core_API::getOption('admin_email')
46
  );
47
 
48
  $response = self::send('/check', $params);
72
 
73
  $response = self::send(
74
  '/download',
75
+ array(
76
+ 'license' => $license,
77
+ 'domain' => $domain,
78
+ 'uid' => AAM_Core_API::getOption('aam-uid', null, 'site')
79
+ )
80
  );
81
 
82
  if (!is_wp_error($response)) {
91
 
92
  return $result;
93
  }
94
+
95
+ /**
96
+ * Subscribe to updates
97
+ *
98
+ * @param string $email
99
+ *
100
+ * @return array
101
+ *
102
+ * @access public
103
+ */
104
+ public static function subscribe($email) {
105
+ $response = self::send('/subscribe', array('email' => $email));
106
+
107
+ if (!is_wp_error($response)) {
108
+ if ($response->error === true) {
109
+ $result = new WP_Error($response->code, $response->message);
110
+ } else {
111
+ $result = $response;
112
+ }
113
+ } else {
114
+ $result = $response;
115
+ }
116
+
117
+ return $result;
118
+ }
119
 
120
  /**
121
  * Send request
127
  * @access protected
128
  */
129
  protected static function send($request, $params) {
 
 
 
 
130
  $response = self::parseResponse(
131
  AAM_Core_API::cURL(self::SERVER_URL . $request, false, $params)
132
  );
Lang/advanced-access-manager-en_US.mo CHANGED
Binary file
Lang/advanced-access-manager-en_US.po CHANGED
@@ -1,13 +1,13 @@
1
  msgid ""
2
  msgstr ""
3
  "Project-Id-Version: AAM\n"
4
- "POT-Creation-Date: 2017-05-21 11:58-0400\n"
5
  "PO-Revision-Date: \n"
6
  "Language-Team: WP AAM <vasyl@vasyltech.com>\n"
7
  "MIME-Version: 1.0\n"
8
  "Content-Type: text/plain; charset=UTF-8\n"
9
  "Content-Transfer-Encoding: 8bit\n"
10
- "X-Generator: Poedit 2.0.1\n"
11
  "Plural-Forms: nplurals=2; plural=(n != 1);\n"
12
  "X-Poedit-SourceCharset: UTF-8\n"
13
  "X-Poedit-KeywordsList: __\n"
@@ -48,7 +48,7 @@ msgstr ""
48
  #: Application/Backend/Feature/Capability.php:237
49
  #: Application/Backend/Feature/Capability.php:280
50
  #: Application/Backend/phtml/frame.phtml:143
51
- #: Application/Backend/phtml/object/post.phtml:88
52
  msgid "Backend"
53
  msgstr ""
54
 
@@ -129,6 +129,10 @@ msgstr ""
129
  msgid "All Users, Roles and Visitor"
130
  msgstr ""
131
 
 
 
 
 
132
  #: Application/Backend/View/Localization.php:11 media/js/aam-interface.js:1075
133
  msgid "Search Capability"
134
  msgstr ""
@@ -211,8 +215,8 @@ msgstr ""
211
 
212
  #: Application/Backend/View/Localization.php:27 media/js/aam-interface.js:99
213
  #: media/js/aam-interface.js:555 Application/Backend/phtml/index.phtml:122
214
- #: Application/Backend/phtml/object/capability.phtml:18
215
- #: Application/Backend/phtml/object/capability.phtml:58
216
  msgid "Create"
217
  msgstr ""
218
 
@@ -238,7 +242,7 @@ msgstr ""
238
  #: Application/Backend/phtml/extension.phtml:55
239
  #: Application/Backend/phtml/extension.phtml:82
240
  #: Application/Backend/phtml/index.phtml:144
241
- #: Application/Backend/phtml/object/capability.phtml:80
242
  msgid "Update"
243
  msgstr ""
244
 
@@ -502,7 +506,7 @@ msgstr ""
502
 
503
  #: Application/Backend/View/PostOptionList.php:70
504
  #: Application/Backend/phtml/index.phtml:162
505
- #: Application/Backend/phtml/object/capability.phtml:98
506
  msgid "Delete"
507
  msgstr ""
508
 
@@ -732,7 +736,7 @@ msgid "Failed to update capability"
732
  msgstr ""
733
 
734
  #: media/js/aam-interface.js:1241
735
- #: Application/Backend/phtml/object/capability.phtml:70
736
  msgid "Update Capability"
737
  msgstr ""
738
 
@@ -741,7 +745,7 @@ msgid "Failed to delete capability"
741
  msgstr ""
742
 
743
  #: media/js/aam-interface.js:1282
744
- #: Application/Backend/phtml/object/capability.phtml:92
745
  msgid "Delete Capability"
746
  msgstr ""
747
 
@@ -761,9 +765,14 @@ msgstr ""
761
  #: media/js/aam-interface.js:2159 media/js/aam-interface.js:2245
762
  #: media/js/aam-interface.js:2467 media/js/aam-interface.js:2501
763
  #: media/js/aam-interface.js:2522 media/js/aam-interface.js:2560
 
764
  msgid "Application Error"
765
  msgstr ""
766
 
 
 
 
 
767
  #: Application/Backend/phtml/404redirect.phtml:33
768
  #: Application/Backend/phtml/object/login-redirect.phtml:43
769
  #: Application/Backend/phtml/object/logout-redirect.phtml:43
@@ -810,6 +819,7 @@ msgid "License Key"
810
  msgstr ""
811
 
812
  #: Application/Backend/phtml/extension.phtml:19
 
813
  msgid "Submit"
814
  msgstr ""
815
 
@@ -849,12 +859,12 @@ msgstr ""
849
  #: Application/Backend/phtml/index.phtml:145
850
  #: Application/Backend/phtml/index.phtml:155
851
  #: Application/Backend/phtml/index.phtml:163
852
- #: Application/Backend/phtml/object/capability.phtml:48
853
- #: Application/Backend/phtml/object/capability.phtml:59
854
- #: Application/Backend/phtml/object/capability.phtml:69
855
- #: Application/Backend/phtml/object/capability.phtml:81
856
- #: Application/Backend/phtml/object/capability.phtml:91
857
  #: Application/Backend/phtml/object/capability.phtml:99
 
858
  #: Application/Backend/phtml/object/menu.phtml:82
859
  #: Application/Backend/phtml/object/metabox.phtml:80
860
  #: Application/Backend/phtml/object/metabox.phtml:94
@@ -923,20 +933,20 @@ msgstr ""
923
  #: Application/Backend/phtml/frame.phtml:100
924
  #: Application/Backend/phtml/object/menu.phtml:14
925
  #: Application/Backend/phtml/object/metabox.phtml:12
926
- #: Application/Backend/phtml/object/post.phtml:27
927
  msgid "Settings are customized"
928
  msgstr ""
929
 
930
  #: Application/Backend/phtml/frame.phtml:101
931
- #: Application/Backend/phtml/object/capability.phtml:26
932
  #: Application/Backend/phtml/object/menu.phtml:15
933
  #: Application/Backend/phtml/object/metabox.phtml:13
934
- #: Application/Backend/phtml/object/post.phtml:28
935
  msgid "Reset To Default"
936
  msgstr ""
937
 
938
  #: Application/Backend/phtml/frame.phtml:116
939
- #: Application/Backend/phtml/object/post.phtml:65
940
  msgid "Frontend"
941
  msgstr ""
942
 
@@ -1064,47 +1074,59 @@ msgid ""
1064
  "roles and visitors."
1065
  msgstr ""
1066
 
 
 
 
 
 
 
 
 
 
 
 
 
1067
  #: Application/Backend/phtml/main-panel.phtml:26
1068
  msgid "You are not allowed to manage any of the existing features."
1069
  msgstr ""
1070
 
1071
- #: Application/Backend/phtml/object/capability.phtml:8
1072
  msgid "Filter"
1073
  msgstr ""
1074
 
1075
- #: Application/Backend/phtml/object/capability.phtml:15
1076
  msgid "All Capabilities"
1077
  msgstr ""
1078
 
1079
- #: Application/Backend/phtml/object/capability.phtml:25
1080
  msgid "Capabilities are customized"
1081
  msgstr ""
1082
 
1083
- #: Application/Backend/phtml/object/capability.phtml:36
1084
  msgid "Category"
1085
  msgstr ""
1086
 
1087
- #: Application/Backend/phtml/object/capability.phtml:37
1088
- #: Application/Backend/phtml/object/capability.phtml:53
1089
- #: Application/Backend/phtml/object/capability.phtml:74
1090
  msgid "Capability"
1091
  msgstr ""
1092
 
1093
- #: Application/Backend/phtml/object/capability.phtml:38
1094
- #: Application/Backend/phtml/object/post.phtml:44
1095
  msgid "Actions"
1096
  msgstr ""
1097
 
1098
- #: Application/Backend/phtml/object/capability.phtml:49
1099
  msgid "Create Capability"
1100
  msgstr ""
1101
 
1102
- #: Application/Backend/phtml/object/capability.phtml:54
1103
- #: Application/Backend/phtml/object/capability.phtml:75
1104
  msgid "Enter Capability"
1105
  msgstr ""
1106
 
1107
- #: Application/Backend/phtml/object/capability.phtml:95
1108
  #, php-format
1109
  msgid "Are you sure that you want to delete %s capability for all roles?"
1110
  msgstr ""
@@ -1175,17 +1197,24 @@ msgstr ""
1175
  msgid "Insert valid URL"
1176
  msgstr ""
1177
 
1178
- #: Application/Backend/phtml/object/post.phtml:17
 
 
 
 
 
 
 
1179
  msgid "Root"
1180
  msgstr ""
1181
 
1182
- #: Application/Backend/phtml/object/post.phtml:43
1183
  msgid "Title"
1184
  msgstr ""
1185
 
1186
- #: Application/Backend/phtml/object/post.phtml:52
1187
- #: Application/Backend/phtml/object/post.phtml:57
1188
- #: Application/Backend/phtml/object/post.phtml:112
1189
  msgid "Go Back"
1190
  msgstr ""
1191
 
1
  msgid ""
2
  msgstr ""
3
  "Project-Id-Version: AAM\n"
4
+ "POT-Creation-Date: 2017-05-30 19:56-0400\n"
5
  "PO-Revision-Date: \n"
6
  "Language-Team: WP AAM <vasyl@vasyltech.com>\n"
7
  "MIME-Version: 1.0\n"
8
  "Content-Type: text/plain; charset=UTF-8\n"
9
  "Content-Transfer-Encoding: 8bit\n"
10
+ "X-Generator: Poedit 2.0.2\n"
11
  "Plural-Forms: nplurals=2; plural=(n != 1);\n"
12
  "X-Poedit-SourceCharset: UTF-8\n"
13
  "X-Poedit-KeywordsList: __\n"
48
  #: Application/Backend/Feature/Capability.php:237
49
  #: Application/Backend/Feature/Capability.php:280
50
  #: Application/Backend/phtml/frame.phtml:143
51
+ #: Application/Backend/phtml/object/post.phtml:96
52
  msgid "Backend"
53
  msgstr ""
54
 
129
  msgid "All Users, Roles and Visitor"
130
  msgstr ""
131
 
132
+ #: Application/Backend/View.php:229
133
+ msgid "Invalid Email"
134
+ msgstr ""
135
+
136
  #: Application/Backend/View/Localization.php:11 media/js/aam-interface.js:1075
137
  msgid "Search Capability"
138
  msgstr ""
215
 
216
  #: Application/Backend/View/Localization.php:27 media/js/aam-interface.js:99
217
  #: media/js/aam-interface.js:555 Application/Backend/phtml/index.phtml:122
218
+ #: Application/Backend/phtml/object/capability.phtml:26
219
+ #: Application/Backend/phtml/object/capability.phtml:66
220
  msgid "Create"
221
  msgstr ""
222
 
242
  #: Application/Backend/phtml/extension.phtml:55
243
  #: Application/Backend/phtml/extension.phtml:82
244
  #: Application/Backend/phtml/index.phtml:144
245
+ #: Application/Backend/phtml/object/capability.phtml:88
246
  msgid "Update"
247
  msgstr ""
248
 
506
 
507
  #: Application/Backend/View/PostOptionList.php:70
508
  #: Application/Backend/phtml/index.phtml:162
509
+ #: Application/Backend/phtml/object/capability.phtml:106
510
  msgid "Delete"
511
  msgstr ""
512
 
736
  msgstr ""
737
 
738
  #: media/js/aam-interface.js:1241
739
+ #: Application/Backend/phtml/object/capability.phtml:78
740
  msgid "Update Capability"
741
  msgstr ""
742
 
745
  msgstr ""
746
 
747
  #: media/js/aam-interface.js:1282
748
+ #: Application/Backend/phtml/object/capability.phtml:100
749
  msgid "Delete Capability"
750
  msgstr ""
751
 
765
  #: media/js/aam-interface.js:2159 media/js/aam-interface.js:2245
766
  #: media/js/aam-interface.js:2467 media/js/aam-interface.js:2501
767
  #: media/js/aam-interface.js:2522 media/js/aam-interface.js:2560
768
+ #: media/js/aam-interface.js:2697
769
  msgid "Application Error"
770
  msgstr ""
771
 
772
+ #: media/js/aam-interface.js:2690
773
+ msgid "Your are subscribed now!"
774
+ msgstr ""
775
+
776
  #: Application/Backend/phtml/404redirect.phtml:33
777
  #: Application/Backend/phtml/object/login-redirect.phtml:43
778
  #: Application/Backend/phtml/object/logout-redirect.phtml:43
819
  msgstr ""
820
 
821
  #: Application/Backend/phtml/extension.phtml:19
822
+ #: Application/Backend/phtml/index.phtml:278
823
  msgid "Submit"
824
  msgstr ""
825
 
859
  #: Application/Backend/phtml/index.phtml:145
860
  #: Application/Backend/phtml/index.phtml:155
861
  #: Application/Backend/phtml/index.phtml:163
862
+ #: Application/Backend/phtml/object/capability.phtml:56
863
+ #: Application/Backend/phtml/object/capability.phtml:67
864
+ #: Application/Backend/phtml/object/capability.phtml:77
865
+ #: Application/Backend/phtml/object/capability.phtml:89
 
866
  #: Application/Backend/phtml/object/capability.phtml:99
867
+ #: Application/Backend/phtml/object/capability.phtml:107
868
  #: Application/Backend/phtml/object/menu.phtml:82
869
  #: Application/Backend/phtml/object/metabox.phtml:80
870
  #: Application/Backend/phtml/object/metabox.phtml:94
933
  #: Application/Backend/phtml/frame.phtml:100
934
  #: Application/Backend/phtml/object/menu.phtml:14
935
  #: Application/Backend/phtml/object/metabox.phtml:12
936
+ #: Application/Backend/phtml/object/post.phtml:35
937
  msgid "Settings are customized"
938
  msgstr ""
939
 
940
  #: Application/Backend/phtml/frame.phtml:101
941
+ #: Application/Backend/phtml/object/capability.phtml:34
942
  #: Application/Backend/phtml/object/menu.phtml:15
943
  #: Application/Backend/phtml/object/metabox.phtml:13
944
+ #: Application/Backend/phtml/object/post.phtml:36
945
  msgid "Reset To Default"
946
  msgstr ""
947
 
948
  #: Application/Backend/phtml/frame.phtml:116
949
+ #: Application/Backend/phtml/object/post.phtml:73
950
  msgid "Frontend"
951
  msgstr ""
952
 
1074
  "roles and visitors."
1075
  msgstr ""
1076
 
1077
+ #: Application/Backend/phtml/index.phtml:270
1078
+ msgid "Subscribe to updates"
1079
+ msgstr ""
1080
+
1081
+ #: Application/Backend/phtml/index.phtml:270
1082
+ msgid "Get once a month the email with the latest AAM features and promo-codes"
1083
+ msgstr ""
1084
+
1085
+ #: Application/Backend/phtml/index.phtml:274
1086
+ msgid "Your Email Address"
1087
+ msgstr ""
1088
+
1089
  #: Application/Backend/phtml/main-panel.phtml:26
1090
  msgid "You are not allowed to manage any of the existing features."
1091
  msgstr ""
1092
 
1093
+ #: Application/Backend/phtml/object/capability.phtml:16
1094
  msgid "Filter"
1095
  msgstr ""
1096
 
1097
+ #: Application/Backend/phtml/object/capability.phtml:23
1098
  msgid "All Capabilities"
1099
  msgstr ""
1100
 
1101
+ #: Application/Backend/phtml/object/capability.phtml:33
1102
  msgid "Capabilities are customized"
1103
  msgstr ""
1104
 
1105
+ #: Application/Backend/phtml/object/capability.phtml:44
1106
  msgid "Category"
1107
  msgstr ""
1108
 
1109
+ #: Application/Backend/phtml/object/capability.phtml:45
1110
+ #: Application/Backend/phtml/object/capability.phtml:61
1111
+ #: Application/Backend/phtml/object/capability.phtml:82
1112
  msgid "Capability"
1113
  msgstr ""
1114
 
1115
+ #: Application/Backend/phtml/object/capability.phtml:46
1116
+ #: Application/Backend/phtml/object/post.phtml:52
1117
  msgid "Actions"
1118
  msgstr ""
1119
 
1120
+ #: Application/Backend/phtml/object/capability.phtml:57
1121
  msgid "Create Capability"
1122
  msgstr ""
1123
 
1124
+ #: Application/Backend/phtml/object/capability.phtml:62
1125
+ #: Application/Backend/phtml/object/capability.phtml:83
1126
  msgid "Enter Capability"
1127
  msgstr ""
1128
 
1129
+ #: Application/Backend/phtml/object/capability.phtml:103
1130
  #, php-format
1131
  msgid "Are you sure that you want to delete %s capability for all roles?"
1132
  msgstr ""
1197
  msgid "Insert valid URL"
1198
  msgstr ""
1199
 
1200
+ #: Application/Backend/phtml/object/post.phtml:15
1201
+ #, php-format
1202
+ msgid ""
1203
+ "Manage access to posts, pages and custom post types. For more information "
1204
+ "about this functionality check %sWhat is a WordPress post%s article."
1205
+ msgstr ""
1206
+
1207
+ #: Application/Backend/phtml/object/post.phtml:25
1208
  msgid "Root"
1209
  msgstr ""
1210
 
1211
+ #: Application/Backend/phtml/object/post.phtml:51
1212
  msgid "Title"
1213
  msgstr ""
1214
 
1215
+ #: Application/Backend/phtml/object/post.phtml:60
1216
+ #: Application/Backend/phtml/object/post.phtml:65
1217
+ #: Application/Backend/phtml/object/post.phtml:120
1218
  msgid "Go Back"
1219
  msgstr ""
1220
 
Lang/advanced-access-manager.pot CHANGED
@@ -2,7 +2,7 @@
2
  msgid ""
3
  msgstr ""
4
  "Project-Id-Version: AAM\n"
5
- "POT-Creation-Date: 2017-05-21 11:58-0400\n"
6
  "PO-Revision-Date: \n"
7
  "Last-Translator: WPAAM <support@wpaam.com>\n"
8
  "Language-Team: WP AAM <vasyl@vasyltech.com>\n"
@@ -10,7 +10,7 @@ msgstr ""
10
  "MIME-Version: 1.0\n"
11
  "Content-Type: text/plain; charset=UTF-8\n"
12
  "Content-Transfer-Encoding: 8bit\n"
13
- "X-Generator: Poedit 2.0.1\n"
14
  "Plural-Forms: nplurals=2; plural=(n != 1);\n"
15
  "X-Poedit-SourceCharset: UTF-8\n"
16
  "X-Poedit-KeywordsList: __\n"
@@ -49,7 +49,7 @@ msgstr ""
49
  #: Application/Backend/Feature/Capability.php:237
50
  #: Application/Backend/Feature/Capability.php:280
51
  #: Application/Backend/phtml/frame.phtml:143
52
- #: Application/Backend/phtml/object/post.phtml:88
53
  msgid "Backend"
54
  msgstr ""
55
 
@@ -130,6 +130,10 @@ msgstr ""
130
  msgid "All Users, Roles and Visitor"
131
  msgstr ""
132
 
 
 
 
 
133
  #: Application/Backend/View/Localization.php:11 media/js/aam-interface.js:1075
134
  msgid "Search Capability"
135
  msgstr ""
@@ -212,8 +216,8 @@ msgstr ""
212
 
213
  #: Application/Backend/View/Localization.php:27 media/js/aam-interface.js:99
214
  #: media/js/aam-interface.js:555 Application/Backend/phtml/index.phtml:122
215
- #: Application/Backend/phtml/object/capability.phtml:18
216
- #: Application/Backend/phtml/object/capability.phtml:58
217
  msgid "Create"
218
  msgstr ""
219
 
@@ -239,7 +243,7 @@ msgstr ""
239
  #: Application/Backend/phtml/extension.phtml:55
240
  #: Application/Backend/phtml/extension.phtml:82
241
  #: Application/Backend/phtml/index.phtml:144
242
- #: Application/Backend/phtml/object/capability.phtml:80
243
  msgid "Update"
244
  msgstr ""
245
 
@@ -503,7 +507,7 @@ msgstr ""
503
 
504
  #: Application/Backend/View/PostOptionList.php:70
505
  #: Application/Backend/phtml/index.phtml:162
506
- #: Application/Backend/phtml/object/capability.phtml:98
507
  msgid "Delete"
508
  msgstr ""
509
 
@@ -733,7 +737,7 @@ msgid "Failed to update capability"
733
  msgstr ""
734
 
735
  #: media/js/aam-interface.js:1241
736
- #: Application/Backend/phtml/object/capability.phtml:70
737
  msgid "Update Capability"
738
  msgstr ""
739
 
@@ -742,7 +746,7 @@ msgid "Failed to delete capability"
742
  msgstr ""
743
 
744
  #: media/js/aam-interface.js:1282
745
- #: Application/Backend/phtml/object/capability.phtml:92
746
  msgid "Delete Capability"
747
  msgstr ""
748
 
@@ -762,9 +766,14 @@ msgstr ""
762
  #: media/js/aam-interface.js:2159 media/js/aam-interface.js:2245
763
  #: media/js/aam-interface.js:2467 media/js/aam-interface.js:2501
764
  #: media/js/aam-interface.js:2522 media/js/aam-interface.js:2560
 
765
  msgid "Application Error"
766
  msgstr ""
767
 
 
 
 
 
768
  #: Application/Backend/phtml/404redirect.phtml:33
769
  #: Application/Backend/phtml/object/login-redirect.phtml:43
770
  #: Application/Backend/phtml/object/logout-redirect.phtml:43
@@ -811,6 +820,7 @@ msgid "License Key"
811
  msgstr ""
812
 
813
  #: Application/Backend/phtml/extension.phtml:19
 
814
  msgid "Submit"
815
  msgstr ""
816
 
@@ -850,12 +860,12 @@ msgstr ""
850
  #: Application/Backend/phtml/index.phtml:145
851
  #: Application/Backend/phtml/index.phtml:155
852
  #: Application/Backend/phtml/index.phtml:163
853
- #: Application/Backend/phtml/object/capability.phtml:48
854
- #: Application/Backend/phtml/object/capability.phtml:59
855
- #: Application/Backend/phtml/object/capability.phtml:69
856
- #: Application/Backend/phtml/object/capability.phtml:81
857
- #: Application/Backend/phtml/object/capability.phtml:91
858
  #: Application/Backend/phtml/object/capability.phtml:99
 
859
  #: Application/Backend/phtml/object/menu.phtml:82
860
  #: Application/Backend/phtml/object/metabox.phtml:80
861
  #: Application/Backend/phtml/object/metabox.phtml:94
@@ -924,20 +934,20 @@ msgstr ""
924
  #: Application/Backend/phtml/frame.phtml:100
925
  #: Application/Backend/phtml/object/menu.phtml:14
926
  #: Application/Backend/phtml/object/metabox.phtml:12
927
- #: Application/Backend/phtml/object/post.phtml:27
928
  msgid "Settings are customized"
929
  msgstr ""
930
 
931
  #: Application/Backend/phtml/frame.phtml:101
932
- #: Application/Backend/phtml/object/capability.phtml:26
933
  #: Application/Backend/phtml/object/menu.phtml:15
934
  #: Application/Backend/phtml/object/metabox.phtml:13
935
- #: Application/Backend/phtml/object/post.phtml:28
936
  msgid "Reset To Default"
937
  msgstr ""
938
 
939
  #: Application/Backend/phtml/frame.phtml:116
940
- #: Application/Backend/phtml/object/post.phtml:65
941
  msgid "Frontend"
942
  msgstr ""
943
 
@@ -1065,47 +1075,59 @@ msgid ""
1065
  "roles and visitors."
1066
  msgstr ""
1067
 
 
 
 
 
 
 
 
 
 
 
 
 
1068
  #: Application/Backend/phtml/main-panel.phtml:26
1069
  msgid "You are not allowed to manage any of the existing features."
1070
  msgstr ""
1071
 
1072
- #: Application/Backend/phtml/object/capability.phtml:8
1073
  msgid "Filter"
1074
  msgstr ""
1075
 
1076
- #: Application/Backend/phtml/object/capability.phtml:15
1077
  msgid "All Capabilities"
1078
  msgstr ""
1079
 
1080
- #: Application/Backend/phtml/object/capability.phtml:25
1081
  msgid "Capabilities are customized"
1082
  msgstr ""
1083
 
1084
- #: Application/Backend/phtml/object/capability.phtml:36
1085
  msgid "Category"
1086
  msgstr ""
1087
 
1088
- #: Application/Backend/phtml/object/capability.phtml:37
1089
- #: Application/Backend/phtml/object/capability.phtml:53
1090
- #: Application/Backend/phtml/object/capability.phtml:74
1091
  msgid "Capability"
1092
  msgstr ""
1093
 
1094
- #: Application/Backend/phtml/object/capability.phtml:38
1095
- #: Application/Backend/phtml/object/post.phtml:44
1096
  msgid "Actions"
1097
  msgstr ""
1098
 
1099
- #: Application/Backend/phtml/object/capability.phtml:49
1100
  msgid "Create Capability"
1101
  msgstr ""
1102
 
1103
- #: Application/Backend/phtml/object/capability.phtml:54
1104
- #: Application/Backend/phtml/object/capability.phtml:75
1105
  msgid "Enter Capability"
1106
  msgstr ""
1107
 
1108
- #: Application/Backend/phtml/object/capability.phtml:95
1109
  #, php-format
1110
  msgid "Are you sure that you want to delete %s capability for all roles?"
1111
  msgstr ""
@@ -1176,17 +1198,24 @@ msgstr ""
1176
  msgid "Insert valid URL"
1177
  msgstr ""
1178
 
1179
- #: Application/Backend/phtml/object/post.phtml:17
 
 
 
 
 
 
 
1180
  msgid "Root"
1181
  msgstr ""
1182
 
1183
- #: Application/Backend/phtml/object/post.phtml:43
1184
  msgid "Title"
1185
  msgstr ""
1186
 
1187
- #: Application/Backend/phtml/object/post.phtml:52
1188
- #: Application/Backend/phtml/object/post.phtml:57
1189
- #: Application/Backend/phtml/object/post.phtml:112
1190
  msgid "Go Back"
1191
  msgstr ""
1192
 
2
  msgid ""
3
  msgstr ""
4
  "Project-Id-Version: AAM\n"
5
+ "POT-Creation-Date: 2017-05-30 19:56-0400\n"
6
  "PO-Revision-Date: \n"
7
  "Last-Translator: WPAAM <support@wpaam.com>\n"
8
  "Language-Team: WP AAM <vasyl@vasyltech.com>\n"
10
  "MIME-Version: 1.0\n"
11
  "Content-Type: text/plain; charset=UTF-8\n"
12
  "Content-Transfer-Encoding: 8bit\n"
13
+ "X-Generator: Poedit 2.0.2\n"
14
  "Plural-Forms: nplurals=2; plural=(n != 1);\n"
15
  "X-Poedit-SourceCharset: UTF-8\n"
16
  "X-Poedit-KeywordsList: __\n"
49
  #: Application/Backend/Feature/Capability.php:237
50
  #: Application/Backend/Feature/Capability.php:280
51
  #: Application/Backend/phtml/frame.phtml:143
52
+ #: Application/Backend/phtml/object/post.phtml:96
53
  msgid "Backend"
54
  msgstr ""
55
 
130
  msgid "All Users, Roles and Visitor"
131
  msgstr ""
132
 
133
+ #: Application/Backend/View.php:229
134
+ msgid "Invalid Email"
135
+ msgstr ""
136
+
137
  #: Application/Backend/View/Localization.php:11 media/js/aam-interface.js:1075
138
  msgid "Search Capability"
139
  msgstr ""
216
 
217
  #: Application/Backend/View/Localization.php:27 media/js/aam-interface.js:99
218
  #: media/js/aam-interface.js:555 Application/Backend/phtml/index.phtml:122
219
+ #: Application/Backend/phtml/object/capability.phtml:26
220
+ #: Application/Backend/phtml/object/capability.phtml:66
221
  msgid "Create"
222
  msgstr ""
223
 
243
  #: Application/Backend/phtml/extension.phtml:55
244
  #: Application/Backend/phtml/extension.phtml:82
245
  #: Application/Backend/phtml/index.phtml:144
246
+ #: Application/Backend/phtml/object/capability.phtml:88
247
  msgid "Update"
248
  msgstr ""
249
 
507
 
508
  #: Application/Backend/View/PostOptionList.php:70
509
  #: Application/Backend/phtml/index.phtml:162
510
+ #: Application/Backend/phtml/object/capability.phtml:106
511
  msgid "Delete"
512
  msgstr ""
513
 
737
  msgstr ""
738
 
739
  #: media/js/aam-interface.js:1241
740
+ #: Application/Backend/phtml/object/capability.phtml:78
741
  msgid "Update Capability"
742
  msgstr ""
743
 
746
  msgstr ""
747
 
748
  #: media/js/aam-interface.js:1282
749
+ #: Application/Backend/phtml/object/capability.phtml:100
750
  msgid "Delete Capability"
751
  msgstr ""
752
 
766
  #: media/js/aam-interface.js:2159 media/js/aam-interface.js:2245
767
  #: media/js/aam-interface.js:2467 media/js/aam-interface.js:2501
768
  #: media/js/aam-interface.js:2522 media/js/aam-interface.js:2560
769
+ #: media/js/aam-interface.js:2697
770
  msgid "Application Error"
771
  msgstr ""
772
 
773
+ #: media/js/aam-interface.js:2690
774
+ msgid "Your are subscribed now!"
775
+ msgstr ""
776
+
777
  #: Application/Backend/phtml/404redirect.phtml:33
778
  #: Application/Backend/phtml/object/login-redirect.phtml:43
779
  #: Application/Backend/phtml/object/logout-redirect.phtml:43
820
  msgstr ""
821
 
822
  #: Application/Backend/phtml/extension.phtml:19
823
+ #: Application/Backend/phtml/index.phtml:278
824
  msgid "Submit"
825
  msgstr ""
826
 
860
  #: Application/Backend/phtml/index.phtml:145
861
  #: Application/Backend/phtml/index.phtml:155
862
  #: Application/Backend/phtml/index.phtml:163
863
+ #: Application/Backend/phtml/object/capability.phtml:56
864
+ #: Application/Backend/phtml/object/capability.phtml:67
865
+ #: Application/Backend/phtml/object/capability.phtml:77
866
+ #: Application/Backend/phtml/object/capability.phtml:89
 
867
  #: Application/Backend/phtml/object/capability.phtml:99
868
+ #: Application/Backend/phtml/object/capability.phtml:107
869
  #: Application/Backend/phtml/object/menu.phtml:82
870
  #: Application/Backend/phtml/object/metabox.phtml:80
871
  #: Application/Backend/phtml/object/metabox.phtml:94
934
  #: Application/Backend/phtml/frame.phtml:100
935
  #: Application/Backend/phtml/object/menu.phtml:14
936
  #: Application/Backend/phtml/object/metabox.phtml:12
937
+ #: Application/Backend/phtml/object/post.phtml:35
938
  msgid "Settings are customized"
939
  msgstr ""
940
 
941
  #: Application/Backend/phtml/frame.phtml:101
942
+ #: Application/Backend/phtml/object/capability.phtml:34
943
  #: Application/Backend/phtml/object/menu.phtml:15
944
  #: Application/Backend/phtml/object/metabox.phtml:13
945
+ #: Application/Backend/phtml/object/post.phtml:36
946
  msgid "Reset To Default"
947
  msgstr ""
948
 
949
  #: Application/Backend/phtml/frame.phtml:116
950
+ #: Application/Backend/phtml/object/post.phtml:73
951
  msgid "Frontend"
952
  msgstr ""
953
 
1075
  "roles and visitors."
1076
  msgstr ""
1077
 
1078
+ #: Application/Backend/phtml/index.phtml:270
1079
+ msgid "Subscribe to updates"
1080
+ msgstr ""
1081
+
1082
+ #: Application/Backend/phtml/index.phtml:270
1083
+ msgid "Get once a month the email with the latest AAM features and promo-codes"
1084
+ msgstr ""
1085
+
1086
+ #: Application/Backend/phtml/index.phtml:274
1087
+ msgid "Your Email Address"
1088
+ msgstr ""
1089
+
1090
  #: Application/Backend/phtml/main-panel.phtml:26
1091
  msgid "You are not allowed to manage any of the existing features."
1092
  msgstr ""
1093
 
1094
+ #: Application/Backend/phtml/object/capability.phtml:16
1095
  msgid "Filter"
1096
  msgstr ""
1097
 
1098
+ #: Application/Backend/phtml/object/capability.phtml:23
1099
  msgid "All Capabilities"
1100
  msgstr ""
1101
 
1102
+ #: Application/Backend/phtml/object/capability.phtml:33
1103
  msgid "Capabilities are customized"
1104
  msgstr ""
1105
 
1106
+ #: Application/Backend/phtml/object/capability.phtml:44
1107
  msgid "Category"
1108
  msgstr ""
1109
 
1110
+ #: Application/Backend/phtml/object/capability.phtml:45
1111
+ #: Application/Backend/phtml/object/capability.phtml:61
1112
+ #: Application/Backend/phtml/object/capability.phtml:82
1113
  msgid "Capability"
1114
  msgstr ""
1115
 
1116
+ #: Application/Backend/phtml/object/capability.phtml:46
1117
+ #: Application/Backend/phtml/object/post.phtml:52
1118
  msgid "Actions"
1119
  msgstr ""
1120
 
1121
+ #: Application/Backend/phtml/object/capability.phtml:57
1122
  msgid "Create Capability"
1123
  msgstr ""
1124
 
1125
+ #: Application/Backend/phtml/object/capability.phtml:62
1126
+ #: Application/Backend/phtml/object/capability.phtml:83
1127
  msgid "Enter Capability"
1128
  msgstr ""
1129
 
1130
+ #: Application/Backend/phtml/object/capability.phtml:103
1131
  #, php-format
1132
  msgid "Are you sure that you want to delete %s capability for all roles?"
1133
  msgstr ""
1198
  msgid "Insert valid URL"
1199
  msgstr ""
1200
 
1201
+ #: Application/Backend/phtml/object/post.phtml:15
1202
+ #, php-format
1203
+ msgid ""
1204
+ "Manage access to posts, pages and custom post types. For more information "
1205
+ "about this functionality check %sWhat is a WordPress post%s article."
1206
+ msgstr ""
1207
+
1208
+ #: Application/Backend/phtml/object/post.phtml:25
1209
  msgid "Root"
1210
  msgstr ""
1211
 
1212
+ #: Application/Backend/phtml/object/post.phtml:51
1213
  msgid "Title"
1214
  msgstr ""
1215
 
1216
+ #: Application/Backend/phtml/object/post.phtml:60
1217
+ #: Application/Backend/phtml/object/post.phtml:65
1218
+ #: Application/Backend/phtml/object/post.phtml:120
1219
  msgid "Go Back"
1220
  msgstr ""
1221
 
aam.php CHANGED
@@ -3,7 +3,7 @@
3
  /**
4
  Plugin Name: Advanced Access Manager
5
  Description: All you need to manage access to your WordPress website
6
- Version: 4.7.5
7
  Author: Vasyl Martyniuk <vasyl@vasyltech.com>
8
  Author URI: https://vasyltech.com
9
 
@@ -156,7 +156,7 @@ class AAM {
156
  if (!empty($extensions)) {
157
  //grab the server extension list
158
  AAM_Core_API::updateOption(
159
- 'aam-check', AAM_Extension_Server::check(), 'site'
160
  );
161
  }
162
  }
3
  /**
4
  Plugin Name: Advanced Access Manager
5
  Description: All you need to manage access to your WordPress website
6
+ Version: 4.7.6
7
  Author: Vasyl Martyniuk <vasyl@vasyltech.com>
8
  Author URI: https://vasyltech.com
9
 
156
  if (!empty($extensions)) {
157
  //grab the server extension list
158
  AAM_Core_API::updateOption(
159
+ 'aam-check', AAM_Core_Server::check(), 'site'
160
  );
161
  }
162
  }
media/css/aam.css CHANGED
@@ -94,6 +94,7 @@
94
  .icon-circle:before { content: '\f111' !important; } /* '' */
95
  .icon-circle-thin:before { content: '\f1db' !important; } /* '' */
96
  .icon-clone:before { content: '\f24d' !important; } /* '' */
 
97
 
98
  .animate-spin {
99
  -moz-animation: spin 2s infinite linear;
94
  .icon-circle:before { content: '\f111' !important; } /* '' */
95
  .icon-circle-thin:before { content: '\f1db' !important; } /* '' */
96
  .icon-clone:before { content: '\f24d' !important; } /* '' */
97
+ .icon-rss:before { content: '\f09e' !important; } /* '' */
98
 
99
  .animate-spin {
100
  -moz-animation: spin 2s infinite linear;
media/font/fontello.eot CHANGED
Binary file
media/font/fontello.svg CHANGED
@@ -18,6 +18,8 @@
18
 
19
  <glyph glyph-name="left-dir" unicode="&#xe806;" d="M357 600v-500q0-14-10-25t-26-11-25 11l-250 250q-10 11-10 25t10 25l250 250q11 11 25 11t26-11 10-25z" horiz-adv-x="357.1" />
20
 
 
 
21
  <glyph glyph-name="mail-alt" unicode="&#xe808;" d="M1000 454v-443q0-37-26-63t-63-27h-822q-36 0-63 27t-26 63v443q25-28 56-49 202-137 278-192 32-24 51-37t53-27 61-13h2q28 0 61 13t53 27 51 37q95 68 278 192 32 22 56 49z m0 164q0-44-27-84t-68-69q-210-146-262-181-5-4-23-17t-30-22-29-18-33-15-27-5h-2q-12 0-27 5t-33 15-29 18-30 22-23 17q-51 35-147 101t-114 80q-35 23-65 64t-31 77q0 43 23 72t66 29h822q36 0 62-26t27-63z" horiz-adv-x="1000" />
22
 
23
  <glyph glyph-name="download-cloud" unicode="&#xe809;" d="M714 332q0 8-5 13t-13 5h-125v196q0 8-5 13t-12 5h-108q-7 0-12-5t-5-13v-196h-125q-8 0-13-5t-5-13q0-8 5-13l196-196q5-5 13-5t13 5l196 196q5 6 5 13z m357-125q0-89-62-151t-152-63h-607q-103 0-177 73t-73 177q0 72 39 134t105 92q-1 17-1 24 0 118 84 202t202 84q87 0 159-49t105-129q40 35 93 35 59 0 101-42t42-101q0-43-23-77 72-17 119-76t46-133z" horiz-adv-x="1071.4" />
@@ -80,6 +82,8 @@
80
 
81
  <glyph glyph-name="level-down" unicode="&#xe83e;" d="M18 707h393q7 0 12-5t6-13v-482h107q22 0 32-20t-5-39l-178-214q-11-13-28-13t-27 13l-179 214q-14 17-5 39 10 20 33 20h107v357h-179q-8 0-14 6l-89 108q-7 7-2 19 5 10 16 10z" horiz-adv-x="571.4" />
82
 
 
 
83
  <glyph glyph-name="chat-empty" unicode="&#xf0e6;" d="M393 636q-85 0-160-29t-118-79-44-107q0-45 30-88t83-73l54-32-19-46q19 11 34 21l25 18 30-6q43-8 85-8 85 0 160 29t118 79 43 106-43 107-118 79-160 29z m0 71q106 0 197-38t143-104 53-144-53-143-143-104-197-38q-48 0-98 9-70-49-155-72-21-5-48-9h-2q-6 0-12 5t-6 12q-1 1-1 3t1 4 1 3l1 3t2 3 2 3 3 3 2 2q3 3 13 14t15 16 12 17 14 21 11 25q-69 40-108 98t-40 125q0 78 53 144t143 104 197 38z m459-652q5-14 11-25t14-21 13-16 14-17 13-14q0 0 2-2t3-3 2-3 2-3l1-3t1-3 1-4-1-3q-2-8-7-13t-12-4q-28 4-48 9-86 23-156 72-50-9-98-9-151 0-263 74 32-3 49-3 90 0 172 25t148 72q69 52 107 119t37 141q0 43-13 85 72-39 114-99t42-128q0-67-40-126t-108-98z" horiz-adv-x="1000" />
84
 
85
  <glyph glyph-name="exchange" unicode="&#xf0ec;" d="M1000 189v-107q0-7-5-12t-13-6h-768v-107q0-7-5-12t-13-6q-6 0-13 6l-178 178q-5 6-5 13 0 8 5 13l179 178q5 5 12 5 8 0 13-5t5-13v-107h768q7 0 13-5t5-13z m0 304q0-8-5-13l-179-178q-5-6-12-6-8 0-13 6t-5 12v107h-768q-7 0-13 6t-5 12v107q0 8 5 13t13 5h768v107q0 8 5 13t13 5q6 0 13-5l178-178q5-5 5-13z" horiz-adv-x="1000" />
18
 
19
  <glyph glyph-name="left-dir" unicode="&#xe806;" d="M357 600v-500q0-14-10-25t-26-11-25 11l-250 250q-10 11-10 25t10 25l250 250q11 11 25 11t26-11 10-25z" horiz-adv-x="357.1" />
20
 
21
+ <glyph glyph-name="wrench-circled" unicode="&#xe807;" d="M0 350q0 207 147 354t353 146 354-146 146-354-146-354-354-146-353 146-147 354z m199-201l100-100 283 284q41-16 89-6t82 44 44 81-6 89l-100-99-72 27-27 72 99 100q-25 10-54 10-69 0-115-49-36-33-45-81t5-89z m77-23q-20 21 1 42 20 20 41 0 20-21-1-42t-41 0z" horiz-adv-x="1000" />
22
+
23
  <glyph glyph-name="mail-alt" unicode="&#xe808;" d="M1000 454v-443q0-37-26-63t-63-27h-822q-36 0-63 27t-26 63v443q25-28 56-49 202-137 278-192 32-24 51-37t53-27 61-13h2q28 0 61 13t53 27 51 37q95 68 278 192 32 22 56 49z m0 164q0-44-27-84t-68-69q-210-146-262-181-5-4-23-17t-30-22-29-18-33-15-27-5h-2q-12 0-27 5t-33 15-29 18-30 22-23 17q-51 35-147 101t-114 80q-35 23-65 64t-31 77q0 43 23 72t66 29h822q36 0 62-26t27-63z" horiz-adv-x="1000" />
24
 
25
  <glyph glyph-name="download-cloud" unicode="&#xe809;" d="M714 332q0 8-5 13t-13 5h-125v196q0 8-5 13t-12 5h-108q-7 0-12-5t-5-13v-196h-125q-8 0-13-5t-5-13q0-8 5-13l196-196q5-5 13-5t13 5l196 196q5 6 5 13z m357-125q0-89-62-151t-152-63h-607q-103 0-177 73t-73 177q0 72 39 134t105 92q-1 17-1 24 0 118 84 202t202 84q87 0 159-49t105-129q40 35 93 35 59 0 101-42t42-101q0-43-23-77 72-17 119-76t46-133z" horiz-adv-x="1071.4" />
82
 
83
  <glyph glyph-name="level-down" unicode="&#xe83e;" d="M18 707h393q7 0 12-5t6-13v-482h107q22 0 32-20t-5-39l-178-214q-11-13-28-13t-27 13l-179 214q-14 17-5 39 10 20 33 20h107v357h-179q-8 0-14 6l-89 108q-7 7-2 19 5 10 16 10z" horiz-adv-x="571.4" />
84
 
85
+ <glyph glyph-name="rss" unicode="&#xf09e;" d="M214 100q0-45-31-76t-76-31-76 31-31 76 31 76 76 31 76-31 31-76z m286-69q1-15-9-26-10-12-27-12h-75q-14 0-24 9t-11 23q-12 128-103 219t-219 103q-14 1-23 11t-9 24v75q0 16 12 26 9 10 24 10h3q89-7 170-45t145-101q63-63 101-145t45-171z m286-1q1-15-10-26-10-11-26-11h-80q-14 0-25 10t-10 23q-7 120-57 228t-129 188-188 129-227 57q-14 1-24 11t-10 24v80q0 16 11 26 10 10 25 10h1q147-8 280-67t238-164q104-104 164-238t67-280z" horiz-adv-x="785.7" />
86
+
87
  <glyph glyph-name="chat-empty" unicode="&#xf0e6;" d="M393 636q-85 0-160-29t-118-79-44-107q0-45 30-88t83-73l54-32-19-46q19 11 34 21l25 18 30-6q43-8 85-8 85 0 160 29t118 79 43 106-43 107-118 79-160 29z m0 71q106 0 197-38t143-104 53-144-53-143-143-104-197-38q-48 0-98 9-70-49-155-72-21-5-48-9h-2q-6 0-12 5t-6 12q-1 1-1 3t1 4 1 3l1 3t2 3 2 3 3 3 2 2q3 3 13 14t15 16 12 17 14 21 11 25q-69 40-108 98t-40 125q0 78 53 144t143 104 197 38z m459-652q5-14 11-25t14-21 13-16 14-17 13-14q0 0 2-2t3-3 2-3 2-3l1-3t1-3 1-4-1-3q-2-8-7-13t-12-4q-28 4-48 9-86 23-156 72-50-9-98-9-151 0-263 74 32-3 49-3 90 0 172 25t148 72q69 52 107 119t37 141q0 43-13 85 72-39 114-99t42-128q0-67-40-126t-108-98z" horiz-adv-x="1000" />
88
 
89
  <glyph glyph-name="exchange" unicode="&#xf0ec;" d="M1000 189v-107q0-7-5-12t-13-6h-768v-107q0-7-5-12t-13-6q-6 0-13 6l-178 178q-5 6-5 13 0 8 5 13l179 178q5 5 12 5 8 0 13-5t5-13v-107h768q7 0 13-5t5-13z m0 304q0-8-5-13l-179-178q-5-6-12-6-8 0-13 6t-5 12v107h-768q-7 0-13 6t-5 12v107q0 8 5 13t13 5h768v107q0 8 5 13t13 5q6 0 13-5l178-178q5-5 5-13z" horiz-adv-x="1000" />
media/font/fontello.ttf CHANGED
Binary file
media/font/fontello.woff CHANGED
Binary file
media/font/fontello.woff2 CHANGED
Binary file
media/js/aam-interface.js CHANGED
@@ -2661,4 +2661,46 @@
2661
 
2662
  aam.fetchContent(); //fetch default AAM content
2663
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
2664
  })(jQuery);
2661
 
2662
  aam.fetchContent(); //fetch default AAM content
2663
 
2664
+ })(jQuery);
2665
+
2666
+ /**
2667
+ * Miscellenious features
2668
+ *
2669
+ */
2670
+ (function ($) {
2671
+ $('#subscribe').bind('click', function() {
2672
+ var email = $('#subscribe-email').val();
2673
+
2674
+ if (email) {
2675
+ $.ajax(aamLocal.ajaxurl, {
2676
+ type: 'POST',
2677
+ dataType: 'json',
2678
+ async: false,
2679
+ data: {
2680
+ action: 'aam',
2681
+ sub_action: 'subscribe',
2682
+ _ajax_nonce: aamLocal.nonce,
2683
+ email: email
2684
+ },
2685
+ beforeSend: function () {
2686
+ $('#subscribe i').attr('class', 'icon-spin4 animate-spin');
2687
+ },
2688
+ success: function(response) {
2689
+ if (response.status === 'success') {
2690
+ aam.notification('success', aam.__('Your are subscribed now!'));
2691
+ $('#subscribe-email').val('');
2692
+ } else {
2693
+ aam.notification('danger', response.reason);
2694
+ }
2695
+ },
2696
+ error: function () {
2697
+ aam.notification('danger', aam.__('Application Error'));
2698
+ },
2699
+ complete: function() {
2700
+ $('#subscribe i').attr('class', 'icon-rss');
2701
+ }
2702
+ });
2703
+ }
2704
+ });
2705
+
2706
  })(jQuery);
readme.txt CHANGED
@@ -2,8 +2,8 @@
2
  Contributors: vasyltech
3
  Tags: access, role, user, capability, page access, post access, security, login redirect, brute force attack, double authentication, membership, backend lockdown, wp-admin, 404, activity tracking
4
  Requires at least: 3.8
5
- Tested up to: 4.7.5
6
- Stable tag: 4.7.5
7
 
8
  Manage access to your website for any user, role or visitors for both frontend and backend.
9
 
@@ -110,6 +110,14 @@ Check our [help page](https://aamplugin.com/help) to find out more about AAM.
110
 
111
  == Changelog ==
112
 
 
 
 
 
 
 
 
 
113
  = 4.7.5 =
114
  * Improved Utilities tab
115
  * Fixed bug with post search and archive pages
2
  Contributors: vasyltech
3
  Tags: access, role, user, capability, page access, post access, security, login redirect, brute force attack, double authentication, membership, backend lockdown, wp-admin, 404, activity tracking
4
  Requires at least: 3.8
5
+ Tested up to: 4.8
6
+ Stable tag: 4.7.6
7
 
8
  Manage access to your website for any user, role or visitors for both frontend and backend.
9
 
110
 
111
  == Changelog ==
112
 
113
+ = 4.8 =
114
+ * Fix the bug with Media access control reported by Antonius Hegyes
115
+
116
+ = 4.7.6 =
117
+ * Added ability to hide admin notification with show_admin_notices capability
118
+ * Added ability to subscribe to the AAM updates
119
+ * Updated refund policy term
120
+
121
  = 4.7.5 =
122
  * Improved Utilities tab
123
  * Fixed bug with post search and archive pages