Advanced Access Manager - Version 5.3.1

Version Description

  • Fixed bug with deprecated cache object to keep it backward compatible
  • Fixed bug with teaser message on none latin alphabet
  • Improved REDIRECT functionality for Posts & Terms feature
  • Added finally singe point API (AAM::api method)
  • Added "Single Session" option to the Secure Login widget
  • Added more localization string to the AAM *.po file
  • Standardized AAM core settings names
  • Standardized REST API error codes
Download this release

Release Info

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

Code changes from version 5.3 to 5.3.1

Files changed (56) hide show
  1. Application/Api/Manager.php +1 -1
  2. Application/Api/Rest/Resource/Post.php +46 -60
  3. Application/Backend/Feature/Main/Capability.php +2 -4
  4. Application/Backend/Feature/Main/Menu.php +1 -1
  5. Application/Backend/Feature/Main/Metabox.php +3 -5
  6. Application/Backend/Feature/Main/Post.php +24 -15
  7. Application/Backend/Feature/Main/Redirect.php +1 -1
  8. Application/Backend/Feature/Main/Route.php +10 -2
  9. Application/Backend/Feature/Settings/Content.php +8 -8
  10. Application/Backend/Feature/Settings/Core.php +25 -25
  11. Application/Backend/Feature/Settings/Tools.php +1 -1
  12. Application/Backend/Feature/Subject/User.php +1 -1
  13. Application/Backend/Filter.php +4 -4
  14. Application/Backend/Manager.php +46 -14
  15. Application/Backend/View/PostOptionList.php +3 -3
  16. Application/Backend/Widget/Login.php +8 -0
  17. Application/Backend/phtml/index.phtml +3 -3
  18. Application/Backend/phtml/main-panel.phtml +0 -1
  19. Application/Backend/phtml/main/login-redirect.phtml +39 -39
  20. Application/Backend/phtml/main/post.phtml +2 -2
  21. Application/Backend/phtml/main/redirect.phtml +2 -2
  22. Application/Backend/phtml/metabox/metabox-content.phtml +1 -1
  23. Application/Backend/phtml/partial/post-access-form.phtml +3 -3
  24. Application/Backend/phtml/partial/post-advanced-settings.phtml +39 -5
  25. Application/Backend/phtml/widget/login-backend.phtml +8 -2
  26. Application/Backend/phtml/widget/login-frontend.phtml +8 -8
  27. Application/Core/API.php +2 -2
  28. Application/Core/Cache.php +6 -0
  29. Application/Core/Compatibility.php +86 -22
  30. Application/Core/Config.php +3 -3
  31. Application/Core/Contract/Api.php +18 -0
  32. Application/Core/Contract/Object.php +18 -0
  33. Application/Core/Contract/Subject.php +18 -0
  34. Application/Core/Exporter.php +2 -2
  35. Application/Core/Gateway.php +236 -0
  36. Application/Core/Importer.php +1 -1
  37. Application/Core/JwtAuth.php +2 -2
  38. Application/Core/Login.php +22 -15
  39. Application/Core/Media.php +5 -5
  40. Application/Core/Object.php +1 -1
  41. Application/Core/Subject.php +1 -1
  42. Application/Core/Subject/User.php +1 -2
  43. Application/Extension/List.php +18 -9
  44. Application/Extension/Repository.php +14 -3
  45. Application/Frontend/Authorization.php +13 -3
  46. Application/Frontend/Filter.php +2 -2
  47. Application/Frontend/Manager.php +4 -4
  48. Application/Frontend/phtml/login.phtml +2 -2
  49. Application/Shared/Manager.php +3 -3
  50. Application/Shortcode/Strategy/Login.php +2 -2
  51. Lang/advanced-access-manager-en_US.mo +0 -0
  52. Lang/advanced-access-manager-en_US.po +548 -352
  53. Lang/advanced-access-manager.pot +548 -352
  54. aam.php +11 -3
  55. media/js/aam.js +31 -1
  56. readme.txt +11 -1
Application/Api/Manager.php CHANGED
@@ -67,7 +67,7 @@ class AAM_Api_Manager {
67
 
68
  // Check if user has ability to perform certain task based on provided
69
  // capability and meta data
70
- if (AAM_Core_Config::get('api-access-control', true)) {
71
  add_filter(
72
  'user_has_cap',
73
  array(AAM_Shared_Manager::getInstance(), 'userHasCap'),
67
 
68
  // Check if user has ability to perform certain task based on provided
69
  // capability and meta data
70
+ if (AAM_Core_Config::get('core.settings.apiAccessControl', true)) {
71
  add_filter(
72
  'user_has_cap',
73
  array(AAM_Shared_Manager::getInstance(), 'userHasCap'),
Application/Api/Rest/Resource/Post.php CHANGED
@@ -60,7 +60,7 @@ class AAM_Api_Rest_Resource_Post {
60
  }
61
  }
62
 
63
- return apply_filters('aam-rest-post-authorization', $result, $request);
64
  }
65
 
66
  /**
@@ -77,10 +77,7 @@ class AAM_Api_Rest_Resource_Post {
77
  * @access protected
78
  */
79
  protected function authorizeRead(AAM_Core_Object_Post $post, $request) {
80
- $result = null;
81
-
82
- //TODO: remove pipeline filter for all methods
83
- $steps = apply_filters('aam-post-read-auth-pipeline-filter', array(
84
  // Step #1. Check if access expired to the post
85
  array($this, 'checkExpiration'),
86
  // Step #2. Check if user has access to read the post
@@ -91,22 +88,9 @@ class AAM_Api_Rest_Resource_Post {
91
  array($this, 'checkRedirect'),
92
  // Step #5. Check if post is password protected
93
  array($this, 'checkPassword')
94
- ));
95
 
96
- if (is_array($steps)) {
97
- foreach($steps as $callback) {
98
- $result = call_user_func_array($callback, array($post, $request));
99
-
100
- if (is_wp_error($result)) { break; }
101
- }
102
- } else {
103
- $result = new WP_Error(
104
- 'application_error',
105
- "aam-post-read-auth-steps-filter was not utilized properly"
106
- );
107
- }
108
-
109
- return $result;
110
  }
111
 
112
  /**
@@ -115,27 +99,12 @@ class AAM_Api_Rest_Resource_Post {
115
  * @return type
116
  */
117
  protected function authorizeUpdate(AAM_Core_Object_Post $post) {
118
- $result = null;
119
-
120
- $steps = apply_filters('aam-post-update-auth-pipeline-filter', array(
121
  // Step #1. Check if edit action is alloed
122
  array($this, 'checkUpdate'),
123
- ));
124
-
125
- if (is_array($steps)) {
126
- foreach($steps as $callback) {
127
- $result = call_user_func_array($callback, array($post));
128
-
129
- if (is_wp_error($result)) { break; }
130
- }
131
- } else {
132
- $result = new WP_Error(
133
- 'application_error',
134
- "aam-post-update-auth-steps-filter was not utilized properly"
135
- );
136
- }
137
 
138
- return $result;
139
  }
140
 
141
  /**
@@ -144,24 +113,26 @@ class AAM_Api_Rest_Resource_Post {
144
  * @return type
145
  */
146
  protected function authorizeDelete(AAM_Core_Object_Post $post) {
147
- $result = null;
148
-
149
- $steps = apply_filters('aam-post-delete-auth-steps-filter', array(
150
  // Step #1. Check if edit action is alloed
151
  array($this, 'checkDelete'),
152
- ));
153
 
154
- if (is_array($steps)) {
155
- foreach($steps as $callback) {
156
- $result = call_user_func_array($callback, array($post));
157
-
158
- if (is_wp_error($result)) { break; }
159
- }
160
- } else {
161
- $result = new WP_Error(
162
- 'application_error',
163
- "aam-post-delete-auth-steps-filter was not utilized properly"
164
- );
 
 
 
 
165
  }
166
 
167
  return $result;
@@ -211,7 +182,7 @@ class AAM_Api_Rest_Resource_Post {
211
 
212
  if ($read || ($others && ($post->post_author != get_current_user_id()))) {
213
  $result = new WP_Error(
214
- 'rest_cannot_read',
215
  "User is unauthorized to read the post. Access denied.",
216
  array(
217
  'action' => 'api.read',
@@ -243,7 +214,7 @@ class AAM_Api_Rest_Resource_Post {
243
 
244
  if ($counter >= $post->get('api.access_counter_limit')) {
245
  $result = new WP_Error(
246
- 'rest_cannot_read',
247
  "User exceeded allowed read number. Access denied.",
248
  array(
249
  'action' => 'api.access_counter',
@@ -271,12 +242,26 @@ class AAM_Api_Rest_Resource_Post {
271
  $result = null;
272
 
273
  if ($post->has('api.redirect')) {
 
 
 
 
 
 
 
 
 
 
 
 
 
 
274
  $result = new WP_Error(
275
- 'rest_cannot_read',
276
  "Direct access is not allowed. Follow the redirect link.",
277
  array(
278
  'action' => 'api.redirect',
279
- 'redirect' => $post->get('api.location'),
280
  'status' => 307
281
  )
282
  );
@@ -308,7 +293,7 @@ class AAM_Api_Rest_Resource_Post {
308
  if ($pass != $request['password']
309
  && !$hasher->CheckPassword($pass, $request['password'])) {
310
  $result = new WP_Error(
311
- 'rest_cannot_read',
312
  "The content is password protected. Provide valid password to read.",
313
  array(
314
  'action' => 'api.protected',
@@ -343,7 +328,7 @@ class AAM_Api_Rest_Resource_Post {
343
 
344
  if ($edit || ($others && ($post->post_author != get_current_user_id()))) {
345
  $result = new WP_Error(
346
- 'rest_cannot_update',
347
  "User is unauthorized to update the post. Access denied.",
348
  array(
349
  'action' => 'api.edit',
@@ -372,7 +357,7 @@ class AAM_Api_Rest_Resource_Post {
372
 
373
  if ($delete || ($others && ($post->post_author != get_current_user_id()))) {
374
  $result = new WP_Error(
375
- 'rest_cannot_delete',
376
  "User is unauthorized to delete the post. Access denied.",
377
  array(
378
  'action' => 'api.delete',
@@ -410,4 +395,5 @@ class AAM_Api_Rest_Resource_Post {
410
 
411
  return self::$_instance;
412
  }
 
413
  }
60
  }
61
  }
62
 
63
+ return $result;
64
  }
65
 
66
  /**
77
  * @access protected
78
  */
79
  protected function authorizeRead(AAM_Core_Object_Post $post, $request) {
80
+ $steps = array(
 
 
 
81
  // Step #1. Check if access expired to the post
82
  array($this, 'checkExpiration'),
83
  // Step #2. Check if user has access to read the post
88
  array($this, 'checkRedirect'),
89
  // Step #5. Check if post is password protected
90
  array($this, 'checkPassword')
91
+ );
92
 
93
+ return $this->processPipeline($steps, $post, $request);
 
 
 
 
 
 
 
 
 
 
 
 
 
94
  }
95
 
96
  /**
99
  * @return type
100
  */
101
  protected function authorizeUpdate(AAM_Core_Object_Post $post) {
102
+ $steps = array(
 
 
103
  // Step #1. Check if edit action is alloed
104
  array($this, 'checkUpdate'),
105
+ );
 
 
 
 
 
 
 
 
 
 
 
 
 
106
 
107
+ return $this->processPipeline($steps, $post);
108
  }
109
 
110
  /**
113
  * @return type
114
  */
115
  protected function authorizeDelete(AAM_Core_Object_Post $post) {
116
+ $steps = array(
 
 
117
  // Step #1. Check if edit action is alloed
118
  array($this, 'checkDelete'),
119
+ );
120
 
121
+ return $this->processPipeline($steps, $post);
122
+ }
123
+
124
+ /**
125
+ *
126
+ * @param array $pipeline
127
+ * @param type $post
128
+ * @param type $request
129
+ * @return type
130
+ */
131
+ protected function processPipeline(array $pipeline, $post, $request = null) {
132
+ foreach($pipeline as $callback) {
133
+ $result = call_user_func_array($callback, array($post, $request));
134
+
135
+ if (is_wp_error($result)) { break; }
136
  }
137
 
138
  return $result;
182
 
183
  if ($read || ($others && ($post->post_author != get_current_user_id()))) {
184
  $result = new WP_Error(
185
+ 'rest_post_cannot_read',
186
  "User is unauthorized to read the post. Access denied.",
187
  array(
188
  'action' => 'api.read',
214
 
215
  if ($counter >= $post->get('api.access_counter_limit')) {
216
  $result = new WP_Error(
217
+ 'rest_post_cannot_read',
218
  "User exceeded allowed read number. Access denied.",
219
  array(
220
  'action' => 'api.access_counter',
242
  $result = null;
243
 
244
  if ($post->has('api.redirect')) {
245
+ $rule = explode('|', $post->get('api.location'));
246
+
247
+ if (count($rule) == 1) { // TODO: legacy. Remove in Jul 2020
248
+ $redirect = $rule[0];
249
+ } elseif ($rule[0] == 'page') {
250
+ $redirect = get_page_link($rule[1]);
251
+ } elseif ($rule[0] == 'url') {
252
+ $redirect = $rule[1];
253
+ } elseif (($rule[0] == 'callback') && is_callable($rule[1])) {
254
+ $redirect = call_user_func($rule[1], $post);
255
+ } else {
256
+ $redirect = null;
257
+ }
258
+
259
  $result = new WP_Error(
260
+ 'rest_post_cannot_read',
261
  "Direct access is not allowed. Follow the redirect link.",
262
  array(
263
  'action' => 'api.redirect',
264
+ 'redirect' => $redirect,
265
  'status' => 307
266
  )
267
  );
293
  if ($pass != $request['password']
294
  && !$hasher->CheckPassword($pass, $request['password'])) {
295
  $result = new WP_Error(
296
+ 'rest_post_cannot_read',
297
  "The content is password protected. Provide valid password to read.",
298
  array(
299
  'action' => 'api.protected',
328
 
329
  if ($edit || ($others && ($post->post_author != get_current_user_id()))) {
330
  $result = new WP_Error(
331
+ 'rest_post_cannot_update',
332
  "User is unauthorized to update the post. Access denied.",
333
  array(
334
  'action' => 'api.edit',
357
 
358
  if ($delete || ($others && ($post->post_author != get_current_user_id()))) {
359
  $result = new WP_Error(
360
+ 'rest_post_cannot_delete',
361
  "User is unauthorized to delete the post. Access denied.",
362
  array(
363
  'action' => 'api.delete',
395
 
396
  return self::$_instance;
397
  }
398
+
399
  }
Application/Backend/Feature/Main/Capability.php CHANGED
@@ -150,15 +150,13 @@ class AAM_Backend_Feature_Main_Capability extends AAM_Backend_Feature_Abstract {
150
  $actions[] = ($subject->hasCapability($cap) ? 'checked' : 'unchecked');
151
 
152
  //allow to delete or update capability only for roles!
153
- if (AAM_Core_Config::get('manage-capability', false)
154
  && ($subject->getUID() == AAM_Core_Subject_Role::UID)) {
155
  $actions[] = 'edit';
156
  $actions[] = 'delete';
157
  }
158
 
159
- return implode(
160
- ',', apply_filters('aam-cap-row-actions-filter', $actions, $subject)
161
- );
162
  }
163
 
164
  /**
150
  $actions[] = ($subject->hasCapability($cap) ? 'checked' : 'unchecked');
151
 
152
  //allow to delete or update capability only for roles!
153
+ if (AAM_Core_Config::get('core.settings.editCapabilities', false)
154
  && ($subject->getUID() == AAM_Core_Subject_Role::UID)) {
155
  $actions[] = 'edit';
156
  $actions[] = 'delete';
157
  }
158
 
159
+ return implode(',', $actions);
 
 
160
  }
161
 
162
  /**
Application/Backend/Feature/Main/Menu.php CHANGED
@@ -202,7 +202,7 @@ class AAM_Backend_Feature_Main_Menu extends AAM_Backend_Feature_Abstract {
202
  AAM_Core_Subject_User::UID,
203
  AAM_Core_Subject_Default::UID
204
  ),
205
- 'option' => 'backend-access-control',
206
  'view' => __CLASS__
207
  ));
208
  }
202
  AAM_Core_Subject_User::UID,
203
  AAM_Core_Subject_Default::UID
204
  ),
205
+ 'option' => 'core.settings.backendAccessControl',
206
  'view' => __CLASS__
207
  ));
208
  }
Application/Backend/Feature/Main/Metabox.php CHANGED
@@ -73,13 +73,11 @@ class AAM_Backend_Feature_Main_Metabox extends AAM_Backend_Feature_Abstract {
73
  * @return type
74
  */
75
  protected function addHttpPasswd($url) {
76
- $htpasswd = AAM_Core_Config::get('htpasswd');
77
 
78
  if (!empty($htpasswd['user']) && !empty($htpasswd['pass'])) {
79
  $url = preg_replace(
80
- '/^(http[s]?:\/\/)/',
81
- "$1{$htpasswd['user']}:{$htpasswd['pass']}@",
82
- $url
83
  );
84
  }
85
 
@@ -247,7 +245,7 @@ class AAM_Backend_Feature_Main_Metabox extends AAM_Backend_Feature_Abstract {
247
  AAM_Core_Subject_Visitor::UID,
248
  AAM_Core_Subject_Default::UID
249
  ),
250
- 'option' => 'backend-access-control',
251
  'view' => __CLASS__
252
  ));
253
  }
73
  * @return type
74
  */
75
  protected function addHttpPasswd($url) {
76
+ $htpasswd = AAM_Core_Config::get('feature.metabox.htpasswd');
77
 
78
  if (!empty($htpasswd['user']) && !empty($htpasswd['pass'])) {
79
  $url = preg_replace(
80
+ '/^(http[s]?:\/\/)/', "$1{$htpasswd['user']}:{$htpasswd['pass']}@", $url
 
 
81
  );
82
  }
83
 
245
  AAM_Core_Subject_Visitor::UID,
246
  AAM_Core_Subject_Default::UID
247
  ),
248
+ 'option' => 'core.settings.backendAccessControl',
249
  'view' => __CLASS__
250
  ));
251
  }
Application/Backend/Feature/Main/Post.php CHANGED
@@ -51,11 +51,7 @@ class AAM_Backend_Feature_Main_Post extends AAM_Backend_Feature_Abstract {
51
 
52
  foreach ($list->records as $type) {
53
  $response['data'][] = array(
54
- $type->name,
55
- null,
56
- 'type',
57
- $type->labels->name,
58
- apply_filters('aam-type-row-actions-filter', 'drilldown,manage', $type)
59
  );
60
  }
61
 
@@ -74,7 +70,7 @@ class AAM_Backend_Feature_Main_Post extends AAM_Backend_Feature_Abstract {
74
  $s = AAM_Core_Request::post('search.value');
75
  $length = AAM_Core_Request::post('length');
76
  $start = AAM_Core_Request::post('start');
77
- $all = AAM_Core_Config::get('manage-hidden-post-types', false);
78
 
79
  foreach (get_post_types(array(), 'objects') as $type) {
80
  if (($all || $type->public)
@@ -117,11 +113,7 @@ class AAM_Backend_Feature_Main_Post extends AAM_Backend_Feature_Abstract {
117
  $link,
118
  'post',
119
  get_the_title($record),
120
- apply_filters(
121
- 'aam-post-row-actions-filter',
122
- 'manage' . ($link ? ',edit' : ''),
123
- $record
124
- ),
125
  //get_post_permalink($record)
126
  );
127
  } else { //term
@@ -130,7 +122,7 @@ class AAM_Backend_Feature_Main_Post extends AAM_Backend_Feature_Abstract {
130
  get_edit_term_link($record->term_id, $record->taxonomy),
131
  'term',
132
  $record->name,
133
- apply_filters('aam-term-row-actions-filter', 'manage,edit', $record)
134
  );
135
  }
136
  }
@@ -403,8 +395,25 @@ class AAM_Backend_Feature_Main_Post extends AAM_Backend_Feature_Abstract {
403
  protected function getPreviewValue($option, $val) {
404
  switch($option) {
405
  case 'frontend.teaser':
406
- $str = strip_tags($val);
407
- $preview = (strlen($str) > 25 ? substr($str, 0, 22) . '...' : $str);
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
408
  break;
409
 
410
  default:
@@ -571,7 +580,7 @@ class AAM_Backend_Feature_Main_Post extends AAM_Backend_Feature_Abstract {
571
  AAM_Core_Subject_Visitor::UID,
572
  AAM_Core_Subject_Default::UID
573
  ),
574
- 'option' => 'backend-access-control,frontend-access-control',
575
  'view' => __CLASS__
576
  ));
577
  }
51
 
52
  foreach ($list->records as $type) {
53
  $response['data'][] = array(
54
+ $type->name, null, 'type', $type->labels->name, 'drilldown,manage'
 
 
 
 
55
  );
56
  }
57
 
70
  $s = AAM_Core_Request::post('search.value');
71
  $length = AAM_Core_Request::post('length');
72
  $start = AAM_Core_Request::post('start');
73
+ $all = AAM_Core_Config::get('core.settings.manageHiddenPostTypes', false);
74
 
75
  foreach (get_post_types(array(), 'objects') as $type) {
76
  if (($all || $type->public)
113
  $link,
114
  'post',
115
  get_the_title($record),
116
+ 'manage' . ($link ? ',edit' : ''),
 
 
 
 
117
  //get_post_permalink($record)
118
  );
119
  } else { //term
122
  get_edit_term_link($record->term_id, $record->taxonomy),
123
  'term',
124
  $record->name,
125
+ 'manage,edit',
126
  );
127
  }
128
  }
395
  protected function getPreviewValue($option, $val) {
396
  switch($option) {
397
  case 'frontend.teaser':
398
+ $str = strip_tags($val);
399
+ if (function_exists('mb_strlen')) {
400
+ $preview = (mb_strlen($str) > 25 ? mb_substr($str, 0, 22) . '...' : $str);
401
+ } else {
402
+ $preview = (strlen($str) > 25 ? substr($str, 0, 22) . '...' : $str);
403
+ }
404
+ break;
405
+
406
+ case 'frontend.location':
407
+ if (!empty($val)) {
408
+ $chunks = explode('|', $val);
409
+ if ($chunks[0] == 'page') {
410
+ $preview = __('Existing Page', AAM_KEY);
411
+ } elseif ($chunks[0] == 'url') {
412
+ $preview = __('Valid URL', AAM_KEY);
413
+ } elseif ($chunks[0] == 'callback') {
414
+ $preview = __('Custom Callback', AAM_KEY);
415
+ }
416
+ }
417
  break;
418
 
419
  default:
580
  AAM_Core_Subject_Visitor::UID,
581
  AAM_Core_Subject_Default::UID
582
  ),
583
+ 'option' => 'core.settings.backendAccessControl,core.settings.frontendAccessControl',
584
  'view' => __CLASS__
585
  ));
586
  }
Application/Backend/Feature/Main/Redirect.php CHANGED
@@ -89,7 +89,7 @@ class AAM_Backend_Feature_Main_Redirect extends AAM_Backend_Feature_Abstract {
89
  AAM_Core_Subject_Visitor::UID,
90
  AAM_Core_Subject_Default::UID
91
  ),
92
- 'option' => 'backend-access-control,frontend-access-control',
93
  'view' => __CLASS__
94
  ));
95
  }
89
  AAM_Core_Subject_Visitor::UID,
90
  AAM_Core_Subject_Default::UID
91
  ),
92
+ 'option' => 'core.settings.backendAccessControl,core.settings.frontendAccessControl',
93
  'view' => __CLASS__
94
  ));
95
  }
Application/Backend/Feature/Main/Route.php CHANGED
@@ -15,12 +15,20 @@
15
  */
16
  class AAM_Backend_Feature_Main_Route extends AAM_Backend_Feature_Abstract {
17
 
 
 
 
 
18
  public function getTable() {
19
  $response = array('data' => $this->retrieveAllRoutes());
20
 
21
  return json_encode($response);
22
  }
23
 
 
 
 
 
24
  public function save() {
25
  $type = filter_input(INPUT_POST, 'type');
26
  $route = filter_input(INPUT_POST, 'route');
@@ -50,7 +58,7 @@ class AAM_Backend_Feature_Main_Route extends AAM_Backend_Feature_Abstract {
50
  $object = AAM_Backend_Subject::getInstance()->getObject('route');
51
  $routes = rest_get_server()->get_routes();
52
 
53
- //build all RESful routes
54
  foreach ($routes as $route => $handlers) {
55
  $methods = array();
56
  foreach($handlers as $handler) {
@@ -105,7 +113,7 @@ class AAM_Backend_Feature_Main_Route extends AAM_Backend_Feature_Abstract {
105
  AAM_Core_Subject_Visitor::UID,
106
  AAM_Core_Subject_Default::UID
107
  ),
108
- 'option' => 'core.restful',
109
  'view' => __CLASS__
110
  ));
111
  }
15
  */
16
  class AAM_Backend_Feature_Main_Route extends AAM_Backend_Feature_Abstract {
17
 
18
+ /**
19
+ *
20
+ * @return type
21
+ */
22
  public function getTable() {
23
  $response = array('data' => $this->retrieveAllRoutes());
24
 
25
  return json_encode($response);
26
  }
27
 
28
+ /**
29
+ *
30
+ * @return type
31
+ */
32
  public function save() {
33
  $type = filter_input(INPUT_POST, 'type');
34
  $route = filter_input(INPUT_POST, 'route');
58
  $object = AAM_Backend_Subject::getInstance()->getObject('route');
59
  $routes = rest_get_server()->get_routes();
60
 
61
+ //build all RESTful routes
62
  foreach ($routes as $route => $handlers) {
63
  $methods = array();
64
  foreach($handlers as $handler) {
113
  AAM_Core_Subject_Visitor::UID,
114
  AAM_Core_Subject_Default::UID
115
  ),
116
+ 'option' => 'core.settings.restful',
117
  'view' => __CLASS__
118
  ));
119
  }
Application/Backend/Feature/Settings/Content.php CHANGED
@@ -28,20 +28,20 @@ class AAM_Backend_Feature_Settings_Content extends AAM_Backend_Feature_Abstract
28
  */
29
  protected function getList() {
30
  $settings = array(
31
- 'media-access-control' => array(
32
  'title' => __('Media Files Access Control', AAM_KEY),
33
  'descr' => sprintf(AAM_Backend_View_Helper::preparePhrase('Allow AAM to manage a physically access to all media files located in the defined by the system [uploads] folder. [Note!] This feature requires additional steps as described in %sthis article%s.', 'strong', 'strong'), '<a href="https://aamplugin.com/help/how-to-manage-wordpress-media-access" target="_blank">', '</a>'),
34
- 'value' => AAM_Core_Config::get('media-access-control', false)
35
  ),
36
- 'check-post-visibility' => array(
37
  'title' => __('Check Post Visibility', AAM_KEY),
38
- 'descr' => __('For performance reasons, keep this option uncheck if do not use LIST or LIST TO OTHERS access options on Posts & Pages tab. When it is checked, AAM will filter list of posts that are hidden for a user on both frontend and backend.', AAM_KEY),
39
- 'value' => AAM_Core_Config::get('check-post-visibility', true)
40
  ),
41
- 'manage-hidden-post-types' => array(
42
  'title' => __('Manage Hidden Post Types', AAM_KEY),
43
- 'descr' => __('By default AAM allows you to manage access only to public post types on Posts & Pages tab. By enabling this feature, you also will be able to manage access to hidden post types like revisions, navigation menus or any other custom post types that are not registered as public.', AAM_KEY),
44
- 'value' => AAM_Core_Config::get('manage-hidden-post-types', false)
45
  )
46
  );
47
 
28
  */
29
  protected function getList() {
30
  $settings = array(
31
+ 'core.settings.mediaAccessControl' => array(
32
  'title' => __('Media Files Access Control', AAM_KEY),
33
  'descr' => sprintf(AAM_Backend_View_Helper::preparePhrase('Allow AAM to manage a physically access to all media files located in the defined by the system [uploads] folder. [Note!] This feature requires additional steps as described in %sthis article%s.', 'strong', 'strong'), '<a href="https://aamplugin.com/help/how-to-manage-wordpress-media-access" target="_blank">', '</a>'),
34
+ 'value' => AAM_Core_Config::get('core.settings.mediaAccessControl', false)
35
  ),
36
+ 'core.settings.checkPostVisibility' => array(
37
  'title' => __('Check Post Visibility', AAM_KEY),
38
+ 'descr' => __('For performance reasons, keep this option disabled if do not use LIST or LIST TO OTHERS access options on Posts & Terms tab. When it is checked, AAM will filter list of posts that are hidden for a user on frontend, backend and API calls.', AAM_KEY),
39
+ 'value' => AAM_Core_Config::get('core.settings.checkPostVisibility', true)
40
  ),
41
+ 'core.settings.manageHiddenPostTypes' => array(
42
  'title' => __('Manage Hidden Post Types', AAM_KEY),
43
+ 'descr' => __('By default AAM allows you to manage access only to public post types on Posts & Terms tab. By enabling this feature, you also will be able to manage access to hidden post types like revisions, navigation menus or any other custom post types that are not registered as public.', AAM_KEY),
44
+ 'value' => AAM_Core_Config::get('core.settings.manageHiddenPostTypes', false)
45
  )
46
  );
47
 
Application/Backend/Feature/Settings/Core.php CHANGED
@@ -28,55 +28,55 @@ class AAM_Backend_Feature_Settings_Core extends AAM_Backend_Feature_Abstract {
28
  */
29
  protected function getList() {
30
  $settings = array(
31
- 'manage-capability' => array(
32
  'title' => __('Edit/Delete Capabilities', AAM_KEY),
33
- 'descr' => AAM_Backend_View_Helper::preparePhrase('Allow to edit or delete any existing capability on the Capabilities tab. [Warning!] For experienced users only. Changing or deleting capability may result in loosing access to some features or the entire website.', 'b'),
34
- 'value' => AAM_Core_Config::get('manage-capability', false)
35
  ),
36
- 'backend-access-control' => array(
37
  'title' => __('Backend Access Control', AAM_KEY),
38
- 'descr' => __('Allow AAM to manage access to the backend. Keep this option disabled if there is no needs to restrict backend features for other users. This option may reduce your website backend performance.', AAM_KEY),
39
- 'value' => AAM_Core_Config::get('backend-access-control', true)
40
  ),
41
- 'frontend-access-control' => array(
42
  'title' => __('Frontend Access Control', AAM_KEY),
43
- 'descr' => __('Allow AAM to manage access to frontend resources. If there is no need to manage access to the website frontend then keep this option unchecked as it may increase your webiste performance.', AAM_KEY),
44
- 'value' => AAM_Core_Config::get('frontend-access-control', true)
45
  ),
46
- 'api-access-control' => array(
47
  'title' => __('API Access Control', AAM_KEY),
48
- 'descr' => __('Allow AAM to manage access to the website resources that are invoked with WordPress core API (currently only for RESTful API). If there is no need to manage access to the website API then keep this option unchecked as it may increase your webiste performance.', AAM_KEY),
49
- 'value' => AAM_Core_Config::get('api-access-control', true)
50
  ),
51
- 'render-access-metabox' => array(
52
  'title' => __('Render Access Manager Metabox', AAM_KEY),
53
- 'descr' => __('Render Access Manager metabox on all post and category edit pages. Access Manager metabox is the quick way to manage access to any post or category without leaving an edit page.', AAM_KEY),
54
- 'value' => AAM_Core_Config::get('render-access-metabox', true),
55
  ),
56
- 'show-access-link' => array(
57
  'title' => __('Render Access Link', AAM_KEY),
58
  'descr' => __('Render Access shortcut link under any post, page, custom post type, category, custom taxonomy title or user name.', AAM_KEY),
59
- 'value' => AAM_Core_Config::get('show-access-link', true),
60
  ),
61
- 'secure-login' => array(
62
  'title' => __('Secure Login', AAM_KEY),
63
  'descr' => __('AAM comes with its own user login handler. With this feature you can add AJAX login widget to your frontend page that significantly enhance your website security.', AAM_KEY),
64
- 'value' => AAM_Core_Config::get('secure-login', true)
65
  ),
66
- 'core.xmlrpc' => array(
67
  'title' => __('XML-RPC WordPress API', AAM_KEY),
68
  'descr' => sprintf(AAM_Backend_View_Helper::preparePhrase('Remote procedure call (RPC) interface is used to manage WordPress website content and features. For more information check %sXML-RPC Support%s article.', 'b'), '<a href="https://codex.wordpress.org/XML-RPC_Support">', '</a>'),
69
- 'value' => AAM_Core_Config::get('core.xmlrpc', true)
70
  ),
71
- 'core.restful' => array(
72
  'title' => __('RESTful WordPress API', AAM_KEY),
73
  'descr' => sprintf(AAM_Backend_View_Helper::preparePhrase('RESTful interface that is used to manage WordPress website content and features. For more information check %sREST API handbook%s.', 'b'), '<a href="https://developer.wordpress.org/rest-api/">', '</a>'),
74
- 'value' => AAM_Core_Config::get('core.restful', true)
75
  ),
76
- 'jwt-authentication' => array(
77
  'title' => __('JWT Authentication', AAM_KEY),
78
  'descr' => sprintf(AAM_Backend_View_Helper::preparePhrase('[Note!] PHP 5.4 or higher is required for this feature. Enable the ability to authenticate user with WordPress RESTful API and JWT token. For more information, check %sHow to authenticate WordPress user with JWT token%s article', 'b'), '<a href="https://aamplugin.com/help/how-to-authenticate-wordpress-user-with-jwt-token">', '</a>'),
79
- 'value' => AAM_Core_Config::get('jwt-authentication', false)
80
  )
81
  );
82
 
28
  */
29
  protected function getList() {
30
  $settings = array(
31
+ 'core.settings.editCapabilities' => array(
32
  'title' => __('Edit/Delete Capabilities', AAM_KEY),
33
+ 'descr' => AAM_Backend_View_Helper::preparePhrase('Allow to edit or delete any existing capability on the Capabilities tab. [Warning!] For experienced users only. Changing or deleting capability may result in loosing access to some features or even the entire website.', 'b'),
34
+ 'value' => AAM_Core_Config::get('core.settings.editCapabilities', false)
35
  ),
36
+ 'core.settings.backendAccessControl' => array(
37
  'title' => __('Backend Access Control', AAM_KEY),
38
+ 'descr' => __('Allow AAM to manage access to the backend. Note! Keep this option disabled if there is no needs to restrict backend features for other users.', AAM_KEY),
39
+ 'value' => AAM_Core_Config::get('core.settings.backendAccessControl', true)
40
  ),
41
+ 'core.settings.frontendAccessControl' => array(
42
  'title' => __('Frontend Access Control', AAM_KEY),
43
+ 'descr' => __('Allow AAM to manage access to the frontend. Note! Keep this option disabled if there is no needs to restrict frontend resources for users and visitors.', AAM_KEY),
44
+ 'value' => AAM_Core_Config::get('core.settings.frontendAccessControl', true)
45
  ),
46
+ 'core.settings.apiAccessControl' => array(
47
  'title' => __('API Access Control', AAM_KEY),
48
+ 'descr' => __('Allow AAM to manage access to the website resources that are invoked with WordPress core APIs (currently only for RESTful API). Note! Keep this option disabled if there is no needs to restrict API access.', AAM_KEY),
49
+ 'value' => AAM_Core_Config::get('core.settings.apiAccessControl', true)
50
  ),
51
+ 'ui.settings.renderAccessMetabox' => array(
52
  'title' => __('Render Access Manager Metabox', AAM_KEY),
53
+ 'descr' => __('Render Access Manager metabox on all post and term edit pages. Access Manager metabox is the quick way to manage access to any post or term without leaving an edit page.', AAM_KEY),
54
+ 'value' => AAM_Core_Config::get('ui.settings.renderAccessMetabox', true),
55
  ),
56
+ 'ui.settings.renderAccessActionLink' => array(
57
  'title' => __('Render Access Link', AAM_KEY),
58
  'descr' => __('Render Access shortcut link under any post, page, custom post type, category, custom taxonomy title or user name.', AAM_KEY),
59
+ 'value' => AAM_Core_Config::get('ui.settings.renderAccessActionLink', true),
60
  ),
61
+ 'core.settings.secureLogin' => array(
62
  'title' => __('Secure Login', AAM_KEY),
63
  'descr' => __('AAM comes with its own user login handler. With this feature you can add AJAX login widget to your frontend page that significantly enhance your website security.', AAM_KEY),
64
+ 'value' => AAM_Core_Config::get('core.settings.secureLogin', true)
65
  ),
66
+ 'core.settings.xmlrpc' => array(
67
  'title' => __('XML-RPC WordPress API', AAM_KEY),
68
  'descr' => sprintf(AAM_Backend_View_Helper::preparePhrase('Remote procedure call (RPC) interface is used to manage WordPress website content and features. For more information check %sXML-RPC Support%s article.', 'b'), '<a href="https://codex.wordpress.org/XML-RPC_Support">', '</a>'),
69
+ 'value' => AAM_Core_Config::get('core.settings.xmlrpc', true)
70
  ),
71
+ 'core.settings.restful' => array(
72
  'title' => __('RESTful WordPress API', AAM_KEY),
73
  'descr' => sprintf(AAM_Backend_View_Helper::preparePhrase('RESTful interface that is used to manage WordPress website content and features. For more information check %sREST API handbook%s.', 'b'), '<a href="https://developer.wordpress.org/rest-api/">', '</a>'),
74
+ 'value' => AAM_Core_Config::get('core.settings.restful', true)
75
  ),
76
+ 'core.settings.jwtAuthentication' => array(
77
  'title' => __('JWT Authentication', AAM_KEY),
78
  'descr' => sprintf(AAM_Backend_View_Helper::preparePhrase('[Note!] PHP 5.4 or higher is required for this feature. Enable the ability to authenticate user with WordPress RESTful API and JWT token. For more information, check %sHow to authenticate WordPress user with JWT token%s article', 'b'), '<a href="https://aamplugin.com/help/how-to-authenticate-wordpress-user-with-jwt-token">', '</a>'),
79
+ 'value' => AAM_Core_Config::get('core.settings.jwtAuthentication', false)
80
  )
81
  );
82
 
Application/Backend/Feature/Settings/Tools.php CHANGED
@@ -28,7 +28,7 @@ class AAM_Backend_Feature_Settings_Tools extends AAM_Backend_Feature_Abstract {
28
  */
29
  public function export() {
30
  $exporter = new AAM_Core_Exporter(AAM_Core_Config::get(
31
- 'export', array('system' => 'roles,utilities,configpress')
32
  ));
33
 
34
  return json_encode(array(
28
  */
29
  public function export() {
30
  $exporter = new AAM_Core_Exporter(AAM_Core_Config::get(
31
+ 'feature.export', array('system' => 'roles,utilities,configpress')
32
  ));
33
 
34
  return json_encode(array(
Application/Backend/Feature/Subject/User.php CHANGED
@@ -192,7 +192,7 @@ class AAM_Backend_Feature_Subject_User {
192
  if ($this->isAllowed($user) || ($user->ID == get_current_user_id())) {
193
  $actions = array('manage');
194
 
195
- if (AAM_Core_Config::get('secure-login', true)
196
  && current_user_can('aam_toggle_users')) {
197
  $actions[] = ($user->user_status ? 'unlock' : 'lock');
198
  }
192
  if ($this->isAllowed($user) || ($user->ID == get_current_user_id())) {
193
  $actions = array('manage');
194
 
195
+ if (AAM_Core_Config::get('core.settings.secureLogin', true)
196
  && current_user_can('aam_toggle_users')) {
197
  $actions[] = ($user->user_status ? 'unlock' : 'lock');
198
  }
Application/Backend/Filter.php CHANGED
@@ -59,7 +59,7 @@ class AAM_Backend_Filter {
59
  add_filter('pre_option_default_category', array($this, 'filterDefaultCategory'));
60
 
61
  //add post filter for LIST restriction
62
- if (!AAM::isAAM() && AAM_Core_Config::get('check-post-visibility', true)) {
63
  add_filter('found_posts', array($this, 'filterPostCount'), 999, 2);
64
  }
65
 
@@ -74,7 +74,7 @@ class AAM_Backend_Filter {
74
 
75
  // Check if user has ability to perform certain task based on provided
76
  // capability and meta data
77
- if (AAM_Core_Config::get('backend-access-control', true)) {
78
  add_filter(
79
  'user_has_cap',
80
  array(AAM_Shared_Manager::getInstance(), 'userHasCap'),
@@ -272,12 +272,12 @@ class AAM_Backend_Filter {
272
  if (is_null($default)) {
273
  //check if user category is defined
274
  $id = get_current_user_id();
275
- $default = AAM_Core_Config::get('default.category.user.' . $id , null);
276
  $roles = AAM::getUser()->roles;
277
 
278
  if (is_null($default) && count($roles)) {
279
  $default = AAM_Core_Config::get(
280
- 'default.category.role.' . array_shift($roles), false
281
  );
282
  }
283
  }
59
  add_filter('pre_option_default_category', array($this, 'filterDefaultCategory'));
60
 
61
  //add post filter for LIST restriction
62
+ if (!AAM::isAAM() && AAM_Core_Config::get('core.settings.checkPostVisibility', true)) {
63
  add_filter('found_posts', array($this, 'filterPostCount'), 999, 2);
64
  }
65
 
74
 
75
  // Check if user has ability to perform certain task based on provided
76
  // capability and meta data
77
+ if (AAM_Core_Config::get('core.settings.backendAccessControl', true)) {
78
  add_filter(
79
  'user_has_cap',
80
  array(AAM_Shared_Manager::getInstance(), 'userHasCap'),
272
  if (is_null($default)) {
273
  //check if user category is defined
274
  $id = get_current_user_id();
275
+ $default = AAM_Core_Config::get('feature.post.defaultTerm.user.' . $id , null);
276
  $roles = AAM::getUser()->roles;
277
 
278
  if (is_null($default) && count($roles)) {
279
  $default = AAM_Core_Config::get(
280
+ 'feature.post.defaultTerm.role.' . array_shift($roles), false
281
  );
282
  }
283
  }
Application/Backend/Manager.php CHANGED
@@ -67,7 +67,7 @@ class AAM_Backend_Manager {
67
  add_action('all_admin_notices', array($this, 'notification'));
68
  }
69
 
70
- if (AAM_Core_Config::get('render-access-metabox', true)) {
71
  add_action('edit_category_form_fields', array($this, 'renderTermMetabox'), 1);
72
  add_action('edit_link_category_form_fields', array($this, 'renderTermMetabox'), 1);
73
  add_action('edit_tag_form_fields', array($this, 'renderTermMetabox'), 1);
@@ -86,7 +86,7 @@ class AAM_Backend_Manager {
86
  //manager WordPress metaboxes
87
  add_action("in_admin_header", array($this, 'initMetaboxes'), 999);
88
 
89
- if (AAM_Core_Config::get('show-access-link', true)) {
90
  //extend post inline actions
91
  add_filter('page_row_actions', array($this, 'postRowActions'), 10, 2);
92
  add_filter('post_row_actions', array($this, 'postRowActions'), 10, 2);
@@ -105,13 +105,13 @@ class AAM_Backend_Manager {
105
  add_action('admin_init', array($this, 'adminInit'));
106
 
107
  //register login widget
108
- if (AAM_Core_Config::get('secure-login', true)) {
109
  add_action('widgets_init', array($this, 'registerLoginWidget'));
110
  add_action('wp_ajax_nopriv_aamlogin', array($this, 'handleLogin'));
111
  }
112
 
113
  //register backend hooks and filters
114
- if (AAM_Core_Config::get('backend-access-control', true)) {
115
  AAM_Backend_Filter::register();
116
  }
117
 
@@ -119,7 +119,36 @@ class AAM_Backend_Manager {
119
 
120
  if (version_compare(PHP_VERSION, '5.3.0') == -1) {
121
  AAM_Core_Console::add(
122
- __('AAM requires PHP version 5.3.0 or higher to function properly', AAM_KEY)
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
123
  );
124
  }
125
  }
@@ -351,10 +380,11 @@ class AAM_Backend_Manager {
351
  *
352
  */
353
  public function metabox() {
354
- $frontend = AAM_Core_Config::get('frontend-access-control', true);
355
- $backend = AAM_Core_Config::get('backend-access-control', true);
 
356
 
357
- if (($frontend || $backend) && AAM::getUser()->hasCapability('aam_manage_posts')) {
358
  add_meta_box(
359
  'aam-acceess-manager',
360
  __('Access Manager', AAM_KEY) . ' <small style="color:#999999;">by AAM plugin</small>',
@@ -384,10 +414,11 @@ class AAM_Backend_Manager {
384
  */
385
  public function renderTermMetabox($term) {
386
  if (is_a($term, 'WP_Term') && is_taxonomy_hierarchical($term->taxonomy)) {
387
- $frontend = AAM_Core_Config::get('frontend-access-control', true);
388
- $backend = AAM_Core_Config::get('backend-access-control', true);
 
389
 
390
- if (($frontend || $backend) && AAM::getUser()->hasCapability('aam_manage_posts')) {
391
  echo AAM_Backend_View::getInstance()->renderTermMetabox($term);
392
  }
393
  }
@@ -497,12 +528,13 @@ class AAM_Backend_Manager {
497
  * @return type
498
  */
499
  protected function renderExternalUIFeature($cap) {
500
- $frontend = AAM_Core_Config::get('frontend-access-control', true);
501
- $backend = AAM_Core_Config::get('backend-access-control', true);
 
502
  $aamManager = AAM::getUser()->hasCapability('aam_manager');
503
  $featureManager = AAM::getUser()->hasCapability($cap);
504
 
505
- return ($frontend || $backend) && $aamManager && $featureManager;
506
  }
507
 
508
  /**
67
  add_action('all_admin_notices', array($this, 'notification'));
68
  }
69
 
70
+ if (AAM_Core_Config::get('ui.settings.renderAccessMetabox', true)) {
71
  add_action('edit_category_form_fields', array($this, 'renderTermMetabox'), 1);
72
  add_action('edit_link_category_form_fields', array($this, 'renderTermMetabox'), 1);
73
  add_action('edit_tag_form_fields', array($this, 'renderTermMetabox'), 1);
86
  //manager WordPress metaboxes
87
  add_action("in_admin_header", array($this, 'initMetaboxes'), 999);
88
 
89
+ if (AAM_Core_Config::get('ui.settings.renderAccessActionLink', true)) {
90
  //extend post inline actions
91
  add_filter('page_row_actions', array($this, 'postRowActions'), 10, 2);
92
  add_filter('post_row_actions', array($this, 'postRowActions'), 10, 2);
105
  add_action('admin_init', array($this, 'adminInit'));
106
 
107
  //register login widget
108
+ if (AAM_Core_Config::get('core.settings.secureLogin', true)) {
109
  add_action('widgets_init', array($this, 'registerLoginWidget'));
110
  add_action('wp_ajax_nopriv_aamlogin', array($this, 'handleLogin'));
111
  }
112
 
113
  //register backend hooks and filters
114
+ if (AAM_Core_Config::get('core.settings.backendAccessControl', true)) {
115
  AAM_Backend_Filter::register();
116
  }
117
 
119
 
120
  if (version_compare(PHP_VERSION, '5.3.0') == -1) {
121
  AAM_Core_Console::add(
122
+ 'AAM requires PHP version 5.3.0 or higher to function properly'
123
+ );
124
+ }
125
+
126
+ // TODO: Remove Jun 2019
127
+ $htpasswd = AAM_Core_Config::get('htpasswd');
128
+ if (!empty($htpasswd)) {
129
+ AAM_Core_Console::add(
130
+ 'On ConfigPress tab, change [htpasswd] option to [feature.metabox.htpasswd]', 'b', 'b'
131
+ );
132
+ }
133
+
134
+ $export = AAM_Core_Config::get('export', null);
135
+ if (!empty($export)) {
136
+ AAM_Core_Console::add(
137
+ 'On ConfigPress tab, change [export] option to [feature.export]', 'b', 'b'
138
+ );
139
+ }
140
+
141
+ $defcat = AAM_Core_Config::get('default.category', null);
142
+ if (!empty($defcat)) {
143
+ AAM_Core_Console::add(
144
+ 'On ConfigPress tab, change [default.category] option to [feature.post.defaultTerm]', 'b', 'b'
145
+ );
146
+ }
147
+
148
+ $dir = AAM_Core_Config::get('extention.directory', null);
149
+ if (!empty($dir)) {
150
+ AAM_Core_Console::add(
151
+ 'On ConfigPress tab, change [extention.directory] option to [core.extention.directory]', 'b', 'b'
152
  );
153
  }
154
  }
380
  *
381
  */
382
  public function metabox() {
383
+ $frontend = AAM_Core_Config::get('core.settings.frontendAccessControl', true);
384
+ $backend = AAM_Core_Config::get('core.settings.backendAccessControl', true);
385
+ $api = AAM_Core_Config::get('core.settings.apiAccessControl', true);
386
 
387
+ if (($frontend || $backend || $api) && AAM::getUser()->hasCapability('aam_manage_posts')) {
388
  add_meta_box(
389
  'aam-acceess-manager',
390
  __('Access Manager', AAM_KEY) . ' <small style="color:#999999;">by AAM plugin</small>',
414
  */
415
  public function renderTermMetabox($term) {
416
  if (is_a($term, 'WP_Term') && is_taxonomy_hierarchical($term->taxonomy)) {
417
+ $frontend = AAM_Core_Config::get('core.settings.frontendAccessControl', true);
418
+ $backend = AAM_Core_Config::get('core.settings.backendAccessControl', true);
419
+ $api = AAM_Core_Config::get('core.settings.apiAccessControl', true);
420
 
421
+ if (($frontend || $backend || $api) && AAM::getUser()->hasCapability('aam_manage_posts')) {
422
  echo AAM_Backend_View::getInstance()->renderTermMetabox($term);
423
  }
424
  }
528
  * @return type
529
  */
530
  protected function renderExternalUIFeature($cap) {
531
+ $frontend = AAM_Core_Config::get('core.settings.frontendAccessControl', true);
532
+ $backend = AAM_Core_Config::get('core.settings.backendAccessControl', true);
533
+ $api = AAM_Core_Config::get('core.settings.apiAccessControl', true);
534
  $aamManager = AAM::getUser()->hasCapability('aam_manager');
535
  $featureManager = AAM::getUser()->hasCapability($cap);
536
 
537
+ return ($frontend || $backend || $api) && $aamManager && $featureManager;
538
  }
539
 
540
  /**
Application/Backend/View/PostOptionList.php CHANGED
@@ -25,7 +25,7 @@ class AAM_Backend_View_PostOptionList {
25
  'list' => array(
26
  'title' => __('List', AAM_KEY),
27
  'descr' => __('Hide %s however still allow access with direct URL.', AAM_KEY) . sprintf(__(' %sSee in action.%s', AAM_KEY), "<a href='https://youtu.be/2jiu_CL6JJg' target='_blank'>", '</a>'),
28
- 'config' => 'check-post-visibility'
29
  ),
30
  'read' => array(
31
  'title' => __('Read', AAM_KEY),
@@ -91,7 +91,7 @@ class AAM_Backend_View_PostOptionList {
91
  'title' => __('List', AAM_KEY),
92
  'exclude' => array(AAM_Core_Subject_Visitor::UID),
93
  'descr' => __('Hide %s however still allow access with direct URL.', AAM_KEY),
94
- 'config' => 'check-post-visibility'
95
  ),
96
  'edit' => array(
97
  'title' => __('Edit', AAM_KEY),
@@ -113,7 +113,7 @@ class AAM_Backend_View_PostOptionList {
113
  'list' => array(
114
  'title' => __('List', AAM_KEY),
115
  'descr' => __('Hide %s however still allow access to retrieve %s.', AAM_KEY),
116
- 'config' => 'check-post-visibility'
117
  ),
118
  'read' => array(
119
  'title' => __('Read', AAM_KEY),
25
  'list' => array(
26
  'title' => __('List', AAM_KEY),
27
  'descr' => __('Hide %s however still allow access with direct URL.', AAM_KEY) . sprintf(__(' %sSee in action.%s', AAM_KEY), "<a href='https://youtu.be/2jiu_CL6JJg' target='_blank'>", '</a>'),
28
+ 'config' => 'core.settings.checkPostVisibility'
29
  ),
30
  'read' => array(
31
  'title' => __('Read', AAM_KEY),
91
  'title' => __('List', AAM_KEY),
92
  'exclude' => array(AAM_Core_Subject_Visitor::UID),
93
  'descr' => __('Hide %s however still allow access with direct URL.', AAM_KEY),
94
+ 'config' => 'core.settings.checkPostVisibility'
95
  ),
96
  'edit' => array(
97
  'title' => __('Edit', AAM_KEY),
113
  'list' => array(
114
  'title' => __('List', AAM_KEY),
115
  'descr' => __('Hide %s however still allow access to retrieve %s.', AAM_KEY),
116
+ 'config' => 'core.settings.checkPostVisibility'
117
  ),
118
  'read' => array(
119
  'title' => __('Read', AAM_KEY),
Application/Backend/Widget/Login.php CHANGED
@@ -73,6 +73,13 @@ class AAM_Backend_Widget_Login extends WP_Widget {
73
  AAM_Core_Config::set('brute-force-lockout', $nbl);
74
  }
75
 
 
 
 
 
 
 
 
76
  return parent::update($new, $old);
77
  }
78
 
@@ -85,6 +92,7 @@ class AAM_Backend_Widget_Login extends WP_Widget {
85
  $instance['login-title'] = AAM_Core_Config::get('login-title');
86
  $instance['login-ip-track'] = AAM_Core_Config::get('login-ip-track');
87
  $instance['brute-force-lockout'] = AAM_Core_Config::get('brute-force-lockout');
 
88
 
89
  if (empty($instance['login-title'])) {
90
  $instance['login-title'] = __('Login', AAM_KEY);
73
  AAM_Core_Config::set('brute-force-lockout', $nbl);
74
  }
75
 
76
+ $nss = (isset($new['single-session']) ? $new['single-session'] : null);
77
+ $oss = (isset($old['single-session']) ? $old['single-session'] : null);
78
+
79
+ if ($nss != $oss) {
80
+ AAM_Core_Config::set('single-session', $nss);
81
+ }
82
+
83
  return parent::update($new, $old);
84
  }
85
 
92
  $instance['login-title'] = AAM_Core_Config::get('login-title');
93
  $instance['login-ip-track'] = AAM_Core_Config::get('login-ip-track');
94
  $instance['brute-force-lockout'] = AAM_Core_Config::get('brute-force-lockout');
95
+ $instance['single-session'] = AAM_Core_Config::get('single-session');
96
 
97
  if (empty($instance['login-title'])) {
98
  $instance['login-title'] = __('Login', AAM_KEY);
Application/Backend/phtml/index.phtml CHANGED
@@ -161,8 +161,8 @@
161
  <label><?php echo __('Role Expiration', AAM_KEY); ?> <a href="https://aamplugin.com/help/how-to-manage-wordpress-roles" target="_blank" data-toggle="tooltip" title="For how long user can have this role. Click to learn more."><i class="icon-help-circled"></i></a></label>
162
  <input type="text" class="form-control" name="expire" placeholder="<?php echo __('Enter Expiration Rule', AAM_KEY); ?>" />
163
  </div>
164
- <?php do_action('aam-add-role-ui-action'); ?>
165
- <?php echo apply_filters('aam-add-role-ui-filter', AAM_Backend_View::getInstance()->loadPartial('role-inheritance.phtml')); ?>
166
  </div>
167
  <div class="modal-footer">
168
  <button type="button" class="btn btn-success" id="add-role-btn"><?php echo __('Create', AAM_KEY); ?></button>
@@ -188,7 +188,7 @@
188
  <label><?php echo __('Role Expiration', AAM_KEY); ?> <a href="https://aamplugin.com/help/how-to-manage-wordpress-roles" target="_blank" data-toggle="tooltip" title="For how long user can have this role. Click to learn more."><i class="icon-help-circled"></i></a></label>
189
  <input type="text" class="form-control" name="expire" id="edit-role-expiration" placeholder="<?php echo __('Enter Expiration Rule', AAM_KEY); ?>" />
190
  </div>
191
- <?php do_action('aam-edit-role-ui-action'); ?>
192
  </div>
193
  <div class="modal-footer">
194
  <button type="button" class="btn btn-success" id="edit-role-btn"><?php echo __('Update', AAM_KEY); ?></button>
161
  <label><?php echo __('Role Expiration', AAM_KEY); ?> <a href="https://aamplugin.com/help/how-to-manage-wordpress-roles" target="_blank" data-toggle="tooltip" title="For how long user can have this role. Click to learn more."><i class="icon-help-circled"></i></a></label>
162
  <input type="text" class="form-control" name="expire" placeholder="<?php echo __('Enter Expiration Rule', AAM_KEY); ?>" />
163
  </div>
164
+ <?php /* TODO: Rethink this filter */ do_action('aam-add-role-ui-action'); ?>
165
+ <?php /* TODO: Rethink this filter */ echo apply_filters('aam-add-role-ui-filter', AAM_Backend_View::getInstance()->loadPartial('role-inheritance.phtml')); ?>
166
  </div>
167
  <div class="modal-footer">
168
  <button type="button" class="btn btn-success" id="add-role-btn"><?php echo __('Create', AAM_KEY); ?></button>
188
  <label><?php echo __('Role Expiration', AAM_KEY); ?> <a href="https://aamplugin.com/help/how-to-manage-wordpress-roles" target="_blank" data-toggle="tooltip" title="For how long user can have this role. Click to learn more."><i class="icon-help-circled"></i></a></label>
189
  <input type="text" class="form-control" name="expire" id="edit-role-expiration" placeholder="<?php echo __('Enter Expiration Rule', AAM_KEY); ?>" />
190
  </div>
191
+ <?php /* TODO: Rethink this filter */ do_action('aam-edit-role-ui-action'); ?>
192
  </div>
193
  <div class="modal-footer">
194
  <button type="button" class="btn btn-success" id="edit-role-btn"><?php echo __('Update', AAM_KEY); ?></button>
Application/Backend/phtml/main-panel.phtml CHANGED
@@ -19,7 +19,6 @@
19
  foreach ($features as $feature) {
20
  echo $feature->view->getContent();
21
  }
22
- do_action('aam-content-action');
23
  ?>
24
  </div>
25
  <?php } else { ?>
19
  foreach ($features as $feature) {
20
  echo $feature->view->getContent();
21
  }
 
22
  ?>
23
  </div>
24
  <?php } else { ?>
Application/Backend/phtml/main/login-redirect.phtml CHANGED
@@ -20,49 +20,49 @@
20
 
21
  <div class="row">
22
  <div class="col-xs-12">
23
- <?php $type = $this->getOption('login.redirect.type', 'default'); ?>
24
 
25
- <div class="radio">
26
- <input type="radio" name="login.redirect.type" id="login-redirect-default" data-action="#default-redirect-action" value="default"<?php echo ($type == 'default' ? ' checked' : ''); ?> />
27
- <label for="login-redirect-default"><?php echo __('WordPress default behavior', AAM_KEY); ?></label>
28
- </div>
29
- <div class="radio">
30
- <input type="radio" name="login.redirect.type" id="login-redirect-page" data-action="#page-login-redirect-action" value="page"<?php echo ($type == 'page' ? ' checked' : ''); ?> />
31
- <label for="login-redirect-page"><?php echo AAM_Backend_View_Helper::preparePhrase('Redirected to existing page [(select from the drop-down)]', 'small'); ?></label>
32
- </div>
33
- <div class="radio">
34
- <input type="radio" name="login.redirect.type" id="login-redirect-url" data-action="#url-login-redirect-action" value="url"<?php echo ($type == 'url' ? ' checked' : ''); ?> />
35
- <label for="login-redirect-url"><?php echo AAM_Backend_View_Helper::preparePhrase('Redirected to the URL [(enter full URL starting from http or https)]', 'small'); ?></label>
36
- </div>
37
- <div class="radio">
38
- <input type="radio" name="login.redirect.type" id="login-redirect-callback" data-action="#callback-login-redirect-action" value="callback"<?php echo ($type == 'callback' ? ' checked' : ''); ?> />
39
- <label for="login-redirect-callback"><?php echo sprintf(AAM_Backend_View_Helper::preparePhrase('Trigger PHP callback function [(valid %sPHP callback%s is required)]', 'small'), '<a href="http://php.net/manual/en/language.types.callable.php" target="_blank">', '</a>'); ?></label>
40
- </div>
41
 
42
- <div class="form-group login-redirect-action" id="page-login-redirect-action" style="display: <?php echo ($type == 'page' ? 'block' : 'none'); ?>;">
43
- <label><?php echo __('Existing Page', AAM_KEY); ?></label>
44
- <?php
45
- wp_dropdown_pages(array(
46
- 'depth' => 99,
47
- 'selected' => $this->getOption('login.redirect.page'),
48
- 'echo' => 1,
49
- 'name' => 'login.redirect.page',
50
- 'id' => 'login-redirect-page', // string
51
- 'class' => 'form-control', // string
52
- 'show_option_none' => __('-- Select Page --', AAM_KEY) // string
53
- ));
54
- ?>
55
- </div>
56
 
57
- <div class="form-group login-redirect-action" id="url-login-redirect-action" style="display: <?php echo ($type == 'url' ? 'block' : 'none'); ?>;">
58
- <label><?php echo __('The URL', AAM_KEY); ?></label>
59
- <input type="text" class="form-control" name="login.redirect.url" placeholder="http://" value="<?php echo $this->getOption('login.redirect.url'); ?>" />
60
- </div>
61
 
62
- <div class="form-group login-redirect-action" id="callback-login-redirect-action" style="display: <?php echo ($type == 'callback' ? 'block' : 'none'); ?>;">
63
- <label><?php echo __('PHP Callback Function', AAM_KEY); ?></label>
64
- <input type="text" class="form-control" placeholder="Enter valid callback" name="login.redirect.callback" value="<?php echo $this->getOption('login.redirect.callback'); ?>" />
65
- </div>
66
  </div>
67
  </div>
68
  </div>
20
 
21
  <div class="row">
22
  <div class="col-xs-12">
23
+ <?php $type = $this->getOption('login.redirect.type', 'default'); ?>
24
 
25
+ <div class="radio">
26
+ <input type="radio" name="login.redirect.type" id="login-redirect-default" data-action="#default-redirect-action" value="default"<?php echo ($type == 'default' ? ' checked' : ''); ?> />
27
+ <label for="login-redirect-default"><?php echo __('WordPress default behavior', AAM_KEY); ?></label>
28
+ </div>
29
+ <div class="radio">
30
+ <input type="radio" name="login.redirect.type" id="login-redirect-page" data-action="#page-login-redirect-action" value="page"<?php echo ($type == 'page' ? ' checked' : ''); ?> />
31
+ <label for="login-redirect-page"><?php echo AAM_Backend_View_Helper::preparePhrase('Redirected to existing page [(select from the drop-down)]', 'small'); ?></label>
32
+ </div>
33
+ <div class="radio">
34
+ <input type="radio" name="login.redirect.type" id="login-redirect-url" data-action="#url-login-redirect-action" value="url"<?php echo ($type == 'url' ? ' checked' : ''); ?> />
35
+ <label for="login-redirect-url"><?php echo AAM_Backend_View_Helper::preparePhrase('Redirected to the URL [(enter full URL starting from http or https)]', 'small'); ?></label>
36
+ </div>
37
+ <div class="radio">
38
+ <input type="radio" name="login.redirect.type" id="login-redirect-callback" data-action="#callback-login-redirect-action" value="callback"<?php echo ($type == 'callback' ? ' checked' : ''); ?> />
39
+ <label for="login-redirect-callback"><?php echo sprintf(AAM_Backend_View_Helper::preparePhrase('Trigger PHP callback function [(valid %sPHP callback%s is required)]', 'small'), '<a href="http://php.net/manual/en/language.types.callable.php" target="_blank">', '</a>'); ?></label>
40
+ </div>
41
 
42
+ <div class="form-group login-redirect-action" id="page-login-redirect-action" style="display: <?php echo ($type == 'page' ? 'block' : 'none'); ?>;">
43
+ <label><?php echo __('Existing Page', AAM_KEY); ?></label>
44
+ <?php
45
+ wp_dropdown_pages(array(
46
+ 'depth' => 99,
47
+ 'selected' => $this->getOption('login.redirect.page'),
48
+ 'echo' => 1,
49
+ 'name' => 'login.redirect.page',
50
+ 'id' => 'login-redirect-page', // string
51
+ 'class' => 'form-control', // string
52
+ 'show_option_none' => __('-- Select Page --', AAM_KEY) // string
53
+ ));
54
+ ?>
55
+ </div>
56
 
57
+ <div class="form-group login-redirect-action" id="url-login-redirect-action" style="display: <?php echo ($type == 'url' ? 'block' : 'none'); ?>;">
58
+ <label><?php echo __('The URL', AAM_KEY); ?></label>
59
+ <input type="text" class="form-control" name="login.redirect.url" placeholder="http://" value="<?php echo $this->getOption('login.redirect.url'); ?>" />
60
+ </div>
61
 
62
+ <div class="form-group login-redirect-action" id="callback-login-redirect-action" style="display: <?php echo ($type == 'callback' ? 'block' : 'none'); ?>;">
63
+ <label><?php echo __('PHP Callback Function', AAM_KEY); ?></label>
64
+ <input type="text" class="form-control" placeholder="Enter valid callback" name="login.redirect.callback" value="<?php echo $this->getOption('login.redirect.callback'); ?>" />
65
+ </div>
66
  </div>
67
  </div>
68
  </div>
Application/Backend/phtml/main/post.phtml CHANGED
@@ -58,14 +58,14 @@
58
  <div class="aam-slide-form aam-access-form" data-type="type">
59
  <a href="#" class="btn btn-xs btn-primary post-back btn-right">&Lt; <?php echo __('Go Back', AAM_KEY); ?></a>
60
  <span class="aam-clear"></span>
61
- <?php echo apply_filters('aam-post-type-ui-filter', AAM_Backend_View::getInstance()->loadPartial('post-type.phtml')); ?>
62
  <a href="#" class="btn btn-xs btn-primary post-back">&Lt; <?php echo __('Go Back', AAM_KEY); ?></a>
63
  </div>
64
 
65
  <div class="aam-slide-form aam-access-form" data-type="term">
66
  <a href="#" class="btn btn-xs btn-primary post-back btn-right">&Lt; <?php echo __('Go Back', AAM_KEY); ?></a>
67
  <span class="aam-clear"></span>
68
- <?php echo apply_filters('aam-term-type-ui-filter', AAM_Backend_View::getInstance()->loadPartial('term-type.phtml')); ?>
69
  <a href="#" class="btn btn-xs btn-primary post-back">&Lt; <?php echo __('Go Back', AAM_KEY); ?></a>
70
  </div>
71
 
58
  <div class="aam-slide-form aam-access-form" data-type="type">
59
  <a href="#" class="btn btn-xs btn-primary post-back btn-right">&Lt; <?php echo __('Go Back', AAM_KEY); ?></a>
60
  <span class="aam-clear"></span>
61
+ <?php /* TODO: Rethink this filter */ echo apply_filters('aam-post-type-ui-filter', AAM_Backend_View::getInstance()->loadPartial('post-type.phtml')); ?>
62
  <a href="#" class="btn btn-xs btn-primary post-back">&Lt; <?php echo __('Go Back', AAM_KEY); ?></a>
63
  </div>
64
 
65
  <div class="aam-slide-form aam-access-form" data-type="term">
66
  <a href="#" class="btn btn-xs btn-primary post-back btn-right">&Lt; <?php echo __('Go Back', AAM_KEY); ?></a>
67
  <span class="aam-clear"></span>
68
+ <?php /* TODO: Rethink this filter */ echo apply_filters('aam-term-type-ui-filter', AAM_Backend_View::getInstance()->loadPartial('term-type.phtml')); ?>
69
  <a href="#" class="btn btn-xs btn-primary post-back">&Lt; <?php echo __('Go Back', AAM_KEY); ?></a>
70
  </div>
71
 
Application/Backend/phtml/main/redirect.phtml CHANGED
@@ -22,8 +22,8 @@
22
  <div class="col-xs-12">
23
  <div>
24
  <ul class="nav nav-tabs" role="tablist">
25
- <?php if (AAM_Core_Config::get('frontend-access-control', true)) { ?> <li role="presentation" class="active"><a href="#frontend-redirect" aria-controls="frontend-redirect" role="tab" data-toggle="tab"><i class="icon-home"></i> <?php echo __('Frontend Redirect', AAM_KEY); ?></a></li><?php } ?>
26
- <?php if (AAM_Core_Config::get('backend-access-control', true) && !$this->isVisitor()) { ?><li role="presentation"><a href="#backend-redirect" aria-controls="backend-redirect" role="tab" data-toggle="tab"><i class="icon-circle"></i> <?php echo __('Backend Redirect', AAM_KEY); ?></a></li><?php } ?>
27
  </ul>
28
 
29
  <?php $frontendType = $this->getOption('frontend.redirect.type', 'default'); ?>
22
  <div class="col-xs-12">
23
  <div>
24
  <ul class="nav nav-tabs" role="tablist">
25
+ <?php if (AAM_Core_Config::get('core.settings.frontendAccessControl', true)) { ?> <li role="presentation" class="active"><a href="#frontend-redirect" aria-controls="frontend-redirect" role="tab" data-toggle="tab"><i class="icon-home"></i> <?php echo __('Frontend Redirect', AAM_KEY); ?></a></li><?php } ?>
26
+ <?php if (AAM_Core_Config::get('core.settings.backendAccessControl', true) && !$this->isVisitor()) { ?><li role="presentation"><a href="#backend-redirect" aria-controls="backend-redirect" role="tab" data-toggle="tab"><i class="icon-circle"></i> <?php echo __('Backend Redirect', AAM_KEY); ?></a></li><?php } ?>
27
  </ul>
28
 
29
  <?php $frontendType = $this->getOption('frontend.redirect.type', 'default'); ?>
Application/Backend/phtml/metabox/metabox-content.phtml CHANGED
@@ -112,7 +112,7 @@
112
  <?php if ($object->type == 'post') { ?>
113
  <?php echo AAM_Backend_Feature_Main_Post::renderAccessForm(); ?>
114
  <?php } else {
115
- echo apply_filters('aam-term-type-ui-filter', AAM_Backend_View::getInstance()->loadPartial('term-type.phtml'));
116
  } ?>
117
  </div>
118
  <div class="aam-overlay"></div>
112
  <?php if ($object->type == 'post') { ?>
113
  <?php echo AAM_Backend_Feature_Main_Post::renderAccessForm(); ?>
114
  <?php } else {
115
+ /* TODO: Rethink this filter */ echo apply_filters('aam-term-type-ui-filter', AAM_Backend_View::getInstance()->loadPartial('term-type.phtml'));
116
  } ?>
117
  </div>
118
  <div class="aam-overlay"></div>
Application/Backend/phtml/partial/post-access-form.phtml CHANGED
@@ -5,7 +5,7 @@
5
  <?php $apiOptions = AAM_Backend_Feature_Main_Post::getAccessOptionList('api'); ?>
6
 
7
  <div class="panel-group" id="post-access-accordion" role="tablist" aria-multiselectable="true">
8
- <?php if (count($frontendOptions) && AAM_Core_Config::get('frontend-access-control', true)) { ?>
9
  <div class="panel panel-success">
10
  <div class="panel-heading" role="tab" id="heading-post-frontend-access-settings">
11
  <h4 class="panel-title">
@@ -41,7 +41,7 @@
41
  </div>
42
  <?php } ?>
43
 
44
- <?php if (count($backendOptions) && AAM_Core_Config::get('backend-access-control', true)) { ?>
45
  <div class="panel panel-info">
46
  <div class="panel-heading" role="tab" id="heading-post-backend-access-settings">
47
  <h4 class="panel-title">
@@ -77,7 +77,7 @@
77
  </div>
78
  <?php } ?>
79
 
80
- <?php if (count($apiOptions) && AAM_Core_Config::get('api-access-control', true)) { ?>
81
  <div class="panel panel-warning">
82
  <div class="panel-heading" role="tab" id="heading-post-api-access-settings">
83
  <h4 class="panel-title">
5
  <?php $apiOptions = AAM_Backend_Feature_Main_Post::getAccessOptionList('api'); ?>
6
 
7
  <div class="panel-group" id="post-access-accordion" role="tablist" aria-multiselectable="true">
8
+ <?php if (count($frontendOptions) && AAM_Core_Config::get('core.settings.frontendAccessControl', true)) { ?>
9
  <div class="panel panel-success">
10
  <div class="panel-heading" role="tab" id="heading-post-frontend-access-settings">
11
  <h4 class="panel-title">
41
  </div>
42
  <?php } ?>
43
 
44
+ <?php if (count($backendOptions) && AAM_Core_Config::get('core.settings.backendAccessControl', true)) { ?>
45
  <div class="panel panel-info">
46
  <div class="panel-heading" role="tab" id="heading-post-backend-access-settings">
47
  <h4 class="panel-title">
77
  </div>
78
  <?php } ?>
79
 
80
+ <?php if (count($apiOptions) && AAM_Core_Config::get('core.settings.apiAccessControl', true)) { ?>
81
  <div class="panel panel-warning">
82
  <div class="panel-heading" role="tab" id="heading-post-api-access-settings">
83
  <h4 class="panel-title">
Application/Backend/phtml/partial/post-advanced-settings.phtml CHANGED
@@ -67,17 +67,51 @@
67
  <div class="modal-content">
68
  <div class="modal-header">
69
  <button type="button" class="close" data-dismiss="modal" aria-label="<?php echo __('Close', AAM_KEY); ?>"><span aria-hidden="true">&times;</span></button>
70
- <h4 class="modal-title"><?php echo __('Define Redirect Rule', AAM_KEY); ?></h4>
71
  </div>
72
  <div class="modal-body">
73
- <p class="aam-info"><?php echo sprintf(AAM_Backend_View_Helper::preparePhrase('To learn more about REDIRECT option, please refer to our [%sHelp Section%s].', 'b'), '<a href="https://aamplugin.com/help#post-redirect" target="_blank">', '</a>'); ?></p>
74
  <div class="form-group aam-outer-top-xs">
75
- <label><?php echo __('Enter Redirect Rule', AAM_KEY); ?></label>
76
- <input type="text" class="form-control" placeholder="<?php echo __('Enter rule', AAM_KEY); ?>" id="aam-access-redirect" />
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
77
  </div>
 
78
  </div>
79
  <div class="modal-footer">
80
- <button type="button" class="btn btn-success extended-post-access-btn" data-modal="#modal-redirect" data-field="#aam-access-redirect"><?php echo __('Update', AAM_KEY); ?></button>
81
  <button type="button" class="btn btn-default" data-dismiss="modal"><?php echo __('Close', AAM_KEY); ?></button>
82
  </div>
83
  </div>
67
  <div class="modal-content">
68
  <div class="modal-header">
69
  <button type="button" class="close" data-dismiss="modal" aria-label="<?php echo __('Close', AAM_KEY); ?>"><span aria-hidden="true">&times;</span></button>
70
+ <h4 class="modal-title"><?php echo __('Set Redirect Rule', AAM_KEY); ?></h4>
71
  </div>
72
  <div class="modal-body">
73
+ <p class="aam-info"><?php echo __('Use REDIRECT option only if you want to redirect user to different location either temporary or permanently.'); ?></p>
74
  <div class="form-group aam-outer-top-xs">
75
+ <div class="radio">
76
+ <input type="radio" id="post-redirect-page" name="post-redirect-type" class="post-redirect-type" data-action="#post-redirect-page-action" value="page" />
77
+ <label for="post-redirect-page"><?php echo AAM_Backend_View_Helper::preparePhrase('Redirected to existing page [(select from the drop-down)]', 'small'); ?></label>
78
+ </div>
79
+ <div class="radio">
80
+ <input type="radio" id="post-redirect-url" name="post-redirect-type" class="post-redirect-type" data-action="#post-redirect-url-action" value="url" />
81
+ <label for="post-redirect-url"><?php echo AAM_Backend_View_Helper::preparePhrase('Redirected to the URL [(enter full URL starting from http or https)]', 'small'); ?></label>
82
+ </div>
83
+ <div class="radio">
84
+ <input type="radio" id="post-redirect-callback" name="post-redirect-type" class="post-redirect-type" data-action="#post-redirect-callback-action" value="callback" />
85
+ <label for="post-redirect-callback"><?php echo sprintf(AAM_Backend_View_Helper::preparePhrase('Trigger PHP callback function [(valid %sPHP callback%s is required)]', 'small'), '<a href="http://php.net/manual/en/language.types.callable.php" target="_blank">', '</a>'); ?></label>
86
+ </div>
87
+
88
+ <div class="form-group post-redirect-action" id="post-redirect-page-action" style="display: none;">
89
+ <label><?php echo __('Existing Page', AAM_KEY); ?></label>
90
+ <?php
91
+ wp_dropdown_pages(array(
92
+ 'depth' => 99,
93
+ 'echo' => 1,
94
+ 'id' => 'post-redirect-page-value', // string
95
+ 'class' => 'form-control post-redirect-value', // string
96
+ 'show_option_none' => __('-- Select Page --', AAM_KEY) // string
97
+ ));
98
+ ?>
99
+ </div>
100
+
101
+ <div class="form-group post-redirect-action" id="post-redirect-url-action" style="display: none;">
102
+ <label><?php echo __('The URL', AAM_KEY); ?></label>
103
+ <input type="text" class="form-control post-redirect-value" id="post-redirect-url-value" placeholder="http://" value="" />
104
+ </div>
105
+
106
+ <div class="form-group post-redirect-action" id="post-redirect-callback-action" style="display: none;">
107
+ <label><?php echo __('PHP Callback Function', AAM_KEY); ?></label>
108
+ <input type="text" class="form-control post-redirect-value" id="post-redirect-callback-value" placeholder="Enter valid callback" value="" />
109
+ </div>
110
  </div>
111
+ <input type="hidden" id="post-redirect-rule" />
112
  </div>
113
  <div class="modal-footer">
114
+ <button type="button" class="btn btn-success extended-post-access-btn" data-modal="#modal-redirect" data-field="#post-redirect-rule"><?php echo __('Update', AAM_KEY); ?></button>
115
  <button type="button" class="btn btn-default" data-dismiss="modal"><?php echo __('Close', AAM_KEY); ?></button>
116
  </div>
117
  </div>
Application/Backend/phtml/widget/login-backend.phtml CHANGED
@@ -12,13 +12,19 @@
12
  <p>
13
  <input type="checkbox" id="<?php echo $this->get_field_id('login-timeout'); ?>" name="<?php echo $this->get_field_name('login-timeout'); ?>" value="1" <?php echo !empty($instance['login-timeout']) ? 'checked="checked"' : ""; ?> />
14
  <label for="<?php echo $this->get_field_id('login-timeout'); ?>"><strong><?php echo __('Login Timeout', AAM_KEY); ?></strong></label>
15
- <small style="line-height:1.35em; display:block; margin-top: 5px;">Delay the login process for 1 second to significantly reduce the chance for brute force or dictionary attack.</small>
16
  </p>
17
 
 
 
 
 
 
 
18
  <p style="margin-bottom: 1em;">
19
  <input type="checkbox" id="<?php echo $this->get_field_id('brute-force-lockout'); ?>" name="<?php echo $this->get_field_name('brute-force-lockout'); ?>" value="1" <?php echo !empty($instance['brute-force-lockout']) ? 'checked="checked"' : ""; ?> />
20
  <label for="<?php echo $this->get_field_id('brute-force-lockout'); ?>"><strong><?php echo __('Brute Force Lockout', AAM_KEY); ?></strong></label>
21
- <small style="line-height:1.35em; display:block; margin-top: 5px;">Automatically reject login attempts if number of unsuccessful login attempts is more than 20 over the period of 2 minutes.</small>
22
  </p>
23
 
24
  <p style="background-color: #fafafa; border-left: 3px solid #337ab7; font-size: 1em; line-height: 1.35em; margin-bottom: 1em; padding: 10px; font-size: 0.8em;">
12
  <p>
13
  <input type="checkbox" id="<?php echo $this->get_field_id('login-timeout'); ?>" name="<?php echo $this->get_field_name('login-timeout'); ?>" value="1" <?php echo !empty($instance['login-timeout']) ? 'checked="checked"' : ""; ?> />
14
  <label for="<?php echo $this->get_field_id('login-timeout'); ?>"><strong><?php echo __('Login Timeout', AAM_KEY); ?></strong></label>
15
+ <small style="line-height:1.35em; display:block; margin-top: 5px;"><?php echo __('Delay the login process for 1 second to significantly reduce the chance for brute force or dictionary attack.', AAM_KEY); ?></small>
16
  </p>
17
 
18
+ <p style="margin-bottom: 1em;">
19
+ <input type="checkbox" id="<?php echo $this->get_field_id('single-session'); ?>" name="<?php echo $this->get_field_name('single-session'); ?>" value="1" <?php echo !empty($instance['single-session']) ? 'checked="checked"' : ""; ?> />
20
+ <label for="<?php echo $this->get_field_id('single-session'); ?>"><strong><?php echo __('One session per user', AAM_KEY); ?></strong></label>
21
+ <small style="line-height:1.35em; display:block; margin-top: 5px;"><?php echo __('Automatically destroy all other sessions for a user if he/she tries to login from different location.', AAM_KEY); ?></small>
22
+ </p>
23
+
24
  <p style="margin-bottom: 1em;">
25
  <input type="checkbox" id="<?php echo $this->get_field_id('brute-force-lockout'); ?>" name="<?php echo $this->get_field_name('brute-force-lockout'); ?>" value="1" <?php echo !empty($instance['brute-force-lockout']) ? 'checked="checked"' : ""; ?> />
26
  <label for="<?php echo $this->get_field_id('brute-force-lockout'); ?>"><strong><?php echo __('Brute Force Lockout', AAM_KEY); ?></strong></label>
27
+ <small style="line-height:1.35em; display:block; margin-top: 5px;"><?php echo __('Automatically reject login attempts if number of unsuccessful login attempts is more than 20 over the period of 2 minutes.', AAM_KEY); ?></small>
28
  </p>
29
 
30
  <p style="background-color: #fafafa; border-left: 3px solid #337ab7; font-size: 1em; line-height: 1.35em; margin-bottom: 1em; padding: 10px; font-size: 0.8em;">
Application/Backend/phtml/widget/login-frontend.phtml CHANGED
@@ -18,13 +18,13 @@
18
 
19
  <div id="<?php echo $this->get_field_id('loginform'); ?>">
20
  <p>
21
- <label for="user_login">Username or Email Address<br>
22
  <input id="<?php echo $this->get_field_id('log'); ?>" class="input login-input" value="" size="20" type="text" />
23
  </label>
24
  </p>
25
 
26
  <p>
27
- <label for="user_pass">Password<br>
28
  <input id="<?php echo $this->get_field_id('pwd'); ?>" class="input login-input" value="" size="20" type="password" />
29
  </label>
30
  </p>
@@ -33,12 +33,12 @@
33
 
34
  <p class="forgetmenot">
35
  <label for="rememberme">
36
- <input id="<?php echo $this->get_field_id('rememberme'); ?>" value="forever" type="checkbox"/> Remember Me
37
  </label>
38
  </p>
39
 
40
  <p class="submit">
41
- <input class="button button-primary button-large aam-login-submit" data-prefix="<?php echo $this->get_field_id(''); ?>" value="Log In" type="submit" />
42
  <input id="<?php echo $this->get_field_id('redirect'); ?>" value="<?php echo $this->args['redirect']; ?>" type="hidden" />
43
  </p>
44
  </div>
@@ -51,7 +51,7 @@
51
  echo esc_html(apply_filters('login_link_separator', ' | '));
52
  }
53
  ?>
54
- <a href="<?php echo esc_url( wp_lostpassword_url() ); ?>"><?php echo __('Lost your password?'); ?></a>
55
  </p>
56
  <?php } else { ?>
57
  <div style="display: table; width: 100%;">
@@ -61,10 +61,10 @@
61
  <div style="display:table-cell;">
62
  <?php $allowAdmin = !AAM_Core_API::capabilityExists('access_dashboard') || AAM::getUser()->hasCapability('access_dashboard'); ?>
63
  <?php if ($allowAdmin) { ?>
64
- <a href="<?php echo esc_url(get_admin_url()); ?>"><?php echo __('Dashboard'); ?></a><br/>
65
- <a href="<?php echo esc_url(get_admin_url(null, 'profile.php')); ?>"><?php echo __('Edit My Profile'); ?></a><br/>
66
  <?php } ?>
67
- <a href="<?php echo esc_url(wp_logout_url()); ?>"><?php echo __('Log Out'); ?></a>
68
  </div>
69
  </div>
70
  <?php } ?>
18
 
19
  <div id="<?php echo $this->get_field_id('loginform'); ?>">
20
  <p>
21
+ <label for="user_login"><?php __('Username or Email Address', AAM_KEY); ?><br>
22
  <input id="<?php echo $this->get_field_id('log'); ?>" class="input login-input" value="" size="20" type="text" />
23
  </label>
24
  </p>
25
 
26
  <p>
27
+ <label for="user_pass"><?php __('Password', AAM_KEY); ?><br>
28
  <input id="<?php echo $this->get_field_id('pwd'); ?>" class="input login-input" value="" size="20" type="password" />
29
  </label>
30
  </p>
33
 
34
  <p class="forgetmenot">
35
  <label for="rememberme">
36
+ <input id="<?php echo $this->get_field_id('rememberme'); ?>" value="forever" type="checkbox"/> <?php __('Remember Me', AAM_KEY); ?>
37
  </label>
38
  </p>
39
 
40
  <p class="submit">
41
+ <input class="button button-primary button-large aam-login-submit" data-prefix="<?php echo $this->get_field_id(''); ?>" value="<?php __('Log In', AAM_KEY); ?>" type="submit" />
42
  <input id="<?php echo $this->get_field_id('redirect'); ?>" value="<?php echo $this->args['redirect']; ?>" type="hidden" />
43
  </p>
44
  </div>
51
  echo esc_html(apply_filters('login_link_separator', ' | '));
52
  }
53
  ?>
54
+ <a href="<?php echo esc_url( wp_lostpassword_url() ); ?>"><?php echo __('Lost your password?', AAM_KEY); ?></a>
55
  </p>
56
  <?php } else { ?>
57
  <div style="display: table; width: 100%;">
61
  <div style="display:table-cell;">
62
  <?php $allowAdmin = !AAM_Core_API::capabilityExists('access_dashboard') || AAM::getUser()->hasCapability('access_dashboard'); ?>
63
  <?php if ($allowAdmin) { ?>
64
+ <a href="<?php echo esc_url(get_admin_url()); ?>"><?php echo __('Dashboard', AAM_KEY); ?></a><br/>
65
+ <a href="<?php echo esc_url(get_admin_url(null, 'profile.php')); ?>"><?php echo __('Edit My Profile', AAM_KEY); ?></a><br/>
66
  <?php } ?>
67
+ <a href="<?php echo esc_url(wp_logout_url()); ?>"><?php echo __('Log Out', AAM_KEY); ?></a>
68
  </div>
69
  </div>
70
  <?php } ?>
Application/Core/API.php CHANGED
@@ -289,11 +289,11 @@ final class AAM_Core_API {
289
  $redirect = $object->get("{$area}.redirect.{$type}");
290
  } else { //ConfigPress setup
291
  $redirect = AAM_Core_Config::get(
292
- "{$area}.access.deny.redirect", __('Access Denied', AAM_KEY)
293
  );
294
  }
295
 
296
- do_action('aam-rejected-action', $area, $args);
297
 
298
  self::redirect($redirect, $args);
299
  } else {
289
  $redirect = $object->get("{$area}.redirect.{$type}");
290
  } else { //ConfigPress setup
291
  $redirect = AAM_Core_Config::get(
292
+ "{$area}.access.deny.redirectRule", __('Access Denied', AAM_KEY)
293
  );
294
  }
295
 
296
+ do_action('aam-access-rejected-action', $area, $args);
297
 
298
  self::redirect($redirect, $args);
299
  } else {
Application/Core/Cache.php CHANGED
@@ -56,4 +56,10 @@ class AAM_Core_Cache {
56
  return null;
57
  }
58
 
 
 
 
 
 
 
59
  }
56
  return null;
57
  }
58
 
59
+ /**
60
+ *
61
+ */
62
+ public static function clear() {
63
+ AAM_Core_API::clearCache();
64
+ }
65
  }
Application/Core/Compatibility.php CHANGED
@@ -16,6 +16,92 @@
16
  */
17
  class AAM_Core_Compatibility {
18
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
19
  /**
20
  *
21
  */
@@ -59,28 +145,6 @@ class AAM_Core_Compatibility {
59
  return $list;
60
  }
61
 
62
- /**
63
- *
64
- * @return type
65
- */
66
- public static function getConfig() {
67
- $config = AAM_Core_API::getOption('aam-utilities', array(), 'site');
68
-
69
- foreach(array_keys((is_array($config) ? $config : array())) as $option) {
70
- if (strpos($option, 'frontend.redirect') !== false) {
71
- self::convertConfigOption('redirect', $config, $option);
72
- } elseif (strpos($option, 'backend.redirect') !== false) {
73
- self::convertConfigOption('redirect', $config, $option);
74
- } elseif (strpos($option, 'login.redirect') !== false) {
75
- self::convertConfigOption('loginRedirect', $config, $option);
76
- } elseif (strpos($option, 'frontend.teaser') !== false) {
77
- self::convertConfigOption('teaser', $config, $option);
78
- }
79
- }
80
-
81
- return $config;
82
- }
83
-
84
  /**
85
  *
86
  * @staticvar type $subject
16
  */
17
  class AAM_Core_Compatibility {
18
 
19
+ /**
20
+ * Convert all-style AAM settings to standard ConfigPress style settings
21
+ *
22
+ * @param array $config
23
+ *
24
+ * @return array
25
+ * @since AAM 5.3.1
26
+ * @todo Remove June 1st 2019
27
+ */
28
+ public static function normalizeConfigOptions($config) {
29
+ if (is_array($config)) {
30
+ $changes = 0;
31
+ $changes += self::normalizeOption('manage-capability', 'core.settings.editCapabilities', $config);
32
+ $changes += self::normalizeOption('backend-access-control', 'core.settings.backendAccessControl', $config);
33
+ $changes += self::normalizeOption('frontend-access-control', 'core.settings.frontendAccessControl', $config);
34
+ $changes += self::normalizeOption('api-access-control', 'core.settings.apiAccessControl', $config);
35
+ $changes += self::normalizeOption('render-access-metabox', 'ui.settings.renderAccessMetabox', $config);
36
+ $changes += self::normalizeOption('show-access-link', 'ui.settings.renderAccessActionLink', $config);
37
+ $changes += self::normalizeOption('secure-login', 'core.settings.secureLogin', $config);
38
+ $changes += self::normalizeOption('core.xmlrpc', 'core.settings.xmlrpc', $config);
39
+ $changes += self::normalizeOption('core.restful', 'core.settings.restful', $config);
40
+ $changes += self::normalizeOption('jwt-authentication', 'core.settings.jwtAuthentication', $config);
41
+ $changes += self::normalizeOption('ms-member-access', 'core.settings.multisiteMemberAccessControl', $config);
42
+ $changes += self::normalizeOption('media-access-control', 'core.settings.mediaAccessControl', $config);
43
+ $changes += self::normalizeOption('check-post-visibility', 'core.settings.checkPostVisibility', $config);
44
+ $changes += self::normalizeOption('manage-hidden-post-types', 'core.settings.manageHiddenPostTypes', $config);
45
+ $changes += self::normalizeOption('page-category', 'core.settings.pageCategory', $config);
46
+ $changes += self::normalizeOption('media-category', 'core.settings.mediaCategory', $config);
47
+ $changes += self::normalizeOption('multi-category', 'core.settings.multiCategory', $config);
48
+ $changes += self::normalizeOption('inherit-parent-post', 'core.settings.inheritParentPost', $config);
49
+ //$changes += self::normalizeOption('', '', $config);
50
+
51
+ if ($changes > 0) {
52
+ if (is_multisite()) {
53
+ $result = AAM_Core_API::updateOption('aam-utilities', $config, 'site');
54
+ } else {
55
+ $result = AAM_Core_API::updateOption('aam-utilities', $config);
56
+ }
57
+ }
58
+ }
59
+
60
+ return $config;
61
+ }
62
+
63
+ /**
64
+ *
65
+ * @param type $option
66
+ * @param type $normalizedName
67
+ * @param type $config
68
+ * @return int
69
+ */
70
+ protected static function normalizeOption($option, $normalizedName, &$config) {
71
+ $changed = 0;
72
+
73
+ if (array_key_exists($option, $config)) {
74
+ $value = $config[$option];
75
+ unset($config[$option]);
76
+ $config[$normalizedName] = $value;
77
+ $changed = 1;
78
+ }
79
+
80
+ return $changed;
81
+ }
82
+
83
+ /**
84
+ * Get config
85
+ * @return type
86
+ */
87
+ public static function getConfig() {
88
+ $config = AAM_Core_API::getOption('aam-utilities', array(), 'site');
89
+
90
+ foreach(array_keys((is_array($config) ? $config : array())) as $option) {
91
+ if (strpos($option, 'frontend.redirect') !== false) {
92
+ self::convertConfigOption('redirect', $config, $option);
93
+ } elseif (strpos($option, 'backend.redirect') !== false) {
94
+ self::convertConfigOption('redirect', $config, $option);
95
+ } elseif (strpos($option, 'login.redirect') !== false) {
96
+ self::convertConfigOption('loginRedirect', $config, $option);
97
+ } elseif (strpos($option, 'frontend.teaser') !== false) {
98
+ self::convertConfigOption('teaser', $config, $option);
99
+ }
100
+ }
101
+
102
+ return self::normalizeConfigOptions($config);
103
+ }
104
+
105
  /**
106
  *
107
  */
145
  return $list;
146
  }
147
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
148
  /**
149
  *
150
  * @staticvar type $subject
Application/Core/Config.php CHANGED
@@ -41,12 +41,12 @@ class AAM_Core_Config {
41
  */
42
  public static function bootstrap() {
43
  if (is_multisite()) {
44
- self::$config = AAM_Core_API::getOption(self::OPTION, array(), 'site');
 
 
45
  } else {
46
  self::$config = AAM_Core_Compatibility::getConfig();
47
  }
48
-
49
- add_filter('aam-get-config-filter', 'AAM_Core_Config::get', 10, 2);
50
  }
51
 
52
  /**
41
  */
42
  public static function bootstrap() {
43
  if (is_multisite()) {
44
+ self::$config = AAM_Core_Compatibility::normalizeConfigOptions(
45
+ AAM_Core_API::getOption(self::OPTION, array(), 'site')
46
+ );
47
  } else {
48
  self::$config = AAM_Core_Compatibility::getConfig();
49
  }
 
 
50
  }
51
 
52
  /**
Application/Core/Contract/Api.php ADDED
@@ -0,0 +1,18 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+
3
+ /**
4
+ * ======================================================================
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
+ * AAM core API interface
12
+ *
13
+ * @package AAM
14
+ * @author Vasyl Martyniuk <vasyl@vasyltech.com>
15
+ */
16
+ interface AAM_Core_Contract_Api {
17
+
18
+ }
Application/Core/Contract/Object.php ADDED
@@ -0,0 +1,18 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+
3
+ /**
4
+ * ======================================================================
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
+ * AAM core object interface
12
+ *
13
+ * @package AAM
14
+ * @author Vasyl Martyniuk <vasyl@vasyltech.com>
15
+ */
16
+ interface AAM_Core_Contract_Object {
17
+
18
+ }
Application/Core/Contract/Subject.php ADDED
@@ -0,0 +1,18 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+
3
+ /**
4
+ * ======================================================================
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
+ * AAM core subject interface
12
+ *
13
+ * @package AAM
14
+ * @author Vasyl Martyniuk <vasyl@vasyltech.com>
15
+ */
16
+ interface AAM_Core_Contract_Subject {
17
+
18
+ }
Application/Core/Exporter.php CHANGED
@@ -69,7 +69,7 @@ class AAM_Core_Exporter {
69
  call_user_func(array($this, $method), explode(',', $features));
70
  } else {
71
  $this->output = apply_filters(
72
- 'aam-export', $this->output, $backet, $this->config
73
  );
74
  }
75
  }
@@ -105,7 +105,7 @@ class AAM_Core_Exporter {
105
  AAM_Core_ConfigPress::getInstance()->read()
106
  );
107
  } else {
108
- do_action('aam-export', 'system', $feature, $this);
109
  }
110
  }
111
  }
69
  call_user_func(array($this, $method), explode(',', $features));
70
  } else {
71
  $this->output = apply_filters(
72
+ 'aam-export-filter', $this->output, $backet, $this->config
73
  );
74
  }
75
  }
105
  AAM_Core_ConfigPress::getInstance()->read()
106
  );
107
  } else {
108
+ do_action('aam-export-action', 'system', $feature, $this);
109
  }
110
  }
111
  }
Application/Core/Gateway.php ADDED
@@ -0,0 +1,236 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+
3
+ /**
4
+ * ======================================================================
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
+ * AAM core API gateway
12
+ *
13
+ * @package AAM
14
+ * @author Vasyl Martyniuk <vasyl@vasyltech.com>
15
+ */
16
+ final class AAM_Core_Gateway implements AAM_Core_Contract_Api {
17
+
18
+ /**
19
+ * User subject slug
20
+ */
21
+ const SUBJECT_USER = 'user';
22
+
23
+ /**
24
+ * Role subject slug
25
+ */
26
+ const SUBJECT_ROLE = 'role';
27
+
28
+ /**
29
+ * Default subject slug
30
+ */
31
+ const SUBJECT_DEFAULT = 'default';
32
+
33
+ /**
34
+ * Visitor subject slug
35
+ */
36
+ const SUBJECT_VISITOR = 'visitor';
37
+
38
+ /**
39
+ * Cache object slug
40
+ */
41
+ const OBJECT_CACHE = 'cache';
42
+
43
+ /**
44
+ * Capability object slug
45
+ */
46
+ const OBJECT_CAPABILITY = 'capability';
47
+
48
+ /**
49
+ * Login Redirect object slug
50
+ */
51
+ const OBJECT_LOGIN_REDIRECT = 'loginRedirect';
52
+
53
+ /**
54
+ * Logout Redirect object slug
55
+ */
56
+ const OBJECT_LOGOUT_REDIRECT = 'logoutRedirect';
57
+
58
+ /**
59
+ * Backend Menu object slug
60
+ */
61
+ const OBJECT_BACKEND_MENU = 'menu';
62
+
63
+ /**
64
+ * Metabox & Widget object slug
65
+ */
66
+ const OBJECT_METABOX_WIDGET = 'metabox';
67
+
68
+ /**
69
+ * Post object slug
70
+ */
71
+ const OBJECT_POST = 'post';
72
+
73
+ /**
74
+ * Access Denied Redirect object slug
75
+ */
76
+ const OBJECT_ACCESS_DENIED_REDIRECT = 'redirect';
77
+
78
+ /**
79
+ * API Route object slug
80
+ */
81
+ const OBJECT_ROUTE = 'route';
82
+
83
+ /**
84
+ * Hierarchical Term object slug
85
+ */
86
+ const OBJECT_TERM = 'term';
87
+
88
+ /**
89
+ * Post Type object slug
90
+ */
91
+ const OBJECT_POST_TYPE = 'type';
92
+
93
+ /**
94
+ * Single instance of itself
95
+ *
96
+ * @var AAM_Core_Gateway
97
+ *
98
+ * @access protected
99
+ */
100
+ protected static $instance = null;
101
+
102
+ /**
103
+ * Constructor
104
+ */
105
+ protected function __construct() {}
106
+
107
+ /**
108
+ * Get AAM configuration option
109
+ *
110
+ * @param string $option
111
+ * @param mixed $default
112
+ *
113
+ * @return mixed
114
+ *
115
+ * @access public
116
+ */
117
+ public function getConfig($option, $default = null) {
118
+ return AAM_Core_Config::get($option, $default);
119
+ }
120
+
121
+ /**
122
+ * Get user
123
+ *
124
+ * If no $id specified, current user will be returned
125
+ *
126
+ * @param int $id
127
+ *
128
+ * @return AAM_Core_Subject_User
129
+ *
130
+ * @access public
131
+ * @throws Exception If no $id is specified and user is not authenticated
132
+ */
133
+ public function getUserSubject($id = null) {
134
+ if (!empty($id)) {
135
+ if ($id == get_current_user_id()) {
136
+ $user = AAM::getUser();
137
+ } else {
138
+ $user = new AAM_Core_Subject_User($id);
139
+ }
140
+ } elseif (get_current_user_id()) {
141
+ $user = AAM::getUser();
142
+ } else {
143
+ throw new Exception('Current visitor is not authenticated');
144
+ }
145
+
146
+ return $user;
147
+ }
148
+
149
+ /**
150
+ * Get role
151
+ *
152
+ * @param string $id
153
+ *
154
+ * @return AAM_Core_Subject_Role
155
+ *
156
+ * @access public
157
+ */
158
+ public function getRoleSubject($id) {
159
+ return new AAM_Core_Subject_Role($id);
160
+ }
161
+
162
+ /**
163
+ * Get visitor
164
+ *
165
+ * @return AAM_Core_Subject_Visitor
166
+ *
167
+ * @access public
168
+ */
169
+ public function getVisitorSubject() {
170
+ return new AAM_Core_Subject_Visitor();
171
+ }
172
+
173
+ /**
174
+ * Get default subject
175
+ *
176
+ * @return AAM_Core_Subject_Default
177
+ *
178
+ * @access public
179
+ */
180
+ public function getDefaultSubject() {
181
+ return new AAM_Core_Subject_Default();
182
+ }
183
+
184
+ /**
185
+ * Get subject
186
+ *
187
+ * @param string $type Subject type (allowed user, role, visitor and default)
188
+ * @param string|int $id Subject id (e.g. role slug or user ID)
189
+ *
190
+ * @return AAM_Core_Contract_Subject
191
+ *
192
+ * @access public
193
+ * @throws Exception If subject type is not valid
194
+ */
195
+ public function getSubject($type, $id = null) {
196
+ switch($type) {
197
+ case self::SUBJECT_USER:
198
+ $subject = $this->getUserSubject($id);
199
+ break;
200
+
201
+ case self::SUBJECT_ROLE:
202
+ $subject = $this->getRoleSubject($id);
203
+ break;
204
+
205
+ case self::SUBJECT_VISITOR:
206
+ $subject = $this->getVisitorSubject();
207
+ break;
208
+
209
+ case self::SUBJECT_DEFAULT:
210
+ $subject = $this->getDefaultSubject();
211
+ break;
212
+
213
+ default:
214
+ throw new Exception('Invalid subject type');
215
+ }
216
+
217
+ return $subject;
218
+ }
219
+
220
+ /**
221
+ * Get instance of the API gateway
222
+ *
223
+ * @return AAM_Core_Gateway
224
+ *
225
+ * @access public
226
+ * @static
227
+ */
228
+ public static function getInstance() {
229
+ if (is_null(self::$instance)) {
230
+ self::$instance = new self();
231
+ }
232
+
233
+ return self::$instance;
234
+ }
235
+
236
+ }
Application/Core/Importer.php CHANGED
@@ -50,7 +50,7 @@ class AAM_Core_Importer {
50
  } elseif ($table == '_usermeta') {
51
  $this->insertUsermeta($data);
52
  } else {
53
- do_action('aam-import', $table, $data);
54
  }
55
  }
56
 
50
  } elseif ($table == '_usermeta') {
51
  $this->insertUsermeta($data);
52
  } else {
53
+ do_action('aam-import-action', $table, $data);
54
  }
55
  }
56
 
Application/Core/JwtAuth.php CHANGED
@@ -127,7 +127,7 @@ class AAM_Core_JwtAuth {
127
  } else {
128
  $response->status = 400;
129
  $response->data = new WP_Error(
130
- 'jwt_empty_secret_key',
131
  __('JWT Authentication is enabled but secret key is not defined', AAM_KEY)
132
  );
133
  }
@@ -151,7 +151,7 @@ class AAM_Core_JwtAuth {
151
  $token = preg_replace('/^Bearer /', '', $_SERVER['HTTP_AUTHENTICATION']);
152
  }
153
 
154
- $token = apply_filters('aam-authentication-header-filter', $token);
155
  $key = AAM_Core_Config::get('authentication.jwt.secret');
156
 
157
  if ($token) {
127
  } else {
128
  $response->status = 400;
129
  $response->data = new WP_Error(
130
+ 'rest_jwt_empty_secret_key',
131
  __('JWT Authentication is enabled but secret key is not defined', AAM_KEY)
132
  );
133
  }
151
  $token = preg_replace('/^Bearer /', '', $_SERVER['HTTP_AUTHENTICATION']);
152
  }
153
 
154
+ $token = apply_filters('aam-jwt-authentication-header-filter', $token);
155
  $key = AAM_Core_Config::get('authentication.jwt.secret');
156
 
157
  if ($token) {
Application/Core/Login.php CHANGED
@@ -52,7 +52,7 @@ class AAM_Core_Login {
52
  add_action('wp_logout', array($this, 'logout'));
53
 
54
  //user login control
55
- add_filter('wp_authenticate_user', array($this, 'checkLockedUser'), 1, 2);
56
 
57
  //login process
58
  add_filter('login_message', array($this, 'loginMessage'));
@@ -116,17 +116,26 @@ class AAM_Core_Login {
116
  *
117
  * @access public
118
  */
119
- public function checkLockedUser($user) {
120
- if (is_a($user, 'WP_User') && $user->user_status == 1) {
121
- $user = new WP_Error();
122
-
123
- $message = '[ERROR]: User is locked. Please contact your website ';
124
- $message .= 'administrator.';
125
-
126
- $user->add(
127
- 'authentication_failed',
128
- AAM_Backend_View_Helper::preparePhrase($message, 'strong')
129
- );
 
 
 
 
 
 
 
 
 
130
  }
131
 
132
  return $user;
@@ -147,13 +156,11 @@ class AAM_Core_Login {
147
  if (empty($message)) {
148
  if ($reason == 'restricted') {
149
  $message = AAM_Core_Config::get(
150
- 'login.redirect.message',
151
  '<p class="message">' .
152
  __('Access denied. Please login to get access.', AAM_KEY) .
153
  '</p>'
154
  );
155
- } else {
156
- $message = apply_filters('aam-login-message-filter', $message);
157
  }
158
  }
159
 
52
  add_action('wp_logout', array($this, 'logout'));
53
 
54
  //user login control
55
+ add_filter('wp_authenticate_user', array($this, 'authenticateUser'), 1, 2);
56
 
57
  //login process
58
  add_filter('login_message', array($this, 'loginMessage'));
116
  *
117
  * @access public
118
  */
119
+ public function authenticateUser($user) {
120
+ if (is_a($user, 'WP_User')) {
121
+ // First check if user is blocked
122
+ if ($user->user_status == 1) {
123
+ $user = new WP_Error();
124
+
125
+ $message = '[ERROR]: User is locked. Please contact your website ';
126
+ $message .= 'administrator.';
127
+
128
+ $user->add(
129
+ 'authentication_failed',
130
+ AAM_Backend_View_Helper::preparePhrase($message, 'strong')
131
+ );
132
+ } elseif (AAM_Core_Config::get('single-session', false)) {
133
+ $sessions = WP_Session_Tokens::get_instance($user->ID);
134
+
135
+ if (count($sessions->get_all()) > 1) {
136
+ $sessions->destroy_all();
137
+ }
138
+ }
139
  }
140
 
141
  return $user;
156
  if (empty($message)) {
157
  if ($reason == 'restricted') {
158
  $message = AAM_Core_Config::get(
159
+ 'security.redirect.message',
160
  '<p class="message">' .
161
  __('Access denied. Please login to get access.', AAM_KEY) .
162
  '</p>'
163
  );
 
 
164
  }
165
  }
166
 
Application/Core/Media.php CHANGED
@@ -47,9 +47,9 @@ class AAM_Core_Media {
47
  if (AAM_Core_Request::get('aam-media')) {
48
  $this->initialize();
49
 
50
- if (AAM_Core_Config::get('media-access-control', false)) {
51
  $area = AAM_Core_Api_Area::get();
52
- if (AAM_Core_Config::get("{$area}-access-control", true)) {
53
  $this->checkMediaAccess();
54
  } else {
55
  $this->printMedia();
@@ -98,8 +98,8 @@ class AAM_Core_Media {
98
  'post' => $media->getPost()
99
  );
100
 
101
- if ($default = AAM_Core_Config::get('media.restricted.default')) {
102
- do_action('aam-rejected-action', $area, $args);
103
  $this->printMedia(get_post($default));
104
  } else {
105
  AAM_Core_API::reject($area, $args);
@@ -165,7 +165,7 @@ class AAM_Core_Media {
165
 
166
  $s = preg_replace('/(-[\d]+x[\d]+)(\.[\w]+)$/', '$2', $this->request_uri);
167
  $id = apply_filters(
168
- 'aam-find-media',
169
  $wpdb->get_var(
170
  $wpdb->prepare(
171
  "SELECT ID FROM {$wpdb->posts} WHERE guid LIKE %s",
47
  if (AAM_Core_Request::get('aam-media')) {
48
  $this->initialize();
49
 
50
+ if (AAM_Core_Config::get('core.settings.mediaAccessControl', false)) {
51
  $area = AAM_Core_Api_Area::get();
52
+ if (AAM_Core_Config::get("core.settings.{$area}AccessControl", true)) {
53
  $this->checkMediaAccess();
54
  } else {
55
  $this->printMedia();
98
  'post' => $media->getPost()
99
  );
100
 
101
+ if ($default = AAM_Core_Config::get('media.default.placeholder')) {
102
+ do_action('aam-access-rejected-action', $area, $args);
103
  $this->printMedia(get_post($default));
104
  } else {
105
  AAM_Core_API::reject($area, $args);
165
 
166
  $s = preg_replace('/(-[\d]+x[\d]+)(\.[\w]+)$/', '$2', $this->request_uri);
167
  $id = apply_filters(
168
+ 'aam-found-media-filter',
169
  $wpdb->get_var(
170
  $wpdb->prepare(
171
  "SELECT ID FROM {$wpdb->posts} WHERE guid LIKE %s",
Application/Core/Object.php CHANGED
@@ -13,7 +13,7 @@
13
  * @package AAM
14
  * @author Vasyl Martyniuk <vasyl@vasyltech.com>
15
  */
16
- abstract class AAM_Core_Object {
17
 
18
  /**
19
  * Subject
13
  * @package AAM
14
  * @author Vasyl Martyniuk <vasyl@vasyltech.com>
15
  */
16
+ abstract class AAM_Core_Object implements AAM_Core_Contract_Object {
17
 
18
  /**
19
  * Subject
Application/Core/Subject.php CHANGED
@@ -13,7 +13,7 @@
13
  * @package AAM
14
  * @author Vasyl Martyniuk <vasyl@vasyltech.com>
15
  */
16
- abstract class AAM_Core_Subject {
17
 
18
  /**
19
  * Subject ID
13
  * @package AAM
14
  * @author Vasyl Martyniuk <vasyl@vasyltech.com>
15
  */
16
+ abstract class AAM_Core_Subject implements AAM_Core_Contract_Subject {
17
 
18
  /**
19
  * Subject ID
Application/Core/Subject/User.php CHANGED
@@ -101,13 +101,12 @@ class AAM_Core_Subject_User extends AAM_Core_Subject {
101
  case 'delete':
102
  require_once(ABSPATH . 'wp-admin/includes/user.php' );
103
  wp_delete_user(
104
- $this->getId(), AAM_Core_Config::get('core.reasign.user')
105
  );
106
  wp_logout();
107
  break;
108
 
109
  default:
110
- do_action('aam-expired-user-action', $this);
111
  break;
112
  }
113
  }
101
  case 'delete':
102
  require_once(ABSPATH . 'wp-admin/includes/user.php' );
103
  wp_delete_user(
104
+ $this->getId(), AAM_Core_Config::get('core.reasign.ownership.user')
105
  );
106
  wp_logout();
107
  break;
108
 
109
  default:
 
110
  break;
111
  }
112
  }
Application/Extension/List.php CHANGED
@@ -21,7 +21,8 @@ class AAM_Extension_List {
21
  'type' => 'commercial',
22
  'description' => 'Get the complete list of all available premium extensions in one package. Any new premium extensions in the future will be available for no additional cost.',
23
  'url' => 'https://aamplugin.com/complete-package',
24
- 'version' => (defined('AAM_COMPLETE_PACKAGE') ? constant('AAM_COMPLETE_PACKAGE') : null)
 
25
  ),
26
  'AAM_PLUS_PACKAGE' => array(
27
  'title' => 'Plus Package',
@@ -29,7 +30,8 @@ class AAM_Extension_List {
29
  'type' => 'commercial',
30
  'description' => 'The best selling extension with the most advanced content management features for the WordPress CMS. Manage granular access to any post, page, custom post type, category, custom hierarchical taxonomy or define the default access to all your content for all users, roles and visitors.',
31
  'url' => 'https://aamplugin.com/extension/plus-package',
32
- 'version' => (defined('AAM_PLUS_PACKAGE') ? constant('AAM_PLUS_PACKAGE') : null)
 
33
  ),
34
  'AAM_IP_CHECK' => array(
35
  'title' => 'IP Check',
@@ -37,7 +39,8 @@ class AAM_Extension_List {
37
  'type' => 'commercial',
38
  'description' => 'Manage access to your entire website based on visitor\'s geo-location, refered host or IP address.',
39
  'url' => 'https://aamplugin.com/extension/ip-check',
40
- 'version' => (defined('AAM_IP_CHECK') ? constant('AAM_IP_CHECK') : null)
 
41
  ),
42
  'AAM_ROLE_HIERARCHY' => array(
43
  'title' => 'Role Hierarchy',
@@ -45,7 +48,8 @@ class AAM_Extension_List {
45
  'type' => 'commercial',
46
  'description' => 'This extension alters default WordPress linear role system and give you the ability to create complex role hierarchy tree where all access settings are automatically inherited from parent roles.',
47
  'url' => 'https://aamplugin.com/extension/role-hierarchy',
48
- 'version' => (defined('AAM_ROLE_HIERARCHY') ? constant('AAM_ROLE_HIERARCHY') : null)
 
49
  ),
50
  'AAM_ECOMMERCE' => array(
51
  'title' => 'E-Commerce',
@@ -54,7 +58,8 @@ class AAM_Extension_List {
54
  'new' => true,
55
  'description' => 'Start selling access to your website content. This extension gives you the ability to define list of E-Commerce products that you can bind with any content on your website. The properly configured AAM Payment widget allows any authenticated user to purchase access with credit/debig card or PayPal. Braintree and Stripe gateways are used to handle payment transactions.',
56
  'url' => 'https://aamplugin.com/extension/ecommerce',
57
- 'version' => (defined('AAM_ECOMMERCE') ? constant('AAM_ECOMMERCE') : null)
 
58
  ),
59
  // TODO: Remove in Dec 2018
60
  'AAM_PAYMENT' => array(
@@ -63,7 +68,8 @@ class AAM_Extension_List {
63
  'type' => 'commercial',
64
  'description' => AAM_Backend_View_Helper::preparePhrase('[Deprecated!]. The extension is deprecated and replaces with more sophisticated E-Commerce extension. If you already purchased it, please contact us to upgrade your license for no additional cost.', 'b'),
65
  'url' => 'https://aamplugin.com/extension/ecommerce',
66
- 'version' => (defined('AAM_PAYMENT') ? constant('AAM_PAYMENT') : null)
 
67
  ),
68
  'AAM_MULTISITE' => array(
69
  'title' => 'Multisite',
@@ -71,7 +77,8 @@ class AAM_Extension_List {
71
  'type' => 'GNU',
72
  'license' => 'AAMMULTISITE',
73
  'description' => 'Convenient way to navigate between different sites in the Network Admin Panel. This is the open source solution and you can find it on the <a href="https://github.com/aamplugin/multisite-extension" target="_blank">Github here</a>.',
74
- 'version' => (defined('AAM_MULTISITE') ? constant('AAM_MULTISITE') : null)
 
75
  ),
76
  'AAM_USER_ACTIVITY' => array(
77
  'title' => 'User Activities',
@@ -79,7 +86,8 @@ class AAM_Extension_List {
79
  'type' => 'GNU',
80
  'license' => 'AAMUSERACTIVITY',
81
  'description' => 'Track any kind of user or visitor activity on your website. <a href="https://aamplugin.com/help/how-to-track-any-wordpress-user-activity" target="_blank">Read more.</a> This is the open source solution and you can find it on the <a href="https://github.com/aamplugin/user-activity-extension" target="_blank">Github here</a>.',
82
- 'version' => (defined('AAM_USER_ACTIVITY') ? constant('AAM_USER_ACTIVITY') : null)
 
83
  ),
84
  'AAM_SOCIAL_LOGIN' => array(
85
  'title' => 'Social Login',
@@ -88,7 +96,8 @@ class AAM_Extension_List {
88
  'tag' => 'ALPHA',
89
  'license' => 'AAMSOCIALLOGIN',
90
  'description' => 'Login to your website with social networks like Facebook, Twitter, Instagram etc. This is the open source solution and you can find it on the <a href="https://github.com/aamplugin/social-login-extension" target="_blank">Github here</a>.',
91
- 'version' => (defined('AAM_SOCIAL_LOGIN') ? constant('AAM_SOCIAL_LOGIN') : null)
 
92
  ),
93
  );
94
  }
21
  'type' => 'commercial',
22
  'description' => 'Get the complete list of all available premium extensions in one package. Any new premium extensions in the future will be available for no additional cost.',
23
  'url' => 'https://aamplugin.com/complete-package',
24
+ 'version' => (defined('AAM_COMPLETE_PACKAGE') ? constant('AAM_COMPLETE_PACKAGE') : null),
25
+ 'latest' => '3.7.2'
26
  ),
27
  'AAM_PLUS_PACKAGE' => array(
28
  'title' => 'Plus Package',
30
  'type' => 'commercial',
31
  'description' => 'The best selling extension with the most advanced content management features for the WordPress CMS. Manage granular access to any post, page, custom post type, category, custom hierarchical taxonomy or define the default access to all your content for all users, roles and visitors.',
32
  'url' => 'https://aamplugin.com/extension/plus-package',
33
+ 'version' => (defined('AAM_PLUS_PACKAGE') ? constant('AAM_PLUS_PACKAGE') : null),
34
+ 'latest' => '3.6.2'
35
  ),
36
  'AAM_IP_CHECK' => array(
37
  'title' => 'IP Check',
39
  'type' => 'commercial',
40
  'description' => 'Manage access to your entire website based on visitor\'s geo-location, refered host or IP address.',
41
  'url' => 'https://aamplugin.com/extension/ip-check',
42
+ 'version' => (defined('AAM_IP_CHECK') ? constant('AAM_IP_CHECK') : null),
43
+ 'latest' => '1.2.2'
44
  ),
45
  'AAM_ROLE_HIERARCHY' => array(
46
  'title' => 'Role Hierarchy',
48
  'type' => 'commercial',
49
  'description' => 'This extension alters default WordPress linear role system and give you the ability to create complex role hierarchy tree where all access settings are automatically inherited from parent roles.',
50
  'url' => 'https://aamplugin.com/extension/role-hierarchy',
51
+ 'version' => (defined('AAM_ROLE_HIERARCHY') ? constant('AAM_ROLE_HIERARCHY') : null),
52
+ 'latest' => '1.4'
53
  ),
54
  'AAM_ECOMMERCE' => array(
55
  'title' => 'E-Commerce',
58
  'new' => true,
59
  'description' => 'Start selling access to your website content. This extension gives you the ability to define list of E-Commerce products that you can bind with any content on your website. The properly configured AAM Payment widget allows any authenticated user to purchase access with credit/debig card or PayPal. Braintree and Stripe gateways are used to handle payment transactions.',
60
  'url' => 'https://aamplugin.com/extension/ecommerce',
61
+ 'version' => (defined('AAM_ECOMMERCE') ? constant('AAM_ECOMMERCE') : null),
62
+ 'latest' => '1.2.1'
63
  ),
64
  // TODO: Remove in Dec 2018
65
  'AAM_PAYMENT' => array(
68
  'type' => 'commercial',
69
  'description' => AAM_Backend_View_Helper::preparePhrase('[Deprecated!]. The extension is deprecated and replaces with more sophisticated E-Commerce extension. If you already purchased it, please contact us to upgrade your license for no additional cost.', 'b'),
70
  'url' => 'https://aamplugin.com/extension/ecommerce',
71
+ 'version' => (defined('AAM_PAYMENT') ? constant('AAM_PAYMENT') : null),
72
+ 'latest' => '1.1'
73
  ),
74
  'AAM_MULTISITE' => array(
75
  'title' => 'Multisite',
77
  'type' => 'GNU',
78
  'license' => 'AAMMULTISITE',
79
  'description' => 'Convenient way to navigate between different sites in the Network Admin Panel. This is the open source solution and you can find it on the <a href="https://github.com/aamplugin/multisite-extension" target="_blank">Github here</a>.',
80
+ 'version' => (defined('AAM_MULTISITE') ? constant('AAM_MULTISITE') : null),
81
+ 'latest' => '2.5.3'
82
  ),
83
  'AAM_USER_ACTIVITY' => array(
84
  'title' => 'User Activities',
86
  'type' => 'GNU',
87
  'license' => 'AAMUSERACTIVITY',
88
  'description' => 'Track any kind of user or visitor activity on your website. <a href="https://aamplugin.com/help/how-to-track-any-wordpress-user-activity" target="_blank">Read more.</a> This is the open source solution and you can find it on the <a href="https://github.com/aamplugin/user-activity-extension" target="_blank">Github here</a>.',
89
+ 'version' => (defined('AAM_USER_ACTIVITY') ? constant('AAM_USER_ACTIVITY') : null),
90
+ 'latest' => '1.4.1'
91
  ),
92
  'AAM_SOCIAL_LOGIN' => array(
93
  'title' => 'Social Login',
96
  'tag' => 'ALPHA',
97
  'license' => 'AAMSOCIALLOGIN',
98
  'description' => 'Login to your website with social networks like Facebook, Twitter, Instagram etc. This is the open source solution and you can find it on the <a href="https://github.com/aamplugin/social-login-extension" target="_blank">Github here</a>.',
99
+ 'version' => (defined('AAM_SOCIAL_LOGIN') ? constant('AAM_SOCIAL_LOGIN') : null),
100
+ 'latest' => '0.1'
101
  ),
102
  );
103
  }
Application/Extension/Repository.php CHANGED
@@ -92,6 +92,7 @@ class AAM_Extension_Repository {
92
  $this->bootstrapExtension($basedir . '/' . $extension);
93
  }
94
  }
 
95
  //Very important hook for cases when there is extensions dependancy.
96
  //For example AAM Plus Package depends on AAM Utitlities properties
97
  do_action('aam-post-extensions-load');
@@ -303,9 +304,19 @@ class AAM_Extension_Repository {
303
  } else {
304
  $valid = true;
305
  }
 
 
 
 
 
 
 
 
 
 
 
306
 
307
- return $valid && isset($retrieved->$id)
308
- && version_compare($version, $retrieved->$id->version) == -1;
309
  }
310
 
311
  /**
@@ -342,7 +353,7 @@ class AAM_Extension_Repository {
342
  * @access public
343
  */
344
  public function getBasedir() {
345
- $dirname = AAM_Core_Config::get('extention.directory', AAM_EXTENSION_BASE);
346
 
347
  if (file_exists($dirname) === false) {
348
  @mkdir($dirname, fileperms( ABSPATH ) & 0777 | 0755);
92
  $this->bootstrapExtension($basedir . '/' . $extension);
93
  }
94
  }
95
+ // TODO: Rethink this hook
96
  //Very important hook for cases when there is extensions dependancy.
97
  //For example AAM Plus Package depends on AAM Utitlities properties
98
  do_action('aam-post-extensions-load');
304
  } else {
305
  $valid = true;
306
  }
307
+
308
+ $outdated = false;
309
+
310
+ if ($valid) {
311
+ // first check the retrieved version from the server
312
+ if (isset($retrieved->$id)) {
313
+ $outdated = version_compare($version, $retrieved->$id->version) == -1;
314
+ } else {
315
+ $outdated = version_compare($version, $item['latest']);
316
+ }
317
+ }
318
 
319
+ return $outdated;
 
320
  }
321
 
322
  /**
353
  * @access public
354
  */
355
  public function getBasedir() {
356
+ $dirname = AAM_Core_Config::get('core.extention.directory', AAM_EXTENSION_BASE);
357
 
358
  if (file_exists($dirname) === false) {
359
  @mkdir($dirname, fileperms( ABSPATH ) & 0777 | 0755);
Application/Frontend/Authorization.php CHANGED
@@ -75,7 +75,7 @@ class AAM_Frontend_Authorization {
75
  $date = strtotime($post->get('frontend.expire_datetime'));
76
  if ($date <= time()) {
77
  $actions = AAM_Core_Config::get(
78
- 'post.access.expired', 'frontend.read'
79
  );
80
 
81
  foreach(array_map('trim', explode(',', $actions)) as $action) {
@@ -141,8 +141,18 @@ class AAM_Frontend_Authorization {
141
  * @access protected
142
  */
143
  protected function checkRedirect(AAM_Core_Object_Post $post) {
144
- if ($post->has('frontend.redirect')) {
145
- AAM_Core_API::redirect($post->get('frontend.location'));
 
 
 
 
 
 
 
 
 
 
146
  }
147
  }
148
 
75
  $date = strtotime($post->get('frontend.expire_datetime'));
76
  if ($date <= time()) {
77
  $actions = AAM_Core_Config::get(
78
+ 'feature.post.access.expired', 'frontend.read'
79
  );
80
 
81
  foreach(array_map('trim', explode(',', $actions)) as $action) {
141
  * @access protected
142
  */
143
  protected function checkRedirect(AAM_Core_Object_Post $post) {
144
+ if ($post->has(AAM_Core_Api_Area::get() . '.redirect')) {
145
+ $rule = explode('|', $post->get(AAM_Core_Api_Area::get() . '.location'));
146
+
147
+ if (count($rule) == 1) { // TODO: legacy. Remove in Jul 2020
148
+ AAM_Core_API::redirect($rule[0]);
149
+ } elseif ($rule[0] == 'page') {
150
+ wp_safe_redirect(get_page_link($rule[1]), 307);
151
+ } elseif ($rule[0] == 'url') {
152
+ wp_redirect($rule[1], 307);
153
+ } elseif (($rule[0] == 'callback') && is_callable($rule[1])) {
154
+ call_user_func($rule[1], $post);
155
+ }
156
  }
157
  }
158
 
Application/Frontend/Filter.php CHANGED
@@ -40,7 +40,7 @@ class AAM_Frontend_Filter {
40
  add_action('404_template', array($this, 'themeRedirect'), 999);
41
 
42
  //important to keep this option optional for optimization reasons
43
- if (AAM_Core_Config::get('check-post-visibility', true)) {
44
  //filter navigation pages & taxonomies
45
  add_filter('wp_get_nav_menu_items', array($this, 'getNavigationMenu'), 999);
46
  }
@@ -65,7 +65,7 @@ class AAM_Frontend_Filter {
65
 
66
  if ($wp_query->is_404) { // Handle 404 redirect
67
  $type = AAM_Core_Config::get('frontend.404redirect.type', 'default');
68
- do_action('aam-rejected-action', 'frontend', array(
69
  'hook' => 'aam_404',
70
  'uri' => AAM_Core_Request::server('REQUEST_URI')
71
  ));
40
  add_action('404_template', array($this, 'themeRedirect'), 999);
41
 
42
  //important to keep this option optional for optimization reasons
43
+ if (AAM_Core_Config::get('core.settings.checkPostVisibility', true)) {
44
  //filter navigation pages & taxonomies
45
  add_filter('wp_get_nav_menu_items', array($this, 'getNavigationMenu'), 999);
46
  }
65
 
66
  if ($wp_query->is_404) { // Handle 404 redirect
67
  $type = AAM_Core_Config::get('frontend.404redirect.type', 'default');
68
+ do_action('aam-access-rejected-action', 'frontend', array(
69
  'hook' => 'aam_404',
70
  'uri' => AAM_Core_Request::server('REQUEST_URI')
71
  ));
Application/Frontend/Manager.php CHANGED
@@ -32,7 +32,7 @@ class AAM_Frontend_Manager {
32
  * @access public
33
  */
34
  public function __construct() {
35
- if (AAM_Core_Config::get('frontend-access-control', true)) {
36
  AAM_Frontend_Filter::register();
37
  }
38
 
@@ -46,7 +46,7 @@ class AAM_Frontend_Manager {
46
  $this->checkAdminBar();
47
 
48
  //register login widget
49
- if (AAM_Core_Config::get('secure-login', true)) {
50
  add_action('widgets_init', array($this, 'registerLoginWidget'));
51
  add_action('wp_enqueue_scripts', array($this, 'printJavascript'));
52
  }
@@ -109,7 +109,7 @@ class AAM_Frontend_Manager {
109
  * @access public
110
  */
111
  public function printJavascript() {
112
- if (AAM_Core_Config::get('secure-login', true)) {
113
  wp_enqueue_script('aam-login', AAM_MEDIA . '/js/aam-login.js');
114
 
115
  //add plugin localization
@@ -161,7 +161,7 @@ class AAM_Frontend_Manager {
161
  * @access public
162
  */
163
  public function checkPassExpiration($expire) {
164
- $overwrite = AAM_Core_Config::get('post.password.expires', null);
165
 
166
  if ($overwrite !== null) {
167
  $expire = ($overwrite ? time() + strtotime($overwrite) : 0);
32
  * @access public
33
  */
34
  public function __construct() {
35
+ if (AAM_Core_Config::get('core.settings.frontendAccessControl', true)) {
36
  AAM_Frontend_Filter::register();
37
  }
38
 
46
  $this->checkAdminBar();
47
 
48
  //register login widget
49
+ if (AAM_Core_Config::get('core.settings.secureLogin', true)) {
50
  add_action('widgets_init', array($this, 'registerLoginWidget'));
51
  add_action('wp_enqueue_scripts', array($this, 'printJavascript'));
52
  }
109
  * @access public
110
  */
111
  public function printJavascript() {
112
+ if (AAM_Core_Config::get('core.settings.secureLogin', true)) {
113
  wp_enqueue_script('aam-login', AAM_MEDIA . '/js/aam-login.js');
114
 
115
  //add plugin localization
161
  * @access public
162
  */
163
  public function checkPassExpiration($expire) {
164
+ $overwrite = AAM_Core_Config::get('feature.post.password.expires', null);
165
 
166
  if ($overwrite !== null) {
167
  $expire = ($overwrite ? time() + strtotime($overwrite) : 0);
Application/Frontend/phtml/login.phtml CHANGED
@@ -48,10 +48,10 @@
48
  <div>
49
  <?php $allowAdmin = !AAM_Core_API::capabilityExists('access_dashboard') || AAM::getUser()->hasCapability('access_dashboard'); ?>
50
  <?php if ($allowAdmin) { ?>
51
- <a href="<?php echo esc_url(get_admin_url()); ?>"><?php echo __('Dashboard'); ?></a>&nbsp;|&nbsp;
52
  <a href="<?php echo esc_url(get_admin_url(null, 'profile.php')); ?>"><?php echo __('Edit My Profile', AAM_KEY); ?></a>&nbsp;|&nbsp;
53
  <?php } ?>
54
- <a href="<?php echo esc_url(wp_logout_url()); ?>"><?php echo __('Log Out'); ?></a>
55
  </div>
56
  </div>
57
  <?php }
48
  <div>
49
  <?php $allowAdmin = !AAM_Core_API::capabilityExists('access_dashboard') || AAM::getUser()->hasCapability('access_dashboard'); ?>
50
  <?php if ($allowAdmin) { ?>
51
+ <a href="<?php echo esc_url(get_admin_url()); ?>"><?php echo __('Dashboard', AAM_KEY); ?></a>&nbsp;|&nbsp;
52
  <a href="<?php echo esc_url(get_admin_url(null, 'profile.php')); ?>"><?php echo __('Edit My Profile', AAM_KEY); ?></a>&nbsp;|&nbsp;
53
  <?php } ?>
54
+ <a href="<?php echo esc_url(wp_logout_url()); ?>"><?php echo __('Log Out', AAM_KEY); ?></a>
55
  </div>
56
  </div>
57
  <?php }
Application/Shared/Manager.php CHANGED
@@ -45,12 +45,12 @@ class AAM_Shared_Manager {
45
  self::$_instance = new self;
46
 
47
  // Disable XML-RPC if needed
48
- if (!AAM_Core_Config::get('core.xmlrpc', true)) {
49
  add_filter('xmlrpc_enabled', '__return_false');
50
  }
51
 
52
  // Disable RESTful API if needed
53
- if (!AAM_Core_Config::get('core.restful', true)) {
54
  add_filter(
55
  'rest_authentication_errors',
56
  array(self::$_instance, 'disableRest'),
@@ -60,7 +60,7 @@ class AAM_Shared_Manager {
60
 
61
  // Control post visibility
62
  //important to keep this option optional for optimization reasons
63
- if (AAM_Core_Config::get('check-post-visibility', true)) {
64
  // filter navigation pages & taxonomies
65
  add_filter('get_pages', array(self::$_instance, 'filterPostList'), 999);
66
  // add post filter for LIST restriction
45
  self::$_instance = new self;
46
 
47
  // Disable XML-RPC if needed
48
+ if (!AAM_Core_Config::get('core.settings.xmlrpc', true)) {
49
  add_filter('xmlrpc_enabled', '__return_false');
50
  }
51
 
52
  // Disable RESTful API if needed
53
+ if (!AAM_Core_Config::get('core.settings.restful', true)) {
54
  add_filter(
55
  'rest_authentication_errors',
56
  array(self::$_instance, 'disableRest'),
60
 
61
  // Control post visibility
62
  //important to keep this option optional for optimization reasons
63
+ if (AAM_Core_Config::get('core.settings.checkPostVisibility', true)) {
64
  // filter navigation pages & taxonomies
65
  add_filter('get_pages', array(self::$_instance, 'filterPostList'), 999);
66
  // add post filter for LIST restriction
Application/Shortcode/Strategy/Login.php CHANGED
@@ -63,8 +63,8 @@ class AAM_Shortcode_Strategy_Login implements AAM_Shortcode_Strategy_Interface {
63
  } else {
64
  ob_start();
65
  require AAM_Core_Config::get(
66
- 'login.shortcode.template',
67
- realpath(dirname(__FILE__) . '/../../Frontend/phtml/login.phtml')
68
  );
69
  $content = ob_get_contents();
70
  ob_end_clean();
63
  } else {
64
  ob_start();
65
  require AAM_Core_Config::get(
66
+ 'feature.secureLogin.shortcode.template',
67
+ realpath(AAM_BASEDIR . '/Application/Frontend/phtml/login.phtml')
68
  );
69
  $content = ob_get_contents();
70
  ob_end_clean();
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: 2018-03-20 18:40-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.6\n"
11
  "Plural-Forms: nplurals=2; plural=(n != 1);\n"
12
  "X-Poedit-SourceCharset: UTF-8\n"
13
  "X-Poedit-KeywordsList: __;preparePhrase\n"
@@ -16,6 +16,10 @@ msgstr ""
16
  "Language: en_US\n"
17
  "X-Poedit-SearchPath-0: .\n"
18
 
 
 
 
 
19
  #: Application/Backend/Feature/Extension/Manager.php:59
20
  msgid "You may try to install extension manually."
21
  msgstr ""
@@ -36,35 +40,32 @@ msgstr ""
36
  msgid "Can not remove the capability"
37
  msgstr ""
38
 
39
- #: Application/Backend/Feature/Main/Capability.php:218
40
- #: Application/Backend/Feature/Main/Capability.php:259
41
  msgid "System"
42
  msgstr ""
43
 
44
- #: Application/Backend/Feature/Main/Capability.php:219
45
- #: Application/Backend/Feature/Main/Capability.php:261
46
- #: Application/Backend/Feature/Main/Post.php:549
47
  msgid "Posts & Pages"
48
  msgstr ""
49
 
50
- #: Application/Backend/Feature/Main/Capability.php:220
51
- #: Application/Backend/Feature/Main/Capability.php:263
52
- #: Application/Backend/phtml/frame.phtml:145
53
- #: Application/Backend/phtml/main/post.phtml:105
54
  msgid "Backend"
55
  msgstr ""
56
 
57
- #: Application/Backend/Feature/Main/Capability.php:221
58
- #: Application/Backend/Feature/Main/Capability.php:265
59
  msgid "AAM Interface"
60
  msgstr ""
61
 
62
- #: Application/Backend/Feature/Main/Capability.php:222
63
- #: Application/Backend/Feature/Main/Capability.php:267
64
  msgid "Miscellaneous"
65
  msgstr ""
66
 
67
- #: Application/Backend/Feature/Main/Capability.php:299
68
  msgid "Capabilities"
69
  msgstr ""
70
 
@@ -80,14 +81,40 @@ msgstr ""
80
  msgid "Backend Menu"
81
  msgstr ""
82
 
83
- #: Application/Backend/Feature/Main/Metabox.php:241
84
  msgid "Metaboxes & Widgets"
85
  msgstr ""
86
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
87
  #: Application/Backend/Feature/Main/Redirect.php:83
88
  msgid "Access Denied Redirect"
89
  msgstr ""
90
 
 
 
 
 
91
  #: Application/Backend/Feature/Settings/ConfigPress.php:53
92
  msgid "ConfigPress"
93
  msgstr ""
@@ -110,9 +137,10 @@ msgstr ""
110
 
111
  #: Application/Backend/Feature/Settings/Content.php:38
112
  msgid ""
113
- "For performance reasons, keep this option uncheck if do not use LIST or LIST "
114
- "TO OTHERS access options on Posts & Pages tab. When it is checked, AAM will "
115
- "filter list of posts that are hidden for a user on both frontend and backend."
 
116
  msgstr ""
117
 
118
  #: Application/Backend/Feature/Settings/Content.php:42
@@ -122,7 +150,7 @@ msgstr ""
122
  #: Application/Backend/Feature/Settings/Content.php:43
123
  msgid ""
124
  "By default AAM allows you to manage access only to public post types on "
125
- "Posts & Pages tab. By enabling this feature, you also will be able to manage "
126
  "access to hidden post types like revisions, navigation menus or any other "
127
  "custom post types that are not registered as public."
128
  msgstr ""
@@ -139,7 +167,7 @@ msgstr ""
139
  msgid ""
140
  "Allow to edit or delete any existing capability on the Capabilities tab. "
141
  "[Warning!] For experienced users only. Changing or deleting capability may "
142
- "result in loosing access to some features or the entire website."
143
  msgstr ""
144
 
145
  #: Application/Backend/Feature/Settings/Core.php:37
@@ -148,9 +176,8 @@ msgstr ""
148
 
149
  #: Application/Backend/Feature/Settings/Core.php:38
150
  msgid ""
151
- "Allow AAM to manage access to the backend. Keep this option disabled if "
152
- "there is no needs to restrict backend features for other users. This option "
153
- "may reduce your website backend performance."
154
  msgstr ""
155
 
156
  #: Application/Backend/Feature/Settings/Core.php:42
@@ -159,48 +186,80 @@ msgstr ""
159
 
160
  #: Application/Backend/Feature/Settings/Core.php:43
161
  msgid ""
162
- "Allow AAM to manage access to frontend resources. If there is no need to "
163
- "manage access to the website frontend then keep this option unchecked as it "
164
- "may increase your webiste performance."
165
  msgstr ""
166
 
167
  #: Application/Backend/Feature/Settings/Core.php:47
168
- msgid "Render Access Manager Metabox"
169
  msgstr ""
170
 
171
  #: Application/Backend/Feature/Settings/Core.php:48
172
  msgid ""
173
- "Render Access Manager metabox on all post and category edit pages. Access "
174
- "Manager metabox is the quick way to manage access to any post or category "
175
- "without leaving an edit page."
176
  msgstr ""
177
 
178
  #: Application/Backend/Feature/Settings/Core.php:52
179
- msgid "Render Access Link"
180
  msgstr ""
181
 
182
  #: Application/Backend/Feature/Settings/Core.php:53
183
  msgid ""
 
 
 
 
 
 
 
 
 
 
 
184
  "Render Access shortcut link under any post, page, custom post type, "
185
  "category, custom taxonomy title or user name."
186
  msgstr ""
187
 
188
- #: Application/Backend/Feature/Settings/Core.php:57
189
  msgid "Secure Login"
190
  msgstr ""
191
 
192
- #: Application/Backend/Feature/Settings/Core.php:58
193
  msgid ""
194
  "AAM comes with its own user login handler. With this feature you can add "
195
  "AJAX login widget to your frontend page that significantly enhance your "
196
  "website security."
197
  msgstr ""
198
 
199
- #: Application/Backend/Feature/Settings/Core.php:62
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
200
  msgid "JWT Authentication"
201
  msgstr ""
202
 
203
- #: Application/Backend/Feature/Settings/Core.php:63
204
  #, php-format
205
  msgid ""
206
  "[Note!] PHP 5.4 or higher is required for this feature. Enable the ability "
@@ -209,11 +268,11 @@ msgid ""
209
  "article"
210
  msgstr ""
211
 
212
- #: Application/Backend/Feature/Settings/Core.php:82
213
  msgid "Core Settings"
214
  msgstr ""
215
 
216
- #: Application/Backend/Feature/Settings/Tools.php:102
217
  msgid "Tools"
218
  msgstr ""
219
 
@@ -221,80 +280,76 @@ msgstr ""
221
  msgid "Operation is not permitted"
222
  msgstr ""
223
 
224
- #: Application/Backend/Feature/Subject/User.php:77
225
  msgid "You cannot set expiration to yourself"
226
  msgstr ""
227
 
228
- #: Application/Backend/Manager.php:119
229
- msgid "AAM requires PHP version 5.3.0 or higher to function properly"
230
- msgstr ""
231
-
232
- #: Application/Backend/Manager.php:357
233
  msgid "Access Manager"
234
  msgstr ""
235
 
236
- #: Application/Backend/Manager.php:444 Application/Backend/Manager.php:462
237
- #: Application/Backend/Manager.php:485
238
  msgid "Access"
239
  msgstr ""
240
 
241
- #: Application/Backend/Manager.php:635 Application/Backend/Manager.php:658
242
- #: Application/Core/API.php:247
243
  msgid "Access Denied"
244
  msgstr ""
245
 
246
- #: Application/Backend/View/Localization.php:26 media/js/aam.js:1236
247
  msgid "Search Capability"
248
  msgstr ""
249
 
250
- #: Application/Backend/View/Localization.php:27 media/js/aam.js:1237
251
  msgid "_TOTAL_ capability(s)"
252
  msgstr ""
253
 
254
- #: Application/Backend/View/Localization.php:28 media/js/aam.js:327
255
- #: media/js/aam.js:388 media/js/aam.js:766 media/js/aam.js:1339
256
- #: media/js/aam.js:1383 media/js/aam.js:1901
257
  msgid "Saving..."
258
  msgstr ""
259
 
260
- #: Application/Backend/View/Localization.php:29 media/js/aam.js:1347
261
  msgid "Failed to add new capability"
262
  msgstr ""
263
 
264
- #: Application/Backend/View/Localization.php:30 media/js/aam.js:347
265
- #: media/js/aam.js:400 media/js/aam.js:437 media/js/aam.js:531
266
- #: media/js/aam.js:563 media/js/aam.js:776 media/js/aam.js:809
267
- #: media/js/aam.js:1054 media/js/aam.js:1090 media/js/aam.js:1124
268
- #: media/js/aam.js:1352 media/js/aam.js:1396 media/js/aam.js:1435
269
- #: media/js/aam.js:1518 media/js/aam.js:1663 media/js/aam.js:2167
270
- #: media/js/aam.js:2243 media/js/aam.js:2272 media/js/aam.js:2646
271
- #: media/js/aam.js:2990 media/js/aam.js:3015
272
  msgid "Application error"
273
  msgstr ""
274
 
275
- #: Application/Backend/View/Localization.php:31 media/js/aam.js:1355
276
  msgid "Add Capability"
277
  msgstr ""
278
 
279
- #: Application/Backend/View/Localization.php:32 media/js/aam.js:968
280
- #: Application/Backend/phtml/main/menu.phtml:70
281
  msgid "Show Menu"
282
  msgstr ""
283
 
284
- #: Application/Backend/View/Localization.php:33 media/js/aam.js:978
285
- #: Application/Backend/phtml/main/menu.phtml:74
286
  msgid "Restrict Menu"
287
  msgstr ""
288
 
289
- #: Application/Backend/View/Localization.php:34 media/js/aam.js:1085
290
  msgid "Failed to retrieve mataboxes"
291
  msgstr ""
292
 
293
- #: Application/Backend/View/Localization.php:35 media/js/aam.js:1706
294
  msgid "Search"
295
  msgstr ""
296
 
297
- #: Application/Backend/View/Localization.php:36 media/js/aam.js:1707
298
  msgid "_TOTAL_ object(s)"
299
  msgstr ""
300
 
@@ -303,6 +358,7 @@ msgid "Failed"
303
  msgstr ""
304
 
305
  #: Application/Backend/View/Localization.php:38 media/js/aam.js:58
 
306
  msgid "Loading..."
307
  msgstr ""
308
 
@@ -319,7 +375,7 @@ msgid "_TOTAL_ role(s)"
319
  msgstr ""
320
 
321
  #: Application/Backend/View/Localization.php:42 media/js/aam.js:130
322
- #: media/js/aam.js:604 Application/Backend/phtml/index.phtml:168
323
  #: Application/Backend/phtml/main/capability.phtml:26
324
  #: Application/Backend/phtml/main/capability.phtml:64
325
  msgid "Create"
@@ -327,70 +383,70 @@ msgstr ""
327
 
328
  #: Application/Backend/View/Localization.php:43 media/js/aam.js:154
329
  #: Application/Backend/phtml/index.phtml:122
330
- #: Application/Backend/phtml/index.phtml:296
331
  msgid "Users"
332
  msgstr ""
333
 
334
- #: Application/Backend/View/Localization.php:44 media/js/aam.js:342
335
  msgid "Failed to add new role"
336
  msgstr ""
337
 
338
- #: Application/Backend/View/Localization.php:45 media/js/aam.js:350
339
  msgid "Add Role"
340
  msgstr ""
341
 
342
- #: Application/Backend/View/Localization.php:46 media/js/aam.js:395
343
  msgid "Failed to update role"
344
  msgstr ""
345
 
346
- #: Application/Backend/View/Localization.php:47 media/js/aam.js:404
 
347
  #: Application/Backend/phtml/extensions.phtml:51
348
  #: Application/Backend/phtml/extensions.phtml:78
349
  #: Application/Backend/phtml/index.phtml:194
350
  #: Application/Backend/phtml/main/capability.phtml:86
351
- #: Application/Backend/phtml/partial/post-advanced-settings.phtml:16
352
  #: Application/Backend/phtml/partial/post-advanced-settings.phtml:37
353
- #: Application/Backend/phtml/partial/post-advanced-settings.phtml:59
354
- #: Application/Backend/phtml/partial/post-advanced-settings.phtml:86
355
- #: Application/Backend/phtml/partial/post-advanced-settings.phtml:130
356
  msgid "Update"
357
  msgstr ""
358
 
359
- #: Application/Backend/View/Localization.php:48 media/js/aam.js:427
360
- #: media/js/aam.js:1422
361
  msgid "Deleting..."
362
  msgstr ""
363
 
364
- #: Application/Backend/View/Localization.php:49 media/js/aam.js:433
365
  msgid "Failed to delete role"
366
  msgstr ""
367
 
368
  #: Application/Backend/View/Localization.php:50
369
- #: Application/Backend/View/Localization.php:62 media/js/aam.js:252
370
- #: media/js/aam.js:441 Application/Backend/phtml/index.phtml:206
371
  msgid "Delete Role"
372
  msgstr ""
373
 
374
- #: Application/Backend/View/Localization.php:51 media/js/aam.js:527
375
  msgid "Failed to block user"
376
  msgstr ""
377
 
378
- #: Application/Backend/View/Localization.php:52 media/js/aam.js:595
379
  msgid "Search User"
380
  msgstr ""
381
 
382
- #: Application/Backend/View/Localization.php:53 media/js/aam.js:596
383
  msgid "_TOTAL_ user(s)"
384
  msgstr ""
385
 
386
- #: Application/Backend/View/Localization.php:54 media/js/aam.js:621
387
- #: Application/Backend/phtml/frame.phtml:46
388
  #: Application/Backend/phtml/index.phtml:139
 
389
  msgid "Role"
390
  msgstr ""
391
 
392
  #: Application/Backend/View/Localization.php:55
393
- #: Application/Core/Subject/Visitor.php:79 media/js/aam.js:854
394
  msgid "Anonymous"
395
  msgstr ""
396
 
@@ -402,38 +458,38 @@ msgstr ""
402
  msgid "Current role"
403
  msgstr ""
404
 
405
- #: Application/Backend/View/Localization.php:58 media/js/aam.js:1795
406
  msgid "Manage Access"
407
  msgstr ""
408
 
409
  #: Application/Backend/View/Localization.php:59
410
- #: Application/Backend/View/PostOptionList.php:91 media/js/aam.js:1807
411
  msgid "Edit"
412
  msgstr ""
413
 
414
- #: Application/Backend/View/Localization.php:60 media/js/aam.js:193
415
  msgid "Manage Role"
416
  msgstr ""
417
 
418
- #: Application/Backend/View/Localization.php:61 media/js/aam.js:215
419
  msgid "Edit Role"
420
  msgstr ""
421
 
422
- #: Application/Backend/View/Localization.php:63 media/js/aam.js:653
423
  msgid "Manage User"
424
  msgstr ""
425
 
426
- #: Application/Backend/View/Localization.php:64 media/js/aam.js:693
427
  msgid "Edit User"
428
  msgstr ""
429
 
430
- #: Application/Backend/View/Localization.php:65 media/js/aam.js:522
431
- #: media/js/aam.js:523 media/js/aam.js:706
432
  msgid "Lock User"
433
  msgstr ""
434
 
435
- #: Application/Backend/View/Localization.php:66 media/js/aam.js:516
436
- #: media/js/aam.js:517 media/js/aam.js:719
437
  msgid "Unlock User"
438
  msgstr ""
439
 
@@ -442,16 +498,15 @@ msgid "Failed to grand capability - WordPress policy"
442
  msgstr ""
443
 
444
  #: Application/Backend/View/PostOptionList.php:26
445
- #: Application/Backend/View/PostOptionList.php:85
 
446
  msgid "List"
447
  msgstr ""
448
 
449
  #: Application/Backend/View/PostOptionList.php:27
 
450
  #, php-format
451
- msgid ""
452
- "Hide %s however access with a direct URL will be still allowed. When there "
453
- "are more than 500 posts, this option may not be applied immediately because, "
454
- "for performance reasons, AAM checks limited number of posts per request."
455
  msgstr ""
456
 
457
  #: Application/Backend/View/PostOptionList.php:27
@@ -461,182 +516,234 @@ msgid " %sSee in action.%s"
461
  msgstr ""
462
 
463
  #: Application/Backend/View/PostOptionList.php:31
 
464
  msgid "Read"
465
  msgstr ""
466
 
467
  #: Application/Backend/View/PostOptionList.php:32
468
  #, php-format
469
  msgid ""
470
- "Restrict access to read the %s. Any attempts to read, view or open the %s "
471
- "will be denied and redirected based on the Access Denied Redirect rule."
472
  msgstr ""
473
 
474
  #: Application/Backend/View/PostOptionList.php:35
 
475
  msgid "Limit"
476
  msgstr ""
477
 
478
  #: Application/Backend/View/PostOptionList.php:36
 
479
  msgid "Teaser message"
480
  msgstr ""
481
 
482
- #: Application/Backend/View/PostOptionList.php:39
 
483
  #, php-format
484
- msgid "When checked, show defined teaser message instead of the %s content."
485
  msgstr ""
486
 
487
- #: Application/Backend/View/PostOptionList.php:42
 
488
  msgid "Read Counter"
489
  msgstr ""
490
 
491
- #: Application/Backend/View/PostOptionList.php:43
492
- #: Application/Backend/phtml/partial/post-advanced-settings.phtml:11
 
493
  msgid "Threshold"
494
  msgstr ""
495
 
496
- #: Application/Backend/View/PostOptionList.php:47
497
  #, php-format
498
  msgid ""
499
- "Define how many times the %s can be opened to read, view or download. After "
500
- "number of time exceeds the defined threshold, the access will be denied to "
501
- "the %s and redirected based on the Access Denied Redirect rule."
502
  msgstr ""
503
 
504
- #: Application/Backend/View/PostOptionList.php:50
 
505
  msgid "Comment"
506
  msgstr ""
507
 
508
- #: Application/Backend/View/PostOptionList.php:51
509
  #, php-format
510
- msgid "Restrict access to comment on %s when commenting feature is enabled."
511
  msgstr ""
512
 
513
- #: Application/Backend/View/PostOptionList.php:54
514
  msgid "Redirect"
515
  msgstr ""
516
 
517
- #: Application/Backend/View/PostOptionList.php:55
518
  msgid "Redirect Rule"
519
  msgstr ""
520
 
521
- #: Application/Backend/View/PostOptionList.php:58
522
  #, php-format
523
  msgid ""
524
  "Redirect user based on the defined redirect rule when user tries to read the "
525
- "%s. The REDIRECT option will be ignored if READ option checked. For more "
526
- "information about this option please refer to the %sHelp Section%s."
527
  msgstr ""
528
 
529
- #: Application/Backend/View/PostOptionList.php:61
 
530
  msgid "Password Protected"
531
  msgstr ""
532
 
533
- #: Application/Backend/View/PostOptionList.php:62
534
- #: Application/Backend/phtml/partial/post-advanced-settings.phtml:32
 
 
535
  #: Application/Frontend/phtml/login.phtml:13
536
  msgid "Password"
537
  msgstr ""
538
 
539
- #: Application/Backend/View/PostOptionList.php:65
540
  #, php-format
541
- msgid "Password protect the %s. Available with WordPress 4.7.0 or higher."
 
542
  msgstr ""
543
 
544
- #: Application/Backend/View/PostOptionList.php:68
 
545
  msgid "Access Expiration"
546
  msgstr ""
547
 
548
- #: Application/Backend/View/PostOptionList.php:69
 
549
  #: Application/Backend/phtml/index.phtml:245
550
  msgid "Expires"
551
  msgstr ""
552
 
553
- #: Application/Backend/View/PostOptionList.php:72
554
  #, php-format
555
- msgid "Define when access expires for %s."
556
  msgstr ""
557
 
558
- #: Application/Backend/View/PostOptionList.php:72
559
  #, php-format
560
  msgid ""
561
- "After expiration, the access to %s will be denied and user will be "
562
- "redirected based on the Access Denied Redirect rule. For more information "
563
- "%scheck this article%s or "
564
  msgstr ""
565
 
566
- #: Application/Backend/View/PostOptionList.php:72
567
  #, php-format
568
  msgid " %ssee in action.%s"
569
  msgstr ""
570
 
571
- #: Application/Backend/View/PostOptionList.php:75
572
  msgid "Monetized Access"
573
  msgstr ""
574
 
575
- #: Application/Backend/View/PostOptionList.php:76
576
  msgid "E-Product"
577
  msgstr ""
578
 
579
- #: Application/Backend/View/PostOptionList.php:80
580
  #, php-format
581
  msgid ""
582
- "[Premium feature!] Start selling access to the %s. Access will be granted to "
583
- "read, view or download %s only if selected E-Product had been purchased. For "
584
- "more information %scheck this article%s."
585
  msgstr ""
586
 
587
- #: Application/Backend/View/PostOptionList.php:87
588
- #, php-format
589
- msgid ""
590
- "Hide %s however access with a direct URL is still allowed. When there are "
591
- "more than 500 posts, this option may not be applied immediately because, for "
592
- "performance reasons, AAM checks limited number of posts per request."
593
- msgstr ""
594
-
595
- #: Application/Backend/View/PostOptionList.php:93
596
  #, php-format
597
  msgid ""
598
- "Restrict access to edit the %s. Any attempts to edit %s will result in "
599
  "redirecting user based on the Access Denied Redirect rule."
600
  msgstr ""
601
 
602
- #: Application/Backend/View/PostOptionList.php:96
 
603
  #: Application/Backend/phtml/index.phtml:212
604
  #: Application/Backend/phtml/main/capability.phtml:104
605
  msgid "Delete"
606
  msgstr ""
607
 
608
- #: Application/Backend/View/PostOptionList.php:98
 
609
  #, php-format
610
  msgid "Restrict access to trash or permanently delete %s."
611
  msgstr ""
612
 
613
- #: Application/Backend/View/PostOptionList.php:101
614
  msgid "Publish"
615
  msgstr ""
616
 
617
- #: Application/Backend/View/PostOptionList.php:103
618
  #, php-format
619
  msgid ""
620
- "Restrict access to publish the %s. User will be allowed only submit the %s "
621
- "for review."
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
622
  msgstr ""
623
 
624
  #: Application/Backend/Widget/Login.php:19
625
  msgid "AAM Secure Login Widget"
626
  msgstr ""
627
 
628
- #: Application/Backend/Widget/Login.php:90
629
  #: Application/Frontend/phtml/login.phtml:27
630
  msgid "Login"
631
  msgstr ""
632
 
633
- #: Application/Backend/Widget/Login.php:94
634
- #: Application/Shortcode/Strategy/Login.php:55
635
  msgid "Howdy, %username%"
636
  msgstr ""
637
 
638
  #: Application/Core/JwtAuth.php:58
639
- msgid "JWT Authentication is enabled but secret key is not defined"
 
640
  msgstr ""
641
 
642
  #: Application/Core/JwtAuth.php:76
@@ -647,39 +754,47 @@ msgstr ""
647
  msgid "Valid password."
648
  msgstr ""
649
 
650
- #: Application/Core/Login.php:152
 
 
 
 
651
  msgid "Access denied. Please login to get access."
652
  msgstr ""
653
 
654
- #: Application/Core/Subject/Default.php:78 media/js/aam.js:885
655
  msgid "All Users, Roles and Visitor"
656
  msgstr ""
657
 
658
- #: Application/Extension/List.php:63
659
  msgid ""
660
  "[Deprecated!]. The extension is deprecated and replaces with more "
661
  "sophisticated E-Commerce extension. If you already purchased it, please "
662
  "contact us to upgrade your license for no additional cost."
663
  msgstr ""
664
 
665
- #: Application/Extension/Repository.php:128
666
  #, php-format
667
  msgid ""
668
  "The [%s] file is missing. Update extension to the latest version. %sRead "
669
  "more.%s"
670
  msgstr ""
671
 
672
- #: Application/Extension/Repository.php:326
673
  #, php-format
674
  msgid "Failed to create %s"
675
  msgstr ""
676
 
677
- #: Application/Extension/Repository.php:330
678
  #, php-format
679
  msgid "Directory %s is not writable"
680
  msgstr ""
681
 
682
- #: Application/Frontend/Filter.php:301
 
 
 
 
683
  msgid "[No teaser message provided]"
684
  msgstr ""
685
 
@@ -687,123 +802,140 @@ msgstr ""
687
  msgid "No valid strategy found for the given context"
688
  msgstr ""
689
 
690
- #: aam.php:190
691
  msgid "PHP 5.3.0 or higher is required."
692
  msgstr ""
693
 
694
- #: aam.php:192
695
- msgid "WP 3.8 or higher is required."
696
  msgstr ""
697
 
698
- #: media/js/aam.js:231
699
  msgid "Clone Role"
700
  msgstr ""
701
 
702
- #: media/js/aam.js:678
 
 
 
 
 
703
  msgid "User Expiration"
704
  msgstr ""
705
 
706
- #: media/js/aam.js:732
707
  msgid "Switch To User"
708
  msgstr ""
709
 
710
- #: media/js/aam.js:780 Application/Backend/phtml/index.phtml:259
711
- #: Application/Backend/phtml/partial/post-advanced-settings.phtml:107
712
  msgid "Save"
713
  msgstr ""
714
 
715
- #: media/js/aam.js:799
716
  msgid "Reseting..."
717
  msgstr ""
718
 
719
- #: media/js/aam.js:813 Application/Backend/phtml/index.phtml:258
720
  msgid "Reset"
721
  msgstr ""
722
 
723
- #: media/js/aam.js:933 media/js/aam.js:2442 media/js/aam.js:2487
724
- #: media/js/aam.js:2518 media/js/aam.js:2551 media/js/aam.js:2603
725
  msgid "Application Error"
726
  msgstr ""
727
 
728
- #: media/js/aam.js:1002 Application/Backend/phtml/main/menu.phtml:57
729
  msgid "Uncheck to allow"
730
  msgstr ""
731
 
732
- #: media/js/aam.js:1004 Application/Backend/phtml/main/menu.phtml:57
733
  msgid "Check to restrict"
734
  msgstr ""
735
 
736
- #: media/js/aam.js:1111
737
  msgid "Processing"
738
  msgstr ""
739
 
740
- #: media/js/aam.js:1119
741
  msgid "Failed to initialize URL"
742
  msgstr ""
743
 
744
- #: media/js/aam.js:1127 Application/Backend/phtml/main/metabox.phtml:102
745
  msgid "Initialize"
746
  msgstr ""
747
 
748
- #: media/js/aam.js:1151 Application/Backend/phtml/main/metabox.phtml:65
749
  msgid "Uncheck to show"
750
  msgstr ""
751
 
752
- #: media/js/aam.js:1153 Application/Backend/phtml/main/metabox.phtml:65
753
  msgid "Check to hide"
754
  msgstr ""
755
 
756
- #: media/js/aam.js:1199
757
  msgid "WordPress core does not allow to grant this capability"
758
  msgstr ""
759
 
760
- #: media/js/aam.js:1239
761
  msgid "Nothing to show"
762
  msgstr ""
763
 
764
- #: media/js/aam.js:1391
765
  msgid "Failed to update capability"
766
  msgstr ""
767
 
768
- #: media/js/aam.js:1399 Application/Backend/phtml/main/capability.phtml:76
769
  msgid "Update Capability"
770
  msgstr ""
771
 
772
- #: media/js/aam.js:1430
773
  msgid "Failed to delete capability"
774
  msgstr ""
775
 
776
- #: media/js/aam.js:1438 Application/Backend/phtml/main/capability.phtml:98
777
  msgid "Delete Capability"
778
  msgstr ""
779
 
780
- #: media/js/aam.js:1781
781
  msgid "Drill-Down"
782
  msgstr ""
783
 
784
- #: media/js/aam.js:2265
 
 
 
 
 
 
 
 
 
 
 
 
785
  msgid "Extension status was updated successfully"
786
  msgstr ""
787
 
788
- #: media/js/aam.js:2477 media/js/aam.js:2508 media/js/aam.js:2539
789
- #: media/js/aam.js:2592
790
  msgid "Wait..."
791
  msgstr ""
792
 
793
- #: media/js/aam.js:2481
794
- msgid "All settings were cleared successfully"
795
  msgstr ""
796
 
797
- #: media/js/aam.js:2491 media/js/aam.js:2522
798
  #: Application/Backend/phtml/settings/tools.phtml:66
799
  msgid "Clear"
800
  msgstr ""
801
 
802
- #: media/js/aam.js:2512
803
- msgid "The cache was cleared successfully"
804
  msgstr ""
805
 
806
- #: media/js/aam.js:2599
807
  msgid "Invalid data format"
808
  msgstr ""
809
 
@@ -885,14 +1017,14 @@ msgstr ""
885
  #: Application/Backend/phtml/index.phtml:205
886
  #: Application/Backend/phtml/index.phtml:213
887
  #: Application/Backend/phtml/index.phtml:240
888
- #: Application/Backend/phtml/index.phtml:260
889
  #: Application/Backend/phtml/main/capability.phtml:54
890
  #: Application/Backend/phtml/main/capability.phtml:65
891
  #: Application/Backend/phtml/main/capability.phtml:75
892
  #: Application/Backend/phtml/main/capability.phtml:87
893
  #: Application/Backend/phtml/main/capability.phtml:97
894
  #: Application/Backend/phtml/main/capability.phtml:105
895
- #: Application/Backend/phtml/main/menu.phtml:98
896
  #: Application/Backend/phtml/main/metabox.phtml:89
897
  #: Application/Backend/phtml/main/metabox.phtml:103
898
  #: Application/Backend/phtml/partial/post-advanced-settings.phtml:6
@@ -900,13 +1032,13 @@ msgstr ""
900
  #: Application/Backend/phtml/partial/post-advanced-settings.phtml:27
901
  #: Application/Backend/phtml/partial/post-advanced-settings.phtml:38
902
  #: Application/Backend/phtml/partial/post-advanced-settings.phtml:48
903
- #: Application/Backend/phtml/partial/post-advanced-settings.phtml:60
904
- #: Application/Backend/phtml/partial/post-advanced-settings.phtml:70
905
- #: Application/Backend/phtml/partial/post-advanced-settings.phtml:87
906
- #: Application/Backend/phtml/partial/post-advanced-settings.phtml:97
907
- #: Application/Backend/phtml/partial/post-advanced-settings.phtml:108
908
- #: Application/Backend/phtml/partial/post-advanced-settings.phtml:118
909
- #: Application/Backend/phtml/partial/post-advanced-settings.phtml:131
910
  #: Application/Backend/phtml/settings/tools.phtml:59
911
  msgid "Close"
912
  msgstr ""
@@ -963,64 +1095,6 @@ msgid ""
963
  "remember that license key is limited only to one life domain."
964
  msgstr ""
965
 
966
- #: Application/Backend/phtml/frame.phtml:62
967
- #: Application/Backend/phtml/index.phtml:227
968
- msgid "Username"
969
- msgstr ""
970
-
971
- #: Application/Backend/phtml/frame.phtml:74
972
- #, php-format
973
- msgid "Manage access to %s for visitors (any user that is not authenticated)"
974
- msgstr ""
975
-
976
- #: Application/Backend/phtml/frame.phtml:75
977
- #: Application/Backend/phtml/index.phtml:271
978
- msgid "Manage Visitors"
979
- msgstr ""
980
-
981
- #: Application/Backend/phtml/frame.phtml:82
982
- #, php-format
983
- msgid ""
984
- "Manage default access to %s for all users, roles and visitor. This includes "
985
- "Administrator role and yourself"
986
- msgstr ""
987
-
988
- #: Application/Backend/phtml/frame.phtml:84
989
- #: Application/Backend/phtml/index.phtml:279
990
- msgid "Manage Default Access"
991
- msgstr ""
992
-
993
- #: Application/Backend/phtml/frame.phtml:87
994
- msgid "This feature is allowed only with [AAM Plus Package] extension."
995
- msgstr ""
996
-
997
- #: Application/Backend/phtml/frame.phtml:100
998
- #: Application/Backend/phtml/main/menu.phtml:13
999
- #: Application/Backend/phtml/main/metabox.phtml:19
1000
- #: Application/Backend/phtml/main/post.phtml:35
1001
- msgid "Settings are customized"
1002
- msgstr ""
1003
-
1004
- #: Application/Backend/phtml/frame.phtml:101
1005
- #: Application/Backend/phtml/main/capability.phtml:33
1006
- #: Application/Backend/phtml/main/menu.phtml:14
1007
- #: Application/Backend/phtml/main/metabox.phtml:20
1008
- #: Application/Backend/phtml/main/post.phtml:36
1009
- msgid "Reset To Default"
1010
- msgstr ""
1011
-
1012
- #: Application/Backend/phtml/frame.phtml:120
1013
- #: Application/Backend/phtml/main/post.phtml:80
1014
- msgid "Frontend"
1015
- msgstr ""
1016
-
1017
- #: Application/Backend/phtml/frame.phtml:129
1018
- #: Application/Backend/phtml/frame.phtml:154
1019
- #: Application/Backend/phtml/main/post.phtml:89
1020
- #: Application/Backend/phtml/main/post.phtml:114
1021
- msgid "change"
1022
- msgstr ""
1023
-
1024
  #: Application/Backend/phtml/index.phtml:14
1025
  msgid "Main Panel"
1026
  msgstr ""
@@ -1093,17 +1167,17 @@ msgid "Users/Roles Manager"
1093
  msgstr ""
1094
 
1095
  #: Application/Backend/phtml/index.phtml:119
1096
- #: Application/Backend/phtml/index.phtml:291
1097
  msgid "Roles"
1098
  msgstr ""
1099
 
1100
  #: Application/Backend/phtml/index.phtml:125
1101
- #: Application/Backend/phtml/index.phtml:301
1102
  msgid "Visitor"
1103
  msgstr ""
1104
 
1105
  #: Application/Backend/phtml/index.phtml:128
1106
- #: Application/Backend/phtml/index.phtml:306
1107
  msgid "Default"
1108
  msgstr ""
1109
 
@@ -1145,6 +1219,11 @@ msgstr ""
1145
  msgid "Are you sure that you want to delete the %s role?"
1146
  msgstr ""
1147
 
 
 
 
 
 
1148
  #: Application/Backend/phtml/index.phtml:241
1149
  msgid "Manage User Expiration"
1150
  msgstr ""
@@ -1169,50 +1248,68 @@ msgstr ""
1169
  msgid "Lock Account"
1170
  msgstr ""
1171
 
1172
- #: Application/Backend/phtml/index.phtml:270
 
 
 
 
 
 
 
 
1173
  msgid ""
1174
  "Manage access to your website for visitors (any user that is not "
1175
  "authenticated)"
1176
  msgstr ""
1177
 
1178
  #: Application/Backend/phtml/index.phtml:278
 
 
 
 
 
1179
  msgid ""
1180
  "Manage default access to your website resources for all users, roles and "
1181
  "visitor. This includes Administrator role and your user"
1182
  msgstr ""
1183
 
1184
- #: Application/Backend/phtml/index.phtml:287
 
 
 
 
 
1185
  msgid ""
1186
  "Manage access for your users, roles and visitors. Be careful with "
1187
  "[Administrator] role as well as your admin user. [Database backup is "
1188
  "strongly recommended]."
1189
  msgstr ""
1190
 
1191
- #: Application/Backend/phtml/index.phtml:292
1192
  msgid ""
1193
  "With Roles tab you can manage access for any defined role, edit role's name, "
1194
  "create new role or even delete existing (but only when there is no users "
1195
  "assigned to it). You are not allowed to delete Administrator role."
1196
  msgstr ""
1197
 
1198
- #: Application/Backend/phtml/index.phtml:297
1199
  msgid ""
1200
  "Manage access for any user. As a bonus feature, you can block user. It means "
1201
  "that user will be not able to login to your website anymore."
1202
  msgstr ""
1203
 
1204
- #: Application/Backend/phtml/index.phtml:302
1205
  msgid ""
1206
  "Visitor can be considered any user that is not authenticated to your website."
1207
  msgstr ""
1208
 
1209
- #: Application/Backend/phtml/index.phtml:307
1210
  msgid ""
1211
  "Manage default access settings to your website resources for all users, "
1212
  "roles and visitors."
1213
  msgstr ""
1214
 
1215
- #: Application/Backend/phtml/main-panel.phtml:27
1216
  msgid "You are not allowed to manage any of the existing features."
1217
  msgstr ""
1218
 
@@ -1228,6 +1325,7 @@ msgstr ""
1228
  #: Application/Backend/phtml/main/login-redirect.phtml:31
1229
  #: Application/Backend/phtml/main/logout-redirect.phtml:31
1230
  #: Application/Backend/phtml/main/redirect.phtml:50
 
1231
  msgid "Redirected to existing page [(select from the drop-down)]"
1232
  msgstr ""
1233
 
@@ -1242,23 +1340,17 @@ msgstr ""
1242
  #: Application/Backend/phtml/main/logout-redirect.phtml:39
1243
  #: Application/Backend/phtml/main/redirect.phtml:58
1244
  #: Application/Backend/phtml/main/redirect.phtml:110
 
1245
  #, php-format
1246
  msgid "Trigger PHP callback function [(valid %sPHP callback%s is required)]"
1247
  msgstr ""
1248
 
1249
- #: Application/Backend/phtml/main/404redirect.phtml:36
1250
- #: Application/Backend/phtml/main/login-redirect.phtml:43
1251
- #: Application/Backend/phtml/main/logout-redirect.phtml:43
1252
- #: Application/Backend/phtml/main/redirect.phtml:67
1253
- #: Application/Backend/phtml/main/redirect.phtml:119
1254
- msgid "Existing Page"
1255
- msgstr ""
1256
-
1257
  #: Application/Backend/phtml/main/404redirect.phtml:45
1258
  #: Application/Backend/phtml/main/login-redirect.phtml:52
1259
  #: Application/Backend/phtml/main/logout-redirect.phtml:52
1260
  #: Application/Backend/phtml/main/redirect.phtml:76
1261
  #: Application/Backend/phtml/main/redirect.phtml:128
 
1262
  msgid "-- Select Page --"
1263
  msgstr ""
1264
 
@@ -1267,6 +1359,7 @@ msgstr ""
1267
  #: Application/Backend/phtml/main/logout-redirect.phtml:58
1268
  #: Application/Backend/phtml/main/redirect.phtml:82
1269
  #: Application/Backend/phtml/main/redirect.phtml:134
 
1270
  msgid "The URL"
1271
  msgstr ""
1272
 
@@ -1275,6 +1368,7 @@ msgstr ""
1275
  #: Application/Backend/phtml/main/logout-redirect.phtml:63
1276
  #: Application/Backend/phtml/main/redirect.phtml:87
1277
  #: Application/Backend/phtml/main/redirect.phtml:139
 
1278
  msgid "PHP Callback Function"
1279
  msgstr ""
1280
 
@@ -1303,6 +1397,15 @@ msgstr ""
1303
  msgid "Capabilities are customized"
1304
  msgstr ""
1305
 
 
 
 
 
 
 
 
 
 
1306
  #: Application/Backend/phtml/main/capability.phtml:42
1307
  msgid "Category"
1308
  msgstr ""
@@ -1348,7 +1451,9 @@ msgstr ""
1348
  #, php-format
1349
  msgid ""
1350
  "Customize login redirect for [%s] when the authentication is completed "
1351
- "successfully."
 
 
1352
  msgstr ""
1353
 
1354
  #: Application/Backend/phtml/main/login-redirect.phtml:27
@@ -1358,6 +1463,7 @@ msgstr ""
1358
 
1359
  #: Application/Backend/phtml/main/login-redirect.phtml:35
1360
  #: Application/Backend/phtml/main/logout-redirect.phtml:35
 
1361
  msgid "Redirected to the URL [(enter full URL starting from http or https)]"
1362
  msgstr ""
1363
 
@@ -1378,21 +1484,28 @@ msgid ""
1378
  "WordPress backend menu%s."
1379
  msgstr ""
1380
 
1381
- #: Application/Backend/phtml/main/menu.phtml:87
 
 
 
 
 
 
 
1382
  msgid ""
1383
  "Current user does not have enough capabilities to access any available "
1384
  "dashboard page."
1385
  msgstr ""
1386
 
1387
- #: Application/Backend/phtml/main/menu.phtml:99
1388
  msgid "Dashboard Lockdown"
1389
  msgstr ""
1390
 
1391
- #: Application/Backend/phtml/main/menu.phtml:103
1392
  msgid "You cannot restrict access to Dashboard home page."
1393
  msgstr ""
1394
 
1395
- #: Application/Backend/phtml/main/menu.phtml:104
1396
  #, php-format
1397
  msgid ""
1398
  "The [Home] is the default page every user is redirected after login. To "
@@ -1400,7 +1513,7 @@ msgid ""
1400
  "WordPress backend%s article."
1401
  msgstr ""
1402
 
1403
- #: Application/Backend/phtml/main/menu.phtml:108
1404
  msgid "OK"
1405
  msgstr ""
1406
 
@@ -1463,19 +1576,19 @@ msgstr ""
1463
  #, php-format
1464
  msgid ""
1465
  "You are allowed to manage access to unlimited number of posts, pages or "
1466
- "custom post types but only on role, user or visitor levels. Consider to "
1467
  "purchase %s[AAM Plus Package]%s extension to have the ability to also manage "
1468
  "access to categories and custom taxonomies or to define the default access "
1469
  "to all posts, pages or custom post types. For more information about this "
1470
- "functionality check %sWhat is a WordPress post%s."
1471
  msgstr ""
1472
 
1473
  #: Application/Backend/phtml/main/post.phtml:15
1474
  #, php-format
1475
  msgid ""
1476
- "Manage access to posts, pages and custom post types. For more information "
1477
- "about this functionality check %sHow to manage access to the WordPress "
1478
- "content%s article."
1479
  msgstr ""
1480
 
1481
  #: Application/Backend/phtml/main/post.phtml:25
@@ -1487,11 +1600,11 @@ msgid "Title"
1487
  msgstr ""
1488
 
1489
  #: Application/Backend/phtml/main/post.phtml:59
1490
- #: Application/Backend/phtml/main/post.phtml:61
1491
- #: Application/Backend/phtml/main/post.phtml:65
1492
- #: Application/Backend/phtml/main/post.phtml:67
1493
- #: Application/Backend/phtml/main/post.phtml:71
1494
- #: Application/Backend/phtml/main/post.phtml:129
1495
  msgid "Go Back"
1496
  msgstr ""
1497
 
@@ -1547,6 +1660,49 @@ msgstr ""
1547
  msgid "Redirected to existing frontend page [(select from the drop-down)]"
1548
  msgstr ""
1549
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1550
  #: Application/Backend/phtml/partial/login-redirect.phtml:3
1551
  msgid ""
1552
  "Setup [default] redirect after user logged in successfully for all your "
@@ -1554,71 +1710,82 @@ msgid ""
1554
  "redirect for any user or role."
1555
  msgstr ""
1556
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1557
  #: Application/Backend/phtml/partial/post-advanced-settings.phtml:7
1558
- msgid "Define Threshold"
 
 
 
 
1559
  msgstr ""
1560
 
1561
  #: Application/Backend/phtml/partial/post-advanced-settings.phtml:12
1562
- msgid "Enter digital number"
1563
  msgstr ""
1564
 
1565
  #: Application/Backend/phtml/partial/post-advanced-settings.phtml:28
1566
- msgid "Set Password"
1567
  msgstr ""
1568
 
1569
  #: Application/Backend/phtml/partial/post-advanced-settings.phtml:33
1570
- msgid "Enter Password"
1571
  msgstr ""
1572
 
1573
  #: Application/Backend/phtml/partial/post-advanced-settings.phtml:49
1574
- msgid "Define Redirect Rule"
1575
  msgstr ""
1576
 
1577
- #: Application/Backend/phtml/partial/post-advanced-settings.phtml:52
1578
- #, php-format
1579
- msgid ""
1580
- "To learn more about REDIRECT option, please refer to our [%sHelp Section%s]."
1581
  msgstr ""
1582
 
1583
- #: Application/Backend/phtml/partial/post-advanced-settings.phtml:54
1584
- msgid "Enter Redirect Rule"
1585
  msgstr ""
1586
 
1587
- #: Application/Backend/phtml/partial/post-advanced-settings.phtml:55
1588
- msgid "Enter rule"
 
 
1589
  msgstr ""
1590
 
1591
- #: Application/Backend/phtml/partial/post-advanced-settings.phtml:71
1592
  msgid "Set Expiration"
1593
  msgstr ""
1594
 
1595
- #: Application/Backend/phtml/partial/post-advanced-settings.phtml:81
1596
  msgid "Enter expiration critiria"
1597
  msgstr ""
1598
 
1599
- #: Application/Backend/phtml/partial/post-advanced-settings.phtml:82
1600
  msgid "Enter critiria"
1601
  msgstr ""
1602
 
1603
- #: Application/Backend/phtml/partial/post-advanced-settings.phtml:98
1604
- msgid "Teaser Message"
1605
- msgstr ""
1606
-
1607
- #: Application/Backend/phtml/partial/post-advanced-settings.phtml:102
1608
- msgid "Simple text or valid HTML"
1609
- msgstr ""
1610
-
1611
- #: Application/Backend/phtml/partial/post-advanced-settings.phtml:103
1612
- msgid "Enter your teaser"
1613
- msgstr ""
1614
-
1615
- #: Application/Backend/phtml/partial/post-advanced-settings.phtml:119
1616
  msgid "E-Commerce Setup"
1617
  msgstr ""
1618
 
1619
- #: Application/Backend/phtml/partial/post-advanced-settings.phtml:125
 
1620
  msgid ""
1621
- "Monetization is the premium feature that is available with [Payment] "
1622
  "extension."
1623
  msgstr ""
1624
 
@@ -1641,15 +1808,16 @@ msgstr ""
1641
  msgid "Inherit Capabilities From"
1642
  msgstr ""
1643
 
1644
- #: Application/Backend/phtml/partial/role-inheritance.phtml:5
1645
- msgid "Select Role"
 
1646
  msgstr ""
1647
 
1648
  #: Application/Backend/phtml/partial/term-type.phtml:4
1649
  #, php-format
1650
  msgid ""
1651
  "Manage access to %s is available with [AAM Plus Package] extension only. "
1652
- "With this feature you can define default access to all child posts that "
1653
  "belong to %s. Consider to purchase [AAM Plus Package] extension."
1654
  msgstr ""
1655
 
@@ -1708,17 +1876,53 @@ msgstr ""
1708
  msgid "Login Timeout"
1709
  msgstr ""
1710
 
 
 
 
 
 
 
1711
  #: Application/Backend/phtml/widget/login-backend.phtml:20
 
 
 
 
 
 
 
 
 
 
1712
  msgid "Brute Force Lockout"
1713
  msgstr ""
1714
 
1715
- #: Application/Backend/phtml/widget/login-backend.phtml:25
 
 
 
 
 
 
1716
  #, php-format
1717
  msgid ""
1718
  "For more advanced setup like login/logout redirects or custom styling, "
1719
  "please check %sthis article%s."
1720
  msgstr ""
1721
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1722
  #: Application/Backend/phtml/widget/login-frontend.phtml:49
1723
  #: Application/Frontend/phtml/login.phtml:35
1724
  msgid "Register"
@@ -1743,11 +1947,3 @@ msgstr ""
1743
  #: Application/Frontend/phtml/login.phtml:54
1744
  msgid "Log Out"
1745
  msgstr ""
1746
-
1747
- #: Application/Frontend/phtml/login.phtml:7
1748
- msgid "Username or Email Address"
1749
- msgstr ""
1750
-
1751
- #: Application/Frontend/phtml/login.phtml:22
1752
- msgid "Remember Me"
1753
- msgstr ""
1
  msgid ""
2
  msgstr ""
3
  "Project-Id-Version: AAM\n"
4
+ "POT-Creation-Date: 2018-05-28 08:32-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.7\n"
11
  "Plural-Forms: nplurals=2; plural=(n != 1);\n"
12
  "X-Poedit-SourceCharset: UTF-8\n"
13
  "X-Poedit-KeywordsList: __;preparePhrase\n"
16
  "Language: en_US\n"
17
  "X-Poedit-SearchPath-0: .\n"
18
 
19
+ #: Application/Api/Manager.php:138
20
+ msgid "Access denied"
21
+ msgstr ""
22
+
23
  #: Application/Backend/Feature/Extension/Manager.php:59
24
  msgid "You may try to install extension manually."
25
  msgstr ""
40
  msgid "Can not remove the capability"
41
  msgstr ""
42
 
43
+ #: Application/Backend/Feature/Main/Capability.php:216
44
+ #: Application/Backend/Feature/Main/Capability.php:257
45
  msgid "System"
46
  msgstr ""
47
 
48
+ #: Application/Backend/Feature/Main/Capability.php:217
49
+ #: Application/Backend/Feature/Main/Capability.php:259
 
50
  msgid "Posts & Pages"
51
  msgstr ""
52
 
53
+ #: Application/Backend/Feature/Main/Capability.php:218
54
+ #: Application/Backend/Feature/Main/Capability.php:261
 
 
55
  msgid "Backend"
56
  msgstr ""
57
 
58
+ #: Application/Backend/Feature/Main/Capability.php:219
59
+ #: Application/Backend/Feature/Main/Capability.php:263
60
  msgid "AAM Interface"
61
  msgstr ""
62
 
63
+ #: Application/Backend/Feature/Main/Capability.php:220
64
+ #: Application/Backend/Feature/Main/Capability.php:265
65
  msgid "Miscellaneous"
66
  msgstr ""
67
 
68
+ #: Application/Backend/Feature/Main/Capability.php:297
69
  msgid "Capabilities"
70
  msgstr ""
71
 
81
  msgid "Backend Menu"
82
  msgstr ""
83
 
84
+ #: Application/Backend/Feature/Main/Metabox.php:239
85
  msgid "Metaboxes & Widgets"
86
  msgstr ""
87
 
88
+ #: Application/Backend/Feature/Main/Post.php:410
89
+ #: Application/Backend/phtml/main/404redirect.phtml:36
90
+ #: Application/Backend/phtml/main/login-redirect.phtml:43
91
+ #: Application/Backend/phtml/main/logout-redirect.phtml:43
92
+ #: Application/Backend/phtml/main/redirect.phtml:67
93
+ #: Application/Backend/phtml/main/redirect.phtml:119
94
+ #: Application/Backend/phtml/partial/post-advanced-settings.phtml:89
95
+ msgid "Existing Page"
96
+ msgstr ""
97
+
98
+ #: Application/Backend/Feature/Main/Post.php:412
99
+ msgid "Valid URL"
100
+ msgstr ""
101
+
102
+ #: Application/Backend/Feature/Main/Post.php:414
103
+ msgid "Custom Callback"
104
+ msgstr ""
105
+
106
+ #: Application/Backend/Feature/Main/Post.php:574
107
+ msgid "Posts & Terms"
108
+ msgstr ""
109
+
110
  #: Application/Backend/Feature/Main/Redirect.php:83
111
  msgid "Access Denied Redirect"
112
  msgstr ""
113
 
114
+ #: Application/Backend/Feature/Main/Route.php:107
115
+ msgid "API Routes"
116
+ msgstr ""
117
+
118
  #: Application/Backend/Feature/Settings/ConfigPress.php:53
119
  msgid "ConfigPress"
120
  msgstr ""
137
 
138
  #: Application/Backend/Feature/Settings/Content.php:38
139
  msgid ""
140
+ "For performance reasons, keep this option disabled if do not use LIST or "
141
+ "LIST TO OTHERS access options on Posts & Terms tab. When it is checked, AAM "
142
+ "will filter list of posts that are hidden for a user on frontend, backend "
143
+ "and API calls."
144
  msgstr ""
145
 
146
  #: Application/Backend/Feature/Settings/Content.php:42
150
  #: Application/Backend/Feature/Settings/Content.php:43
151
  msgid ""
152
  "By default AAM allows you to manage access only to public post types on "
153
+ "Posts & Terms tab. By enabling this feature, you also will be able to manage "
154
  "access to hidden post types like revisions, navigation menus or any other "
155
  "custom post types that are not registered as public."
156
  msgstr ""
167
  msgid ""
168
  "Allow to edit or delete any existing capability on the Capabilities tab. "
169
  "[Warning!] For experienced users only. Changing or deleting capability may "
170
+ "result in loosing access to some features or even the entire website."
171
  msgstr ""
172
 
173
  #: Application/Backend/Feature/Settings/Core.php:37
176
 
177
  #: Application/Backend/Feature/Settings/Core.php:38
178
  msgid ""
179
+ "Allow AAM to manage access to the backend. Note! Keep this option disabled "
180
+ "if there is no needs to restrict backend features for other users."
 
181
  msgstr ""
182
 
183
  #: Application/Backend/Feature/Settings/Core.php:42
186
 
187
  #: Application/Backend/Feature/Settings/Core.php:43
188
  msgid ""
189
+ "Allow AAM to manage access to the frontend. Note! Keep this option disabled "
190
+ "if there is no needs to restrict frontend resources for users and visitors."
 
191
  msgstr ""
192
 
193
  #: Application/Backend/Feature/Settings/Core.php:47
194
+ msgid "API Access Control"
195
  msgstr ""
196
 
197
  #: Application/Backend/Feature/Settings/Core.php:48
198
  msgid ""
199
+ "Allow AAM to manage access to the website resources that are invoked with "
200
+ "WordPress core APIs (currently only for RESTful API). Note! Keep this option "
201
+ "disabled if there is no needs to restrict API access."
202
  msgstr ""
203
 
204
  #: Application/Backend/Feature/Settings/Core.php:52
205
+ msgid "Render Access Manager Metabox"
206
  msgstr ""
207
 
208
  #: Application/Backend/Feature/Settings/Core.php:53
209
  msgid ""
210
+ "Render Access Manager metabox on all post and term edit pages. Access "
211
+ "Manager metabox is the quick way to manage access to any post or term "
212
+ "without leaving an edit page."
213
+ msgstr ""
214
+
215
+ #: Application/Backend/Feature/Settings/Core.php:57
216
+ msgid "Render Access Link"
217
+ msgstr ""
218
+
219
+ #: Application/Backend/Feature/Settings/Core.php:58
220
+ msgid ""
221
  "Render Access shortcut link under any post, page, custom post type, "
222
  "category, custom taxonomy title or user name."
223
  msgstr ""
224
 
225
+ #: Application/Backend/Feature/Settings/Core.php:62
226
  msgid "Secure Login"
227
  msgstr ""
228
 
229
+ #: Application/Backend/Feature/Settings/Core.php:63
230
  msgid ""
231
  "AAM comes with its own user login handler. With this feature you can add "
232
  "AJAX login widget to your frontend page that significantly enhance your "
233
  "website security."
234
  msgstr ""
235
 
236
+ #: Application/Backend/Feature/Settings/Core.php:67
237
+ msgid "XML-RPC WordPress API"
238
+ msgstr ""
239
+
240
+ #: Application/Backend/Feature/Settings/Core.php:68
241
+ #, php-format
242
+ msgid ""
243
+ "Remote procedure call (RPC) interface is used to manage WordPress website "
244
+ "content and features. For more information check %sXML-RPC Support%s article."
245
+ msgstr ""
246
+
247
+ #: Application/Backend/Feature/Settings/Core.php:72
248
+ msgid "RESTful WordPress API"
249
+ msgstr ""
250
+
251
+ #: Application/Backend/Feature/Settings/Core.php:73
252
+ #, php-format
253
+ msgid ""
254
+ "RESTful interface that is used to manage WordPress website content and "
255
+ "features. For more information check %sREST API handbook%s."
256
+ msgstr ""
257
+
258
+ #: Application/Backend/Feature/Settings/Core.php:77
259
  msgid "JWT Authentication"
260
  msgstr ""
261
 
262
+ #: Application/Backend/Feature/Settings/Core.php:78
263
  #, php-format
264
  msgid ""
265
  "[Note!] PHP 5.4 or higher is required for this feature. Enable the ability "
268
  "article"
269
  msgstr ""
270
 
271
+ #: Application/Backend/Feature/Settings/Core.php:97
272
  msgid "Core Settings"
273
  msgstr ""
274
 
275
+ #: Application/Backend/Feature/Settings/Tools.php:104
276
  msgid "Tools"
277
  msgstr ""
278
 
280
  msgid "Operation is not permitted"
281
  msgstr ""
282
 
283
+ #: Application/Backend/Feature/Subject/User.php:78
284
  msgid "You cannot set expiration to yourself"
285
  msgstr ""
286
 
287
+ #: Application/Backend/Manager.php:390
 
 
 
 
288
  msgid "Access Manager"
289
  msgstr ""
290
 
291
+ #: Application/Backend/Manager.php:478 Application/Backend/Manager.php:496
292
+ #: Application/Backend/Manager.php:519
293
  msgid "Access"
294
  msgstr ""
295
 
296
+ #: Application/Backend/Manager.php:670 Application/Backend/Manager.php:693
297
+ #: Application/Core/API.php:292
298
  msgid "Access Denied"
299
  msgstr ""
300
 
301
+ #: Application/Backend/View/Localization.php:26 media/js/aam.js:1319
302
  msgid "Search Capability"
303
  msgstr ""
304
 
305
+ #: Application/Backend/View/Localization.php:27 media/js/aam.js:1320
306
  msgid "_TOTAL_ capability(s)"
307
  msgstr ""
308
 
309
+ #: Application/Backend/View/Localization.php:28 media/js/aam.js:334
310
+ #: media/js/aam.js:395 media/js/aam.js:833 media/js/aam.js:1422
311
+ #: media/js/aam.js:1466 media/js/aam.js:1994
312
  msgid "Saving..."
313
  msgstr ""
314
 
315
+ #: Application/Backend/View/Localization.php:29 media/js/aam.js:1430
316
  msgid "Failed to add new capability"
317
  msgstr ""
318
 
319
+ #: Application/Backend/View/Localization.php:30 media/js/aam.js:354
320
+ #: media/js/aam.js:407 media/js/aam.js:444 media/js/aam.js:573
321
+ #: media/js/aam.js:605 media/js/aam.js:843 media/js/aam.js:876
322
+ #: media/js/aam.js:1137 media/js/aam.js:1173 media/js/aam.js:1207
323
+ #: media/js/aam.js:1435 media/js/aam.js:1479 media/js/aam.js:1518
324
+ #: media/js/aam.js:1601 media/js/aam.js:1746 media/js/aam.js:2289
325
+ #: media/js/aam.js:2375 media/js/aam.js:2514 media/js/aam.js:2543
326
+ #: media/js/aam.js:2923 media/js/aam.js:3301 media/js/aam.js:3331
327
  msgid "Application error"
328
  msgstr ""
329
 
330
+ #: Application/Backend/View/Localization.php:31 media/js/aam.js:1438
331
  msgid "Add Capability"
332
  msgstr ""
333
 
334
+ #: Application/Backend/View/Localization.php:32 media/js/aam.js:1051
335
+ #: Application/Backend/phtml/main/menu.phtml:71
336
  msgid "Show Menu"
337
  msgstr ""
338
 
339
+ #: Application/Backend/View/Localization.php:33 media/js/aam.js:1061
340
+ #: Application/Backend/phtml/main/menu.phtml:75
341
  msgid "Restrict Menu"
342
  msgstr ""
343
 
344
+ #: Application/Backend/View/Localization.php:34 media/js/aam.js:1168
345
  msgid "Failed to retrieve mataboxes"
346
  msgstr ""
347
 
348
+ #: Application/Backend/View/Localization.php:35 media/js/aam.js:1789
349
  msgid "Search"
350
  msgstr ""
351
 
352
+ #: Application/Backend/View/Localization.php:36 media/js/aam.js:1790
353
  msgid "_TOTAL_ object(s)"
354
  msgstr ""
355
 
358
  msgstr ""
359
 
360
  #: Application/Backend/View/Localization.php:38 media/js/aam.js:58
361
+ #: media/js/aam.js:513
362
  msgid "Loading..."
363
  msgstr ""
364
 
375
  msgstr ""
376
 
377
  #: Application/Backend/View/Localization.php:42 media/js/aam.js:130
378
+ #: media/js/aam.js:646 Application/Backend/phtml/index.phtml:168
379
  #: Application/Backend/phtml/main/capability.phtml:26
380
  #: Application/Backend/phtml/main/capability.phtml:64
381
  msgid "Create"
383
 
384
  #: Application/Backend/View/Localization.php:43 media/js/aam.js:154
385
  #: Application/Backend/phtml/index.phtml:122
386
+ #: Application/Backend/phtml/index.phtml:303
387
  msgid "Users"
388
  msgstr ""
389
 
390
+ #: Application/Backend/View/Localization.php:44 media/js/aam.js:349
391
  msgid "Failed to add new role"
392
  msgstr ""
393
 
394
+ #: Application/Backend/View/Localization.php:45 media/js/aam.js:357
395
  msgid "Add Role"
396
  msgstr ""
397
 
398
+ #: Application/Backend/View/Localization.php:46 media/js/aam.js:402
399
  msgid "Failed to update role"
400
  msgstr ""
401
 
402
+ #: Application/Backend/View/Localization.php:47
403
+ #: Application/Backend/View/PostOptionList.php:160 media/js/aam.js:411
404
  #: Application/Backend/phtml/extensions.phtml:51
405
  #: Application/Backend/phtml/extensions.phtml:78
406
  #: Application/Backend/phtml/index.phtml:194
407
  #: Application/Backend/phtml/main/capability.phtml:86
 
408
  #: Application/Backend/phtml/partial/post-advanced-settings.phtml:37
409
+ #: Application/Backend/phtml/partial/post-advanced-settings.phtml:58
410
+ #: Application/Backend/phtml/partial/post-advanced-settings.phtml:114
411
+ #: Application/Backend/phtml/partial/post-advanced-settings.phtml:141
412
  msgid "Update"
413
  msgstr ""
414
 
415
+ #: Application/Backend/View/Localization.php:48 media/js/aam.js:434
416
+ #: media/js/aam.js:1505
417
  msgid "Deleting..."
418
  msgstr ""
419
 
420
+ #: Application/Backend/View/Localization.php:49 media/js/aam.js:440
421
  msgid "Failed to delete role"
422
  msgstr ""
423
 
424
  #: Application/Backend/View/Localization.php:50
425
+ #: Application/Backend/View/Localization.php:62 media/js/aam.js:259
426
+ #: media/js/aam.js:448 Application/Backend/phtml/index.phtml:206
427
  msgid "Delete Role"
428
  msgstr ""
429
 
430
+ #: Application/Backend/View/Localization.php:51 media/js/aam.js:569
431
  msgid "Failed to block user"
432
  msgstr ""
433
 
434
+ #: Application/Backend/View/Localization.php:52 media/js/aam.js:637
435
  msgid "Search User"
436
  msgstr ""
437
 
438
+ #: Application/Backend/View/Localization.php:53 media/js/aam.js:638
439
  msgid "_TOTAL_ user(s)"
440
  msgstr ""
441
 
442
+ #: Application/Backend/View/Localization.php:54 media/js/aam.js:663
 
443
  #: Application/Backend/phtml/index.phtml:139
444
+ #: Application/Backend/phtml/metabox/metabox-content.phtml:46
445
  msgid "Role"
446
  msgstr ""
447
 
448
  #: Application/Backend/View/Localization.php:55
449
+ #: Application/Core/Subject/Visitor.php:79 media/js/aam.js:921
450
  msgid "Anonymous"
451
  msgstr ""
452
 
458
  msgid "Current role"
459
  msgstr ""
460
 
461
+ #: Application/Backend/View/Localization.php:58 media/js/aam.js:1878
462
  msgid "Manage Access"
463
  msgstr ""
464
 
465
  #: Application/Backend/View/Localization.php:59
466
+ #: Application/Backend/View/PostOptionList.php:97 media/js/aam.js:1890
467
  msgid "Edit"
468
  msgstr ""
469
 
470
+ #: Application/Backend/View/Localization.php:60 media/js/aam.js:200
471
  msgid "Manage Role"
472
  msgstr ""
473
 
474
+ #: Application/Backend/View/Localization.php:61 media/js/aam.js:222
475
  msgid "Edit Role"
476
  msgstr ""
477
 
478
+ #: Application/Backend/View/Localization.php:63 media/js/aam.js:702
479
  msgid "Manage User"
480
  msgstr ""
481
 
482
+ #: Application/Backend/View/Localization.php:64 media/js/aam.js:751
483
  msgid "Edit User"
484
  msgstr ""
485
 
486
+ #: Application/Backend/View/Localization.php:65 media/js/aam.js:564
487
+ #: media/js/aam.js:565 media/js/aam.js:764
488
  msgid "Lock User"
489
  msgstr ""
490
 
491
+ #: Application/Backend/View/Localization.php:66 media/js/aam.js:558
492
+ #: media/js/aam.js:559 media/js/aam.js:777
493
  msgid "Unlock User"
494
  msgstr ""
495
 
498
  msgstr ""
499
 
500
  #: Application/Backend/View/PostOptionList.php:26
501
+ #: Application/Backend/View/PostOptionList.php:91
502
+ #: Application/Backend/View/PostOptionList.php:114
503
  msgid "List"
504
  msgstr ""
505
 
506
  #: Application/Backend/View/PostOptionList.php:27
507
+ #: Application/Backend/View/PostOptionList.php:93
508
  #, php-format
509
+ msgid "Hide %s however still allow access with direct URL."
 
 
 
510
  msgstr ""
511
 
512
  #: Application/Backend/View/PostOptionList.php:27
516
  msgstr ""
517
 
518
  #: Application/Backend/View/PostOptionList.php:31
519
+ #: Application/Backend/View/PostOptionList.php:119
520
  msgid "Read"
521
  msgstr ""
522
 
523
  #: Application/Backend/View/PostOptionList.php:32
524
  #, php-format
525
  msgid ""
526
+ "Restrict access to view, read or download %s. Any attempts to open %s will "
527
+ "be denied and redirected based on the Access Denied Redirect rule."
528
  msgstr ""
529
 
530
  #: Application/Backend/View/PostOptionList.php:35
531
+ #: Application/Backend/View/PostOptionList.php:123
532
  msgid "Limit"
533
  msgstr ""
534
 
535
  #: Application/Backend/View/PostOptionList.php:36
536
+ #: Application/Backend/View/PostOptionList.php:124
537
  msgid "Teaser message"
538
  msgstr ""
539
 
540
+ #: Application/Backend/View/PostOptionList.php:40
541
+ #: Application/Backend/View/PostOptionList.php:128
542
  #, php-format
543
+ msgid "Replace %s content with defined teaser message."
544
  msgstr ""
545
 
546
+ #: Application/Backend/View/PostOptionList.php:43
547
+ #: Application/Backend/View/PostOptionList.php:131
548
  msgid "Read Counter"
549
  msgstr ""
550
 
551
+ #: Application/Backend/View/PostOptionList.php:44
552
+ #: Application/Backend/View/PostOptionList.php:132
553
+ #: Application/Backend/phtml/partial/post-advanced-settings.phtml:32
554
  msgid "Threshold"
555
  msgstr ""
556
 
557
+ #: Application/Backend/View/PostOptionList.php:49
558
  #, php-format
559
  msgid ""
560
+ "Define how many times %s can be read, viewed or download. After number of "
561
+ "times exceeds the specified threshold, access will be denied and redirected "
562
+ "based on the Access Denied Redirect rule."
563
  msgstr ""
564
 
565
+ #: Application/Backend/View/PostOptionList.php:52
566
+ #: Application/Backend/View/PostOptionList.php:140
567
  msgid "Comment"
568
  msgstr ""
569
 
570
+ #: Application/Backend/View/PostOptionList.php:53
571
  #, php-format
572
+ msgid "Restrict access to comment on %s if commenting is allowed."
573
  msgstr ""
574
 
575
+ #: Application/Backend/View/PostOptionList.php:56
576
  msgid "Redirect"
577
  msgstr ""
578
 
579
+ #: Application/Backend/View/PostOptionList.php:57
580
  msgid "Redirect Rule"
581
  msgstr ""
582
 
583
+ #: Application/Backend/View/PostOptionList.php:61
584
  #, php-format
585
  msgid ""
586
  "Redirect user based on the defined redirect rule when user tries to read the "
587
+ "%s. The REDIRECT option will be ignored if READ option is checked."
 
588
  msgstr ""
589
 
590
+ #: Application/Backend/View/PostOptionList.php:64
591
+ #: Application/Backend/View/PostOptionList.php:144
592
  msgid "Password Protected"
593
  msgstr ""
594
 
595
+ #: Application/Backend/View/PostOptionList.php:65
596
+ #: Application/Backend/View/PostOptionList.php:145
597
+ #: Application/Backend/phtml/partial/post-advanced-settings.phtml:53
598
+ #: Application/Backend/phtml/widget/login-frontend.phtml:27
599
  #: Application/Frontend/phtml/login.phtml:13
600
  msgid "Password"
601
  msgstr ""
602
 
603
+ #: Application/Backend/View/PostOptionList.php:69
604
  #, php-format
605
+ msgid ""
606
+ "Protect access to %s with password. Available with WordPress 4.7.0 or higher."
607
  msgstr ""
608
 
609
+ #: Application/Backend/View/PostOptionList.php:72
610
+ #: Application/Backend/View/PostOptionList.php:152
611
  msgid "Access Expiration"
612
  msgstr ""
613
 
614
+ #: Application/Backend/View/PostOptionList.php:73
615
+ #: Application/Backend/View/PostOptionList.php:153
616
  #: Application/Backend/phtml/index.phtml:245
617
  msgid "Expires"
618
  msgstr ""
619
 
620
+ #: Application/Backend/View/PostOptionList.php:77
621
  #, php-format
622
+ msgid "Define when access will expire for %s."
623
  msgstr ""
624
 
625
+ #: Application/Backend/View/PostOptionList.php:77
626
  #, php-format
627
  msgid ""
628
+ "After expiration, the access to %s will be denied and redirected based on "
629
+ "the Access Denied Redirect rule. For more information %scheck this article%s "
630
+ "or "
631
  msgstr ""
632
 
633
+ #: Application/Backend/View/PostOptionList.php:77
634
  #, php-format
635
  msgid " %ssee in action.%s"
636
  msgstr ""
637
 
638
+ #: Application/Backend/View/PostOptionList.php:80
639
  msgid "Monetized Access"
640
  msgstr ""
641
 
642
+ #: Application/Backend/View/PostOptionList.php:81
643
  msgid "E-Product"
644
  msgstr ""
645
 
646
+ #: Application/Backend/View/PostOptionList.php:86
647
  #, php-format
648
  msgid ""
649
+ "[Premium feature!] Start selling access to %s. Access will be granted to "
650
+ "open %s only if selected E-Product had been purchased. For more information "
651
+ "%scheck this article%s."
652
  msgstr ""
653
 
654
+ #: Application/Backend/View/PostOptionList.php:99
 
 
 
 
 
 
 
 
655
  #, php-format
656
  msgid ""
657
+ "Restrict access to edit %s. Any attempts to edit %s will result in "
658
  "redirecting user based on the Access Denied Redirect rule."
659
  msgstr ""
660
 
661
+ #: Application/Backend/View/PostOptionList.php:102
662
+ #: Application/Backend/View/PostOptionList.php:165
663
  #: Application/Backend/phtml/index.phtml:212
664
  #: Application/Backend/phtml/main/capability.phtml:104
665
  msgid "Delete"
666
  msgstr ""
667
 
668
+ #: Application/Backend/View/PostOptionList.php:104
669
+ #: Application/Backend/View/PostOptionList.php:167
670
  #, php-format
671
  msgid "Restrict access to trash or permanently delete %s."
672
  msgstr ""
673
 
674
+ #: Application/Backend/View/PostOptionList.php:107
675
  msgid "Publish"
676
  msgstr ""
677
 
678
+ #: Application/Backend/View/PostOptionList.php:109
679
  #, php-format
680
  msgid ""
681
+ "Restrict access to publish %s. User will be allowed only to submit %s for "
682
+ "review."
683
+ msgstr ""
684
+
685
+ #: Application/Backend/View/PostOptionList.php:115
686
+ #, php-format
687
+ msgid "Hide %s however still allow access to retrieve %s."
688
+ msgstr ""
689
+
690
+ #: Application/Backend/View/PostOptionList.php:120
691
+ #, php-format
692
+ msgid ""
693
+ "Restrict access to retrieve %s. Any attempts to retrieve %s will be denied."
694
+ msgstr ""
695
+
696
+ #: Application/Backend/View/PostOptionList.php:137
697
+ #, php-format
698
+ msgid ""
699
+ "Define how many times %s can be retrieved. After number of time exceeds the "
700
+ "defined threshold, the access will be denied to %s."
701
+ msgstr ""
702
+
703
+ #: Application/Backend/View/PostOptionList.php:141
704
+ #, php-format
705
+ msgid "Restrict access to comment on %s if commenting feature is enabled."
706
+ msgstr ""
707
+
708
+ #: Application/Backend/View/PostOptionList.php:149
709
+ #, php-format
710
+ msgid "Protected %s with password. Available with WordPress 4.7.0 or higher."
711
+ msgstr ""
712
+
713
+ #: Application/Backend/View/PostOptionList.php:157
714
+ #, php-format
715
+ msgid "Define when access expires to %s."
716
+ msgstr ""
717
+
718
+ #: Application/Backend/View/PostOptionList.php:157
719
+ #, php-format
720
+ msgid ""
721
+ "After expiration, the access to %s will be denied. For more information "
722
+ "%scheck this article%s or "
723
+ msgstr ""
724
+
725
+ #: Application/Backend/View/PostOptionList.php:162
726
+ #, php-format
727
+ msgid "Restrict access to update %s. Any attempts to update %s will be denied."
728
  msgstr ""
729
 
730
  #: Application/Backend/Widget/Login.php:19
731
  msgid "AAM Secure Login Widget"
732
  msgstr ""
733
 
734
+ #: Application/Backend/Widget/Login.php:98
735
  #: Application/Frontend/phtml/login.phtml:27
736
  msgid "Login"
737
  msgstr ""
738
 
739
+ #: Application/Backend/Widget/Login.php:102
740
+ #: Application/Shortcode/Strategy/Login.php:54
741
  msgid "Howdy, %username%"
742
  msgstr ""
743
 
744
  #: Application/Core/JwtAuth.php:58
745
+ msgid ""
746
+ "JWT Authentication is enabled but authentication.jwt.secret is not defined"
747
  msgstr ""
748
 
749
  #: Application/Core/JwtAuth.php:76
754
  msgid "Valid password."
755
  msgstr ""
756
 
757
+ #: Application/Core/JwtAuth.php:131
758
+ msgid "JWT Authentication is enabled but secret key is not defined"
759
+ msgstr ""
760
+
761
+ #: Application/Core/Login.php:161
762
  msgid "Access denied. Please login to get access."
763
  msgstr ""
764
 
765
+ #: Application/Core/Subject/Default.php:78 media/js/aam.js:960
766
  msgid "All Users, Roles and Visitor"
767
  msgstr ""
768
 
769
+ #: Application/Extension/List.php:64
770
  msgid ""
771
  "[Deprecated!]. The extension is deprecated and replaces with more "
772
  "sophisticated E-Commerce extension. If you already purchased it, please "
773
  "contact us to upgrade your license for no additional cost."
774
  msgstr ""
775
 
776
+ #: Application/Extension/Repository.php:129
777
  #, php-format
778
  msgid ""
779
  "The [%s] file is missing. Update extension to the latest version. %sRead "
780
  "more.%s"
781
  msgstr ""
782
 
783
+ #: Application/Extension/Repository.php:327
784
  #, php-format
785
  msgid "Failed to create %s"
786
  msgstr ""
787
 
788
+ #: Application/Extension/Repository.php:331
789
  #, php-format
790
  msgid "Directory %s is not writable"
791
  msgstr ""
792
 
793
+ #: Application/Shared/Manager.php:92
794
+ msgid "RESTful API is disabled"
795
+ msgstr ""
796
+
797
+ #: Application/Shared/Manager.php:265
798
  msgid "[No teaser message provided]"
799
  msgstr ""
800
 
802
  msgid "No valid strategy found for the given context"
803
  msgstr ""
804
 
805
+ #: aam.php:198
806
  msgid "PHP 5.3.0 or higher is required."
807
  msgstr ""
808
 
809
+ #: aam.php:200
810
+ msgid "WP 4.0 or higher is required."
811
  msgstr ""
812
 
813
+ #: media/js/aam.js:238
814
  msgid "Clone Role"
815
  msgstr ""
816
 
817
+ #: media/js/aam.js:518 Application/Backend/phtml/index.phtml:260
818
+ #: Application/Backend/phtml/partial/role-inheritance.phtml:5
819
+ msgid "Select Role"
820
+ msgstr ""
821
+
822
+ #: media/js/aam.js:736
823
  msgid "User Expiration"
824
  msgstr ""
825
 
826
+ #: media/js/aam.js:790
827
  msgid "Switch To User"
828
  msgstr ""
829
 
830
+ #: media/js/aam.js:847 Application/Backend/phtml/index.phtml:266
831
+ #: Application/Backend/phtml/partial/post-advanced-settings.phtml:16
832
  msgid "Save"
833
  msgstr ""
834
 
835
+ #: media/js/aam.js:866
836
  msgid "Reseting..."
837
  msgstr ""
838
 
839
+ #: media/js/aam.js:880 Application/Backend/phtml/index.phtml:265
840
  msgid "Reset"
841
  msgstr ""
842
 
843
+ #: media/js/aam.js:1016 media/js/aam.js:2713 media/js/aam.js:2761
844
+ #: media/js/aam.js:2795 media/js/aam.js:2828 media/js/aam.js:2880
845
  msgid "Application Error"
846
  msgstr ""
847
 
848
+ #: media/js/aam.js:1085 Application/Backend/phtml/main/menu.phtml:57
849
  msgid "Uncheck to allow"
850
  msgstr ""
851
 
852
+ #: media/js/aam.js:1087 Application/Backend/phtml/main/menu.phtml:57
853
  msgid "Check to restrict"
854
  msgstr ""
855
 
856
+ #: media/js/aam.js:1194
857
  msgid "Processing"
858
  msgstr ""
859
 
860
+ #: media/js/aam.js:1202
861
  msgid "Failed to initialize URL"
862
  msgstr ""
863
 
864
+ #: media/js/aam.js:1210 Application/Backend/phtml/main/metabox.phtml:102
865
  msgid "Initialize"
866
  msgstr ""
867
 
868
+ #: media/js/aam.js:1234 Application/Backend/phtml/main/metabox.phtml:65
869
  msgid "Uncheck to show"
870
  msgstr ""
871
 
872
+ #: media/js/aam.js:1236 Application/Backend/phtml/main/metabox.phtml:65
873
  msgid "Check to hide"
874
  msgstr ""
875
 
876
+ #: media/js/aam.js:1282
877
  msgid "WordPress core does not allow to grant this capability"
878
  msgstr ""
879
 
880
+ #: media/js/aam.js:1322 media/js/aam.js:2426
881
  msgid "Nothing to show"
882
  msgstr ""
883
 
884
+ #: media/js/aam.js:1474
885
  msgid "Failed to update capability"
886
  msgstr ""
887
 
888
+ #: media/js/aam.js:1482 Application/Backend/phtml/main/capability.phtml:76
889
  msgid "Update Capability"
890
  msgstr ""
891
 
892
+ #: media/js/aam.js:1513
893
  msgid "Failed to delete capability"
894
  msgstr ""
895
 
896
+ #: media/js/aam.js:1521 Application/Backend/phtml/main/capability.phtml:98
897
  msgid "Delete Capability"
898
  msgstr ""
899
 
900
+ #: media/js/aam.js:1864
901
  msgid "Drill-Down"
902
  msgstr ""
903
 
904
+ #: media/js/aam.js:1937 media/js/aam.js:3325
905
+ msgid "Resetting..."
906
+ msgstr ""
907
+
908
+ #: media/js/aam.js:2423
909
+ msgid "Search Route"
910
+ msgstr ""
911
+
912
+ #: media/js/aam.js:2424
913
+ msgid "_TOTAL_ route(s)"
914
+ msgstr ""
915
+
916
+ #: media/js/aam.js:2536
917
  msgid "Extension status was updated successfully"
918
  msgstr ""
919
 
920
+ #: media/js/aam.js:2748 media/js/aam.js:2782 media/js/aam.js:2816
921
+ #: media/js/aam.js:2869
922
  msgid "Wait..."
923
  msgstr ""
924
 
925
+ #: media/js/aam.js:2754
926
+ msgid "All settings has been cleared successfully"
927
  msgstr ""
928
 
929
+ #: media/js/aam.js:2765 media/js/aam.js:2799
930
  #: Application/Backend/phtml/settings/tools.phtml:66
931
  msgid "Clear"
932
  msgstr ""
933
 
934
+ #: media/js/aam.js:2788
935
+ msgid "The cache has been cleared successfully"
936
  msgstr ""
937
 
938
+ #: media/js/aam.js:2876
939
  msgid "Invalid data format"
940
  msgstr ""
941
 
1017
  #: Application/Backend/phtml/index.phtml:205
1018
  #: Application/Backend/phtml/index.phtml:213
1019
  #: Application/Backend/phtml/index.phtml:240
1020
+ #: Application/Backend/phtml/index.phtml:267
1021
  #: Application/Backend/phtml/main/capability.phtml:54
1022
  #: Application/Backend/phtml/main/capability.phtml:65
1023
  #: Application/Backend/phtml/main/capability.phtml:75
1024
  #: Application/Backend/phtml/main/capability.phtml:87
1025
  #: Application/Backend/phtml/main/capability.phtml:97
1026
  #: Application/Backend/phtml/main/capability.phtml:105
1027
+ #: Application/Backend/phtml/main/menu.phtml:100
1028
  #: Application/Backend/phtml/main/metabox.phtml:89
1029
  #: Application/Backend/phtml/main/metabox.phtml:103
1030
  #: Application/Backend/phtml/partial/post-advanced-settings.phtml:6
1032
  #: Application/Backend/phtml/partial/post-advanced-settings.phtml:27
1033
  #: Application/Backend/phtml/partial/post-advanced-settings.phtml:38
1034
  #: Application/Backend/phtml/partial/post-advanced-settings.phtml:48
1035
+ #: Application/Backend/phtml/partial/post-advanced-settings.phtml:59
1036
+ #: Application/Backend/phtml/partial/post-advanced-settings.phtml:69
1037
+ #: Application/Backend/phtml/partial/post-advanced-settings.phtml:115
1038
+ #: Application/Backend/phtml/partial/post-advanced-settings.phtml:125
1039
+ #: Application/Backend/phtml/partial/post-advanced-settings.phtml:142
1040
+ #: Application/Backend/phtml/partial/post-advanced-settings.phtml:152
1041
+ #: Application/Backend/phtml/partial/post-advanced-settings.phtml:164
1042
  #: Application/Backend/phtml/settings/tools.phtml:59
1043
  msgid "Close"
1044
  msgstr ""
1095
  "remember that license key is limited only to one life domain."
1096
  msgstr ""
1097
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1098
  #: Application/Backend/phtml/index.phtml:14
1099
  msgid "Main Panel"
1100
  msgstr ""
1167
  msgstr ""
1168
 
1169
  #: Application/Backend/phtml/index.phtml:119
1170
+ #: Application/Backend/phtml/index.phtml:298
1171
  msgid "Roles"
1172
  msgstr ""
1173
 
1174
  #: Application/Backend/phtml/index.phtml:125
1175
+ #: Application/Backend/phtml/index.phtml:308
1176
  msgid "Visitor"
1177
  msgstr ""
1178
 
1179
  #: Application/Backend/phtml/index.phtml:128
1180
+ #: Application/Backend/phtml/index.phtml:313
1181
  msgid "Default"
1182
  msgstr ""
1183
 
1219
  msgid "Are you sure that you want to delete the %s role?"
1220
  msgstr ""
1221
 
1222
+ #: Application/Backend/phtml/index.phtml:227
1223
+ #: Application/Backend/phtml/metabox/metabox-content.phtml:62
1224
+ msgid "Username"
1225
+ msgstr ""
1226
+
1227
  #: Application/Backend/phtml/index.phtml:241
1228
  msgid "Manage User Expiration"
1229
  msgstr ""
1248
  msgid "Lock Account"
1249
  msgstr ""
1250
 
1251
+ #: Application/Backend/phtml/index.phtml:254
1252
+ msgid "Change User Role"
1253
+ msgstr ""
1254
+
1255
+ #: Application/Backend/phtml/index.phtml:258
1256
+ msgid "Change To Role"
1257
+ msgstr ""
1258
+
1259
+ #: Application/Backend/phtml/index.phtml:277
1260
  msgid ""
1261
  "Manage access to your website for visitors (any user that is not "
1262
  "authenticated)"
1263
  msgstr ""
1264
 
1265
  #: Application/Backend/phtml/index.phtml:278
1266
+ #: Application/Backend/phtml/metabox/metabox-content.phtml:75
1267
+ msgid "Manage Visitors"
1268
+ msgstr ""
1269
+
1270
+ #: Application/Backend/phtml/index.phtml:285
1271
  msgid ""
1272
  "Manage default access to your website resources for all users, roles and "
1273
  "visitor. This includes Administrator role and your user"
1274
  msgstr ""
1275
 
1276
+ #: Application/Backend/phtml/index.phtml:286
1277
+ #: Application/Backend/phtml/metabox/metabox-content.phtml:84
1278
+ msgid "Manage Default Access"
1279
+ msgstr ""
1280
+
1281
+ #: Application/Backend/phtml/index.phtml:294
1282
  msgid ""
1283
  "Manage access for your users, roles and visitors. Be careful with "
1284
  "[Administrator] role as well as your admin user. [Database backup is "
1285
  "strongly recommended]."
1286
  msgstr ""
1287
 
1288
+ #: Application/Backend/phtml/index.phtml:299
1289
  msgid ""
1290
  "With Roles tab you can manage access for any defined role, edit role's name, "
1291
  "create new role or even delete existing (but only when there is no users "
1292
  "assigned to it). You are not allowed to delete Administrator role."
1293
  msgstr ""
1294
 
1295
+ #: Application/Backend/phtml/index.phtml:304
1296
  msgid ""
1297
  "Manage access for any user. As a bonus feature, you can block user. It means "
1298
  "that user will be not able to login to your website anymore."
1299
  msgstr ""
1300
 
1301
+ #: Application/Backend/phtml/index.phtml:309
1302
  msgid ""
1303
  "Visitor can be considered any user that is not authenticated to your website."
1304
  msgstr ""
1305
 
1306
+ #: Application/Backend/phtml/index.phtml:314
1307
  msgid ""
1308
  "Manage default access settings to your website resources for all users, "
1309
  "roles and visitors."
1310
  msgstr ""
1311
 
1312
+ #: Application/Backend/phtml/main-panel.phtml:26
1313
  msgid "You are not allowed to manage any of the existing features."
1314
  msgstr ""
1315
 
1325
  #: Application/Backend/phtml/main/login-redirect.phtml:31
1326
  #: Application/Backend/phtml/main/logout-redirect.phtml:31
1327
  #: Application/Backend/phtml/main/redirect.phtml:50
1328
+ #: Application/Backend/phtml/partial/post-advanced-settings.phtml:77
1329
  msgid "Redirected to existing page [(select from the drop-down)]"
1330
  msgstr ""
1331
 
1340
  #: Application/Backend/phtml/main/logout-redirect.phtml:39
1341
  #: Application/Backend/phtml/main/redirect.phtml:58
1342
  #: Application/Backend/phtml/main/redirect.phtml:110
1343
+ #: Application/Backend/phtml/partial/post-advanced-settings.phtml:85
1344
  #, php-format
1345
  msgid "Trigger PHP callback function [(valid %sPHP callback%s is required)]"
1346
  msgstr ""
1347
 
 
 
 
 
 
 
 
 
1348
  #: Application/Backend/phtml/main/404redirect.phtml:45
1349
  #: Application/Backend/phtml/main/login-redirect.phtml:52
1350
  #: Application/Backend/phtml/main/logout-redirect.phtml:52
1351
  #: Application/Backend/phtml/main/redirect.phtml:76
1352
  #: Application/Backend/phtml/main/redirect.phtml:128
1353
+ #: Application/Backend/phtml/partial/post-advanced-settings.phtml:96
1354
  msgid "-- Select Page --"
1355
  msgstr ""
1356
 
1359
  #: Application/Backend/phtml/main/logout-redirect.phtml:58
1360
  #: Application/Backend/phtml/main/redirect.phtml:82
1361
  #: Application/Backend/phtml/main/redirect.phtml:134
1362
+ #: Application/Backend/phtml/partial/post-advanced-settings.phtml:102
1363
  msgid "The URL"
1364
  msgstr ""
1365
 
1368
  #: Application/Backend/phtml/main/logout-redirect.phtml:63
1369
  #: Application/Backend/phtml/main/redirect.phtml:87
1370
  #: Application/Backend/phtml/main/redirect.phtml:139
1371
+ #: Application/Backend/phtml/partial/post-advanced-settings.phtml:107
1372
  msgid "PHP Callback Function"
1373
  msgstr ""
1374
 
1397
  msgid "Capabilities are customized"
1398
  msgstr ""
1399
 
1400
+ #: Application/Backend/phtml/main/capability.phtml:33
1401
+ #: Application/Backend/phtml/main/menu.phtml:14
1402
+ #: Application/Backend/phtml/main/metabox.phtml:20
1403
+ #: Application/Backend/phtml/main/post.phtml:36
1404
+ #: Application/Backend/phtml/main/route.phtml:18
1405
+ #: Application/Backend/phtml/metabox/metabox-content.phtml:101
1406
+ msgid "Reset To Default"
1407
+ msgstr ""
1408
+
1409
  #: Application/Backend/phtml/main/capability.phtml:42
1410
  msgid "Category"
1411
  msgstr ""
1451
  #, php-format
1452
  msgid ""
1453
  "Customize login redirect for [%s] when the authentication is completed "
1454
+ "successfully. [Please note!] Login redirect works with default WordPress "
1455
+ "login form or %sAAM Secure Login widget%s. It may [not] work with any other "
1456
+ "login solutions."
1457
  msgstr ""
1458
 
1459
  #: Application/Backend/phtml/main/login-redirect.phtml:27
1463
 
1464
  #: Application/Backend/phtml/main/login-redirect.phtml:35
1465
  #: Application/Backend/phtml/main/logout-redirect.phtml:35
1466
+ #: Application/Backend/phtml/partial/post-advanced-settings.phtml:81
1467
  msgid "Redirected to the URL [(enter full URL starting from http or https)]"
1468
  msgstr ""
1469
 
1484
  "WordPress backend menu%s."
1485
  msgstr ""
1486
 
1487
+ #: Application/Backend/phtml/main/menu.phtml:13
1488
+ #: Application/Backend/phtml/main/metabox.phtml:19
1489
+ #: Application/Backend/phtml/main/post.phtml:35
1490
+ #: Application/Backend/phtml/metabox/metabox-content.phtml:100
1491
+ msgid "Settings are customized"
1492
+ msgstr ""
1493
+
1494
+ #: Application/Backend/phtml/main/menu.phtml:89
1495
  msgid ""
1496
  "Current user does not have enough capabilities to access any available "
1497
  "dashboard page."
1498
  msgstr ""
1499
 
1500
+ #: Application/Backend/phtml/main/menu.phtml:101
1501
  msgid "Dashboard Lockdown"
1502
  msgstr ""
1503
 
1504
+ #: Application/Backend/phtml/main/menu.phtml:105
1505
  msgid "You cannot restrict access to Dashboard home page."
1506
  msgstr ""
1507
 
1508
+ #: Application/Backend/phtml/main/menu.phtml:106
1509
  #, php-format
1510
  msgid ""
1511
  "The [Home] is the default page every user is redirected after login. To "
1513
  "WordPress backend%s article."
1514
  msgstr ""
1515
 
1516
+ #: Application/Backend/phtml/main/menu.phtml:110
1517
  msgid "OK"
1518
  msgstr ""
1519
 
1576
  #, php-format
1577
  msgid ""
1578
  "You are allowed to manage access to unlimited number of posts, pages or "
1579
+ "custom post types but only for any role, user or visitor. Consider to "
1580
  "purchase %s[AAM Plus Package]%s extension to have the ability to also manage "
1581
  "access to categories and custom taxonomies or to define the default access "
1582
  "to all posts, pages or custom post types. For more information about this "
1583
+ "functionality check %sHow to manage access to the WordPress content%s."
1584
  msgstr ""
1585
 
1586
  #: Application/Backend/phtml/main/post.phtml:15
1587
  #, php-format
1588
  msgid ""
1589
+ "Manage access to posts, pages, custom post types, categories or custom "
1590
+ "hierarchical taxonomies. For more information about this functionality check "
1591
+ "%sHow to manage access to the WordPress content%s article."
1592
  msgstr ""
1593
 
1594
  #: Application/Backend/phtml/main/post.phtml:25
1600
  msgstr ""
1601
 
1602
  #: Application/Backend/phtml/main/post.phtml:59
1603
+ #: Application/Backend/phtml/main/post.phtml:62
1604
+ #: Application/Backend/phtml/main/post.phtml:66
1605
+ #: Application/Backend/phtml/main/post.phtml:69
1606
+ #: Application/Backend/phtml/main/post.phtml:77
1607
+ #: Application/Backend/phtml/main/post.phtml:82
1608
  msgid "Go Back"
1609
  msgstr ""
1610
 
1660
  msgid "Redirected to existing frontend page [(select from the drop-down)]"
1661
  msgstr ""
1662
 
1663
+ #: Application/Backend/phtml/main/route.phtml:8
1664
+ #, php-format
1665
+ msgid ""
1666
+ "Manage access to the website API routes for [%s]. For full RESTful API "
1667
+ "experience, you might want to use %sJWT authentication%s that is already "
1668
+ "available in AAM."
1669
+ msgstr ""
1670
+
1671
+ #: Application/Backend/phtml/main/route.phtml:9
1672
+ msgid ""
1673
+ "[Please note!] It is the initial version of this feature. It can be "
1674
+ "significantly enhanced with a lot of useful functionality. Your feedback and "
1675
+ "suggestions are highly appreciated!"
1676
+ msgstr ""
1677
+
1678
+ #: Application/Backend/phtml/main/route.phtml:17
1679
+ msgid "Routes are customized"
1680
+ msgstr ""
1681
+
1682
+ #: Application/Backend/phtml/main/route.phtml:28
1683
+ msgid "Route"
1684
+ msgstr ""
1685
+
1686
+ #: Application/Backend/phtml/main/route.phtml:29
1687
+ msgid "Deny"
1688
+ msgstr ""
1689
+
1690
+ #: Application/Backend/phtml/metabox/metabox-content.phtml:74
1691
+ #, php-format
1692
+ msgid "Manage access to %s for visitors (any user that is not authenticated)"
1693
+ msgstr ""
1694
+
1695
+ #: Application/Backend/phtml/metabox/metabox-content.phtml:82
1696
+ #, php-format
1697
+ msgid ""
1698
+ "Manage default access to %s for all users, roles and visitor. This includes "
1699
+ "Administrator role and yourself"
1700
+ msgstr ""
1701
+
1702
+ #: Application/Backend/phtml/metabox/metabox-content.phtml:87
1703
+ msgid "This feature is allowed only with [AAM Plus Package] extension."
1704
+ msgstr ""
1705
+
1706
  #: Application/Backend/phtml/partial/login-redirect.phtml:3
1707
  msgid ""
1708
  "Setup [default] redirect after user logged in successfully for all your "
1710
  "redirect for any user or role."
1711
  msgstr ""
1712
 
1713
+ #: Application/Backend/phtml/partial/post-access-form.phtml:13
1714
+ msgid "Frontend Access Settings"
1715
+ msgstr ""
1716
+
1717
+ #: Application/Backend/phtml/partial/post-access-form.phtml:26
1718
+ #: Application/Backend/phtml/partial/post-access-form.phtml:62
1719
+ #: Application/Backend/phtml/partial/post-access-form.phtml:100
1720
+ msgid "change"
1721
+ msgstr ""
1722
+
1723
+ #: Application/Backend/phtml/partial/post-access-form.phtml:49
1724
+ msgid "Backend Access Settings"
1725
+ msgstr ""
1726
+
1727
+ #: Application/Backend/phtml/partial/post-access-form.phtml:85
1728
+ msgid "API Access Settings"
1729
+ msgstr ""
1730
+
1731
  #: Application/Backend/phtml/partial/post-advanced-settings.phtml:7
1732
+ msgid "Teaser Message"
1733
+ msgstr ""
1734
+
1735
+ #: Application/Backend/phtml/partial/post-advanced-settings.phtml:11
1736
+ msgid "Simple text or valid HTML"
1737
  msgstr ""
1738
 
1739
  #: Application/Backend/phtml/partial/post-advanced-settings.phtml:12
1740
+ msgid "Enter your teaser"
1741
  msgstr ""
1742
 
1743
  #: Application/Backend/phtml/partial/post-advanced-settings.phtml:28
1744
+ msgid "Define Threshold"
1745
  msgstr ""
1746
 
1747
  #: Application/Backend/phtml/partial/post-advanced-settings.phtml:33
1748
+ msgid "Enter digital number"
1749
  msgstr ""
1750
 
1751
  #: Application/Backend/phtml/partial/post-advanced-settings.phtml:49
1752
+ msgid "Set Password"
1753
  msgstr ""
1754
 
1755
+ #: Application/Backend/phtml/partial/post-advanced-settings.phtml:54
1756
+ msgid "Enter Password"
 
 
1757
  msgstr ""
1758
 
1759
+ #: Application/Backend/phtml/partial/post-advanced-settings.phtml:70
1760
+ msgid "Define Redirect Rule"
1761
  msgstr ""
1762
 
1763
+ #: Application/Backend/phtml/partial/post-advanced-settings.phtml:73
1764
+ #, php-format
1765
+ msgid ""
1766
+ "To learn more about REDIRECT option, please refer to our [%sHelp Section%s]."
1767
  msgstr ""
1768
 
1769
+ #: Application/Backend/phtml/partial/post-advanced-settings.phtml:126
1770
  msgid "Set Expiration"
1771
  msgstr ""
1772
 
1773
+ #: Application/Backend/phtml/partial/post-advanced-settings.phtml:136
1774
  msgid "Enter expiration critiria"
1775
  msgstr ""
1776
 
1777
+ #: Application/Backend/phtml/partial/post-advanced-settings.phtml:137
1778
  msgid "Enter critiria"
1779
  msgstr ""
1780
 
1781
+ #: Application/Backend/phtml/partial/post-advanced-settings.phtml:153
 
 
 
 
 
 
 
 
 
 
 
 
1782
  msgid "E-Commerce Setup"
1783
  msgstr ""
1784
 
1785
+ #: Application/Backend/phtml/partial/post-advanced-settings.phtml:159
1786
+ #, php-format
1787
  msgid ""
1788
+ "Monetization is the premium feature that is available with %s[E-Commerce]%s "
1789
  "extension."
1790
  msgstr ""
1791
 
1808
  msgid "Inherit Capabilities From"
1809
  msgstr ""
1810
 
1811
+ #: Application/Backend/phtml/partial/role-inheritance.phtml:11
1812
+ msgid ""
1813
+ "Also clone all AAM access settings (admin menu, metaboxes, redirects etc)"
1814
  msgstr ""
1815
 
1816
  #: Application/Backend/phtml/partial/term-type.phtml:4
1817
  #, php-format
1818
  msgid ""
1819
  "Manage access to %s is available with [AAM Plus Package] extension only. "
1820
+ "With this feature you can also define default access to all child posts that "
1821
  "belong to %s. Consider to purchase [AAM Plus Package] extension."
1822
  msgstr ""
1823
 
1876
  msgid "Login Timeout"
1877
  msgstr ""
1878
 
1879
+ #: Application/Backend/phtml/widget/login-backend.phtml:15
1880
+ msgid ""
1881
+ "Delay the login process for 1 second to significantly reduce the chance for "
1882
+ "brute force or dictionary attack."
1883
+ msgstr ""
1884
+
1885
  #: Application/Backend/phtml/widget/login-backend.phtml:20
1886
+ msgid "One session per user"
1887
+ msgstr ""
1888
+
1889
+ #: Application/Backend/phtml/widget/login-backend.phtml:21
1890
+ msgid ""
1891
+ "Automatically destroy all other sessions for a user if he/she tries to login "
1892
+ "from different location."
1893
+ msgstr ""
1894
+
1895
+ #: Application/Backend/phtml/widget/login-backend.phtml:26
1896
  msgid "Brute Force Lockout"
1897
  msgstr ""
1898
 
1899
+ #: Application/Backend/phtml/widget/login-backend.phtml:27
1900
+ msgid ""
1901
+ "Automatically reject login attempts if number of unsuccessful login attempts "
1902
+ "is more than 20 over the period of 2 minutes."
1903
+ msgstr ""
1904
+
1905
+ #: Application/Backend/phtml/widget/login-backend.phtml:31
1906
  #, php-format
1907
  msgid ""
1908
  "For more advanced setup like login/logout redirects or custom styling, "
1909
  "please check %sthis article%s."
1910
  msgstr ""
1911
 
1912
+ #: Application/Backend/phtml/widget/login-frontend.phtml:21
1913
+ #: Application/Frontend/phtml/login.phtml:7
1914
+ msgid "Username or Email Address"
1915
+ msgstr ""
1916
+
1917
+ #: Application/Backend/phtml/widget/login-frontend.phtml:36
1918
+ #: Application/Frontend/phtml/login.phtml:22
1919
+ msgid "Remember Me"
1920
+ msgstr ""
1921
+
1922
+ #: Application/Backend/phtml/widget/login-frontend.phtml:41
1923
+ msgid "Log In"
1924
+ msgstr ""
1925
+
1926
  #: Application/Backend/phtml/widget/login-frontend.phtml:49
1927
  #: Application/Frontend/phtml/login.phtml:35
1928
  msgid "Register"
1947
  #: Application/Frontend/phtml/login.phtml:54
1948
  msgid "Log Out"
1949
  msgstr ""
 
 
 
 
 
 
 
 
Lang/advanced-access-manager.pot CHANGED
@@ -2,7 +2,7 @@
2
  msgid ""
3
  msgstr ""
4
  "Project-Id-Version: AAM\n"
5
- "POT-Creation-Date: 2018-03-20 18:40-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,13 +10,17 @@ 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.6\n"
14
  "Plural-Forms: nplurals=2; plural=(n != 1);\n"
15
  "X-Poedit-SourceCharset: UTF-8\n"
16
  "X-Poedit-KeywordsList: __;preparePhrase\n"
17
  "X-Poedit-Basepath: ..\n"
18
  "X-Poedit-SearchPath-0: .\n"
19
 
 
 
 
 
20
  #: Application/Backend/Feature/Extension/Manager.php:59
21
  msgid "You may try to install extension manually."
22
  msgstr ""
@@ -37,35 +41,32 @@ msgstr ""
37
  msgid "Can not remove the capability"
38
  msgstr ""
39
 
40
- #: Application/Backend/Feature/Main/Capability.php:218
41
- #: Application/Backend/Feature/Main/Capability.php:259
42
  msgid "System"
43
  msgstr ""
44
 
45
- #: Application/Backend/Feature/Main/Capability.php:219
46
- #: Application/Backend/Feature/Main/Capability.php:261
47
- #: Application/Backend/Feature/Main/Post.php:549
48
  msgid "Posts & Pages"
49
  msgstr ""
50
 
51
- #: Application/Backend/Feature/Main/Capability.php:220
52
- #: Application/Backend/Feature/Main/Capability.php:263
53
- #: Application/Backend/phtml/frame.phtml:145
54
- #: Application/Backend/phtml/main/post.phtml:105
55
  msgid "Backend"
56
  msgstr ""
57
 
58
- #: Application/Backend/Feature/Main/Capability.php:221
59
- #: Application/Backend/Feature/Main/Capability.php:265
60
  msgid "AAM Interface"
61
  msgstr ""
62
 
63
- #: Application/Backend/Feature/Main/Capability.php:222
64
- #: Application/Backend/Feature/Main/Capability.php:267
65
  msgid "Miscellaneous"
66
  msgstr ""
67
 
68
- #: Application/Backend/Feature/Main/Capability.php:299
69
  msgid "Capabilities"
70
  msgstr ""
71
 
@@ -81,14 +82,40 @@ msgstr ""
81
  msgid "Backend Menu"
82
  msgstr ""
83
 
84
- #: Application/Backend/Feature/Main/Metabox.php:241
85
  msgid "Metaboxes & Widgets"
86
  msgstr ""
87
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
88
  #: Application/Backend/Feature/Main/Redirect.php:83
89
  msgid "Access Denied Redirect"
90
  msgstr ""
91
 
 
 
 
 
92
  #: Application/Backend/Feature/Settings/ConfigPress.php:53
93
  msgid "ConfigPress"
94
  msgstr ""
@@ -111,9 +138,10 @@ msgstr ""
111
 
112
  #: Application/Backend/Feature/Settings/Content.php:38
113
  msgid ""
114
- "For performance reasons, keep this option uncheck if do not use LIST or LIST "
115
- "TO OTHERS access options on Posts & Pages tab. When it is checked, AAM will "
116
- "filter list of posts that are hidden for a user on both frontend and backend."
 
117
  msgstr ""
118
 
119
  #: Application/Backend/Feature/Settings/Content.php:42
@@ -123,7 +151,7 @@ msgstr ""
123
  #: Application/Backend/Feature/Settings/Content.php:43
124
  msgid ""
125
  "By default AAM allows you to manage access only to public post types on "
126
- "Posts & Pages tab. By enabling this feature, you also will be able to manage "
127
  "access to hidden post types like revisions, navigation menus or any other "
128
  "custom post types that are not registered as public."
129
  msgstr ""
@@ -140,7 +168,7 @@ msgstr ""
140
  msgid ""
141
  "Allow to edit or delete any existing capability on the Capabilities tab. "
142
  "[Warning!] For experienced users only. Changing or deleting capability may "
143
- "result in loosing access to some features or the entire website."
144
  msgstr ""
145
 
146
  #: Application/Backend/Feature/Settings/Core.php:37
@@ -149,9 +177,8 @@ msgstr ""
149
 
150
  #: Application/Backend/Feature/Settings/Core.php:38
151
  msgid ""
152
- "Allow AAM to manage access to the backend. Keep this option disabled if "
153
- "there is no needs to restrict backend features for other users. This option "
154
- "may reduce your website backend performance."
155
  msgstr ""
156
 
157
  #: Application/Backend/Feature/Settings/Core.php:42
@@ -160,48 +187,80 @@ msgstr ""
160
 
161
  #: Application/Backend/Feature/Settings/Core.php:43
162
  msgid ""
163
- "Allow AAM to manage access to frontend resources. If there is no need to "
164
- "manage access to the website frontend then keep this option unchecked as it "
165
- "may increase your webiste performance."
166
  msgstr ""
167
 
168
  #: Application/Backend/Feature/Settings/Core.php:47
169
- msgid "Render Access Manager Metabox"
170
  msgstr ""
171
 
172
  #: Application/Backend/Feature/Settings/Core.php:48
173
  msgid ""
174
- "Render Access Manager metabox on all post and category edit pages. Access "
175
- "Manager metabox is the quick way to manage access to any post or category "
176
- "without leaving an edit page."
177
  msgstr ""
178
 
179
  #: Application/Backend/Feature/Settings/Core.php:52
180
- msgid "Render Access Link"
181
  msgstr ""
182
 
183
  #: Application/Backend/Feature/Settings/Core.php:53
184
  msgid ""
 
 
 
 
 
 
 
 
 
 
 
185
  "Render Access shortcut link under any post, page, custom post type, "
186
  "category, custom taxonomy title or user name."
187
  msgstr ""
188
 
189
- #: Application/Backend/Feature/Settings/Core.php:57
190
  msgid "Secure Login"
191
  msgstr ""
192
 
193
- #: Application/Backend/Feature/Settings/Core.php:58
194
  msgid ""
195
  "AAM comes with its own user login handler. With this feature you can add "
196
  "AJAX login widget to your frontend page that significantly enhance your "
197
  "website security."
198
  msgstr ""
199
 
200
- #: Application/Backend/Feature/Settings/Core.php:62
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
201
  msgid "JWT Authentication"
202
  msgstr ""
203
 
204
- #: Application/Backend/Feature/Settings/Core.php:63
205
  #, php-format
206
  msgid ""
207
  "[Note!] PHP 5.4 or higher is required for this feature. Enable the ability "
@@ -210,11 +269,11 @@ msgid ""
210
  "article"
211
  msgstr ""
212
 
213
- #: Application/Backend/Feature/Settings/Core.php:82
214
  msgid "Core Settings"
215
  msgstr ""
216
 
217
- #: Application/Backend/Feature/Settings/Tools.php:102
218
  msgid "Tools"
219
  msgstr ""
220
 
@@ -222,80 +281,76 @@ msgstr ""
222
  msgid "Operation is not permitted"
223
  msgstr ""
224
 
225
- #: Application/Backend/Feature/Subject/User.php:77
226
  msgid "You cannot set expiration to yourself"
227
  msgstr ""
228
 
229
- #: Application/Backend/Manager.php:119
230
- msgid "AAM requires PHP version 5.3.0 or higher to function properly"
231
- msgstr ""
232
-
233
- #: Application/Backend/Manager.php:357
234
  msgid "Access Manager"
235
  msgstr ""
236
 
237
- #: Application/Backend/Manager.php:444 Application/Backend/Manager.php:462
238
- #: Application/Backend/Manager.php:485
239
  msgid "Access"
240
  msgstr ""
241
 
242
- #: Application/Backend/Manager.php:635 Application/Backend/Manager.php:658
243
- #: Application/Core/API.php:247
244
  msgid "Access Denied"
245
  msgstr ""
246
 
247
- #: Application/Backend/View/Localization.php:26 media/js/aam.js:1236
248
  msgid "Search Capability"
249
  msgstr ""
250
 
251
- #: Application/Backend/View/Localization.php:27 media/js/aam.js:1237
252
  msgid "_TOTAL_ capability(s)"
253
  msgstr ""
254
 
255
- #: Application/Backend/View/Localization.php:28 media/js/aam.js:327
256
- #: media/js/aam.js:388 media/js/aam.js:766 media/js/aam.js:1339
257
- #: media/js/aam.js:1383 media/js/aam.js:1901
258
  msgid "Saving..."
259
  msgstr ""
260
 
261
- #: Application/Backend/View/Localization.php:29 media/js/aam.js:1347
262
  msgid "Failed to add new capability"
263
  msgstr ""
264
 
265
- #: Application/Backend/View/Localization.php:30 media/js/aam.js:347
266
- #: media/js/aam.js:400 media/js/aam.js:437 media/js/aam.js:531
267
- #: media/js/aam.js:563 media/js/aam.js:776 media/js/aam.js:809
268
- #: media/js/aam.js:1054 media/js/aam.js:1090 media/js/aam.js:1124
269
- #: media/js/aam.js:1352 media/js/aam.js:1396 media/js/aam.js:1435
270
- #: media/js/aam.js:1518 media/js/aam.js:1663 media/js/aam.js:2167
271
- #: media/js/aam.js:2243 media/js/aam.js:2272 media/js/aam.js:2646
272
- #: media/js/aam.js:2990 media/js/aam.js:3015
273
  msgid "Application error"
274
  msgstr ""
275
 
276
- #: Application/Backend/View/Localization.php:31 media/js/aam.js:1355
277
  msgid "Add Capability"
278
  msgstr ""
279
 
280
- #: Application/Backend/View/Localization.php:32 media/js/aam.js:968
281
- #: Application/Backend/phtml/main/menu.phtml:70
282
  msgid "Show Menu"
283
  msgstr ""
284
 
285
- #: Application/Backend/View/Localization.php:33 media/js/aam.js:978
286
- #: Application/Backend/phtml/main/menu.phtml:74
287
  msgid "Restrict Menu"
288
  msgstr ""
289
 
290
- #: Application/Backend/View/Localization.php:34 media/js/aam.js:1085
291
  msgid "Failed to retrieve mataboxes"
292
  msgstr ""
293
 
294
- #: Application/Backend/View/Localization.php:35 media/js/aam.js:1706
295
  msgid "Search"
296
  msgstr ""
297
 
298
- #: Application/Backend/View/Localization.php:36 media/js/aam.js:1707
299
  msgid "_TOTAL_ object(s)"
300
  msgstr ""
301
 
@@ -304,6 +359,7 @@ msgid "Failed"
304
  msgstr ""
305
 
306
  #: Application/Backend/View/Localization.php:38 media/js/aam.js:58
 
307
  msgid "Loading..."
308
  msgstr ""
309
 
@@ -320,7 +376,7 @@ msgid "_TOTAL_ role(s)"
320
  msgstr ""
321
 
322
  #: Application/Backend/View/Localization.php:42 media/js/aam.js:130
323
- #: media/js/aam.js:604 Application/Backend/phtml/index.phtml:168
324
  #: Application/Backend/phtml/main/capability.phtml:26
325
  #: Application/Backend/phtml/main/capability.phtml:64
326
  msgid "Create"
@@ -328,70 +384,70 @@ msgstr ""
328
 
329
  #: Application/Backend/View/Localization.php:43 media/js/aam.js:154
330
  #: Application/Backend/phtml/index.phtml:122
331
- #: Application/Backend/phtml/index.phtml:296
332
  msgid "Users"
333
  msgstr ""
334
 
335
- #: Application/Backend/View/Localization.php:44 media/js/aam.js:342
336
  msgid "Failed to add new role"
337
  msgstr ""
338
 
339
- #: Application/Backend/View/Localization.php:45 media/js/aam.js:350
340
  msgid "Add Role"
341
  msgstr ""
342
 
343
- #: Application/Backend/View/Localization.php:46 media/js/aam.js:395
344
  msgid "Failed to update role"
345
  msgstr ""
346
 
347
- #: Application/Backend/View/Localization.php:47 media/js/aam.js:404
 
348
  #: Application/Backend/phtml/extensions.phtml:51
349
  #: Application/Backend/phtml/extensions.phtml:78
350
  #: Application/Backend/phtml/index.phtml:194
351
  #: Application/Backend/phtml/main/capability.phtml:86
352
- #: Application/Backend/phtml/partial/post-advanced-settings.phtml:16
353
  #: Application/Backend/phtml/partial/post-advanced-settings.phtml:37
354
- #: Application/Backend/phtml/partial/post-advanced-settings.phtml:59
355
- #: Application/Backend/phtml/partial/post-advanced-settings.phtml:86
356
- #: Application/Backend/phtml/partial/post-advanced-settings.phtml:130
357
  msgid "Update"
358
  msgstr ""
359
 
360
- #: Application/Backend/View/Localization.php:48 media/js/aam.js:427
361
- #: media/js/aam.js:1422
362
  msgid "Deleting..."
363
  msgstr ""
364
 
365
- #: Application/Backend/View/Localization.php:49 media/js/aam.js:433
366
  msgid "Failed to delete role"
367
  msgstr ""
368
 
369
  #: Application/Backend/View/Localization.php:50
370
- #: Application/Backend/View/Localization.php:62 media/js/aam.js:252
371
- #: media/js/aam.js:441 Application/Backend/phtml/index.phtml:206
372
  msgid "Delete Role"
373
  msgstr ""
374
 
375
- #: Application/Backend/View/Localization.php:51 media/js/aam.js:527
376
  msgid "Failed to block user"
377
  msgstr ""
378
 
379
- #: Application/Backend/View/Localization.php:52 media/js/aam.js:595
380
  msgid "Search User"
381
  msgstr ""
382
 
383
- #: Application/Backend/View/Localization.php:53 media/js/aam.js:596
384
  msgid "_TOTAL_ user(s)"
385
  msgstr ""
386
 
387
- #: Application/Backend/View/Localization.php:54 media/js/aam.js:621
388
- #: Application/Backend/phtml/frame.phtml:46
389
  #: Application/Backend/phtml/index.phtml:139
 
390
  msgid "Role"
391
  msgstr ""
392
 
393
  #: Application/Backend/View/Localization.php:55
394
- #: Application/Core/Subject/Visitor.php:79 media/js/aam.js:854
395
  msgid "Anonymous"
396
  msgstr ""
397
 
@@ -403,38 +459,38 @@ msgstr ""
403
  msgid "Current role"
404
  msgstr ""
405
 
406
- #: Application/Backend/View/Localization.php:58 media/js/aam.js:1795
407
  msgid "Manage Access"
408
  msgstr ""
409
 
410
  #: Application/Backend/View/Localization.php:59
411
- #: Application/Backend/View/PostOptionList.php:91 media/js/aam.js:1807
412
  msgid "Edit"
413
  msgstr ""
414
 
415
- #: Application/Backend/View/Localization.php:60 media/js/aam.js:193
416
  msgid "Manage Role"
417
  msgstr ""
418
 
419
- #: Application/Backend/View/Localization.php:61 media/js/aam.js:215
420
  msgid "Edit Role"
421
  msgstr ""
422
 
423
- #: Application/Backend/View/Localization.php:63 media/js/aam.js:653
424
  msgid "Manage User"
425
  msgstr ""
426
 
427
- #: Application/Backend/View/Localization.php:64 media/js/aam.js:693
428
  msgid "Edit User"
429
  msgstr ""
430
 
431
- #: Application/Backend/View/Localization.php:65 media/js/aam.js:522
432
- #: media/js/aam.js:523 media/js/aam.js:706
433
  msgid "Lock User"
434
  msgstr ""
435
 
436
- #: Application/Backend/View/Localization.php:66 media/js/aam.js:516
437
- #: media/js/aam.js:517 media/js/aam.js:719
438
  msgid "Unlock User"
439
  msgstr ""
440
 
@@ -443,16 +499,15 @@ msgid "Failed to grand capability - WordPress policy"
443
  msgstr ""
444
 
445
  #: Application/Backend/View/PostOptionList.php:26
446
- #: Application/Backend/View/PostOptionList.php:85
 
447
  msgid "List"
448
  msgstr ""
449
 
450
  #: Application/Backend/View/PostOptionList.php:27
 
451
  #, php-format
452
- msgid ""
453
- "Hide %s however access with a direct URL will be still allowed. When there "
454
- "are more than 500 posts, this option may not be applied immediately because, "
455
- "for performance reasons, AAM checks limited number of posts per request."
456
  msgstr ""
457
 
458
  #: Application/Backend/View/PostOptionList.php:27
@@ -462,182 +517,234 @@ msgid " %sSee in action.%s"
462
  msgstr ""
463
 
464
  #: Application/Backend/View/PostOptionList.php:31
 
465
  msgid "Read"
466
  msgstr ""
467
 
468
  #: Application/Backend/View/PostOptionList.php:32
469
  #, php-format
470
  msgid ""
471
- "Restrict access to read the %s. Any attempts to read, view or open the %s "
472
- "will be denied and redirected based on the Access Denied Redirect rule."
473
  msgstr ""
474
 
475
  #: Application/Backend/View/PostOptionList.php:35
 
476
  msgid "Limit"
477
  msgstr ""
478
 
479
  #: Application/Backend/View/PostOptionList.php:36
 
480
  msgid "Teaser message"
481
  msgstr ""
482
 
483
- #: Application/Backend/View/PostOptionList.php:39
 
484
  #, php-format
485
- msgid "When checked, show defined teaser message instead of the %s content."
486
  msgstr ""
487
 
488
- #: Application/Backend/View/PostOptionList.php:42
 
489
  msgid "Read Counter"
490
  msgstr ""
491
 
492
- #: Application/Backend/View/PostOptionList.php:43
493
- #: Application/Backend/phtml/partial/post-advanced-settings.phtml:11
 
494
  msgid "Threshold"
495
  msgstr ""
496
 
497
- #: Application/Backend/View/PostOptionList.php:47
498
  #, php-format
499
  msgid ""
500
- "Define how many times the %s can be opened to read, view or download. After "
501
- "number of time exceeds the defined threshold, the access will be denied to "
502
- "the %s and redirected based on the Access Denied Redirect rule."
503
  msgstr ""
504
 
505
- #: Application/Backend/View/PostOptionList.php:50
 
506
  msgid "Comment"
507
  msgstr ""
508
 
509
- #: Application/Backend/View/PostOptionList.php:51
510
  #, php-format
511
- msgid "Restrict access to comment on %s when commenting feature is enabled."
512
  msgstr ""
513
 
514
- #: Application/Backend/View/PostOptionList.php:54
515
  msgid "Redirect"
516
  msgstr ""
517
 
518
- #: Application/Backend/View/PostOptionList.php:55
519
  msgid "Redirect Rule"
520
  msgstr ""
521
 
522
- #: Application/Backend/View/PostOptionList.php:58
523
  #, php-format
524
  msgid ""
525
  "Redirect user based on the defined redirect rule when user tries to read the "
526
- "%s. The REDIRECT option will be ignored if READ option checked. For more "
527
- "information about this option please refer to the %sHelp Section%s."
528
  msgstr ""
529
 
530
- #: Application/Backend/View/PostOptionList.php:61
 
531
  msgid "Password Protected"
532
  msgstr ""
533
 
534
- #: Application/Backend/View/PostOptionList.php:62
535
- #: Application/Backend/phtml/partial/post-advanced-settings.phtml:32
 
 
536
  #: Application/Frontend/phtml/login.phtml:13
537
  msgid "Password"
538
  msgstr ""
539
 
540
- #: Application/Backend/View/PostOptionList.php:65
541
  #, php-format
542
- msgid "Password protect the %s. Available with WordPress 4.7.0 or higher."
 
543
  msgstr ""
544
 
545
- #: Application/Backend/View/PostOptionList.php:68
 
546
  msgid "Access Expiration"
547
  msgstr ""
548
 
549
- #: Application/Backend/View/PostOptionList.php:69
 
550
  #: Application/Backend/phtml/index.phtml:245
551
  msgid "Expires"
552
  msgstr ""
553
 
554
- #: Application/Backend/View/PostOptionList.php:72
555
  #, php-format
556
- msgid "Define when access expires for %s."
557
  msgstr ""
558
 
559
- #: Application/Backend/View/PostOptionList.php:72
560
  #, php-format
561
  msgid ""
562
- "After expiration, the access to %s will be denied and user will be "
563
- "redirected based on the Access Denied Redirect rule. For more information "
564
- "%scheck this article%s or "
565
  msgstr ""
566
 
567
- #: Application/Backend/View/PostOptionList.php:72
568
  #, php-format
569
  msgid " %ssee in action.%s"
570
  msgstr ""
571
 
572
- #: Application/Backend/View/PostOptionList.php:75
573
  msgid "Monetized Access"
574
  msgstr ""
575
 
576
- #: Application/Backend/View/PostOptionList.php:76
577
  msgid "E-Product"
578
  msgstr ""
579
 
580
- #: Application/Backend/View/PostOptionList.php:80
581
  #, php-format
582
  msgid ""
583
- "[Premium feature!] Start selling access to the %s. Access will be granted to "
584
- "read, view or download %s only if selected E-Product had been purchased. For "
585
- "more information %scheck this article%s."
586
  msgstr ""
587
 
588
- #: Application/Backend/View/PostOptionList.php:87
589
- #, php-format
590
- msgid ""
591
- "Hide %s however access with a direct URL is still allowed. When there are "
592
- "more than 500 posts, this option may not be applied immediately because, for "
593
- "performance reasons, AAM checks limited number of posts per request."
594
- msgstr ""
595
-
596
- #: Application/Backend/View/PostOptionList.php:93
597
  #, php-format
598
  msgid ""
599
- "Restrict access to edit the %s. Any attempts to edit %s will result in "
600
  "redirecting user based on the Access Denied Redirect rule."
601
  msgstr ""
602
 
603
- #: Application/Backend/View/PostOptionList.php:96
 
604
  #: Application/Backend/phtml/index.phtml:212
605
  #: Application/Backend/phtml/main/capability.phtml:104
606
  msgid "Delete"
607
  msgstr ""
608
 
609
- #: Application/Backend/View/PostOptionList.php:98
 
610
  #, php-format
611
  msgid "Restrict access to trash or permanently delete %s."
612
  msgstr ""
613
 
614
- #: Application/Backend/View/PostOptionList.php:101
615
  msgid "Publish"
616
  msgstr ""
617
 
618
- #: Application/Backend/View/PostOptionList.php:103
619
  #, php-format
620
  msgid ""
621
- "Restrict access to publish the %s. User will be allowed only submit the %s "
622
- "for review."
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
623
  msgstr ""
624
 
625
  #: Application/Backend/Widget/Login.php:19
626
  msgid "AAM Secure Login Widget"
627
  msgstr ""
628
 
629
- #: Application/Backend/Widget/Login.php:90
630
  #: Application/Frontend/phtml/login.phtml:27
631
  msgid "Login"
632
  msgstr ""
633
 
634
- #: Application/Backend/Widget/Login.php:94
635
- #: Application/Shortcode/Strategy/Login.php:55
636
  msgid "Howdy, %username%"
637
  msgstr ""
638
 
639
  #: Application/Core/JwtAuth.php:58
640
- msgid "JWT Authentication is enabled but secret key is not defined"
 
641
  msgstr ""
642
 
643
  #: Application/Core/JwtAuth.php:76
@@ -648,39 +755,47 @@ msgstr ""
648
  msgid "Valid password."
649
  msgstr ""
650
 
651
- #: Application/Core/Login.php:152
 
 
 
 
652
  msgid "Access denied. Please login to get access."
653
  msgstr ""
654
 
655
- #: Application/Core/Subject/Default.php:78 media/js/aam.js:885
656
  msgid "All Users, Roles and Visitor"
657
  msgstr ""
658
 
659
- #: Application/Extension/List.php:63
660
  msgid ""
661
  "[Deprecated!]. The extension is deprecated and replaces with more "
662
  "sophisticated E-Commerce extension. If you already purchased it, please "
663
  "contact us to upgrade your license for no additional cost."
664
  msgstr ""
665
 
666
- #: Application/Extension/Repository.php:128
667
  #, php-format
668
  msgid ""
669
  "The [%s] file is missing. Update extension to the latest version. %sRead "
670
  "more.%s"
671
  msgstr ""
672
 
673
- #: Application/Extension/Repository.php:326
674
  #, php-format
675
  msgid "Failed to create %s"
676
  msgstr ""
677
 
678
- #: Application/Extension/Repository.php:330
679
  #, php-format
680
  msgid "Directory %s is not writable"
681
  msgstr ""
682
 
683
- #: Application/Frontend/Filter.php:301
 
 
 
 
684
  msgid "[No teaser message provided]"
685
  msgstr ""
686
 
@@ -688,123 +803,140 @@ msgstr ""
688
  msgid "No valid strategy found for the given context"
689
  msgstr ""
690
 
691
- #: aam.php:190
692
  msgid "PHP 5.3.0 or higher is required."
693
  msgstr ""
694
 
695
- #: aam.php:192
696
- msgid "WP 3.8 or higher is required."
697
  msgstr ""
698
 
699
- #: media/js/aam.js:231
700
  msgid "Clone Role"
701
  msgstr ""
702
 
703
- #: media/js/aam.js:678
 
 
 
 
 
704
  msgid "User Expiration"
705
  msgstr ""
706
 
707
- #: media/js/aam.js:732
708
  msgid "Switch To User"
709
  msgstr ""
710
 
711
- #: media/js/aam.js:780 Application/Backend/phtml/index.phtml:259
712
- #: Application/Backend/phtml/partial/post-advanced-settings.phtml:107
713
  msgid "Save"
714
  msgstr ""
715
 
716
- #: media/js/aam.js:799
717
  msgid "Reseting..."
718
  msgstr ""
719
 
720
- #: media/js/aam.js:813 Application/Backend/phtml/index.phtml:258
721
  msgid "Reset"
722
  msgstr ""
723
 
724
- #: media/js/aam.js:933 media/js/aam.js:2442 media/js/aam.js:2487
725
- #: media/js/aam.js:2518 media/js/aam.js:2551 media/js/aam.js:2603
726
  msgid "Application Error"
727
  msgstr ""
728
 
729
- #: media/js/aam.js:1002 Application/Backend/phtml/main/menu.phtml:57
730
  msgid "Uncheck to allow"
731
  msgstr ""
732
 
733
- #: media/js/aam.js:1004 Application/Backend/phtml/main/menu.phtml:57
734
  msgid "Check to restrict"
735
  msgstr ""
736
 
737
- #: media/js/aam.js:1111
738
  msgid "Processing"
739
  msgstr ""
740
 
741
- #: media/js/aam.js:1119
742
  msgid "Failed to initialize URL"
743
  msgstr ""
744
 
745
- #: media/js/aam.js:1127 Application/Backend/phtml/main/metabox.phtml:102
746
  msgid "Initialize"
747
  msgstr ""
748
 
749
- #: media/js/aam.js:1151 Application/Backend/phtml/main/metabox.phtml:65
750
  msgid "Uncheck to show"
751
  msgstr ""
752
 
753
- #: media/js/aam.js:1153 Application/Backend/phtml/main/metabox.phtml:65
754
  msgid "Check to hide"
755
  msgstr ""
756
 
757
- #: media/js/aam.js:1199
758
  msgid "WordPress core does not allow to grant this capability"
759
  msgstr ""
760
 
761
- #: media/js/aam.js:1239
762
  msgid "Nothing to show"
763
  msgstr ""
764
 
765
- #: media/js/aam.js:1391
766
  msgid "Failed to update capability"
767
  msgstr ""
768
 
769
- #: media/js/aam.js:1399 Application/Backend/phtml/main/capability.phtml:76
770
  msgid "Update Capability"
771
  msgstr ""
772
 
773
- #: media/js/aam.js:1430
774
  msgid "Failed to delete capability"
775
  msgstr ""
776
 
777
- #: media/js/aam.js:1438 Application/Backend/phtml/main/capability.phtml:98
778
  msgid "Delete Capability"
779
  msgstr ""
780
 
781
- #: media/js/aam.js:1781
782
  msgid "Drill-Down"
783
  msgstr ""
784
 
785
- #: media/js/aam.js:2265
 
 
 
 
 
 
 
 
 
 
 
 
786
  msgid "Extension status was updated successfully"
787
  msgstr ""
788
 
789
- #: media/js/aam.js:2477 media/js/aam.js:2508 media/js/aam.js:2539
790
- #: media/js/aam.js:2592
791
  msgid "Wait..."
792
  msgstr ""
793
 
794
- #: media/js/aam.js:2481
795
- msgid "All settings were cleared successfully"
796
  msgstr ""
797
 
798
- #: media/js/aam.js:2491 media/js/aam.js:2522
799
  #: Application/Backend/phtml/settings/tools.phtml:66
800
  msgid "Clear"
801
  msgstr ""
802
 
803
- #: media/js/aam.js:2512
804
- msgid "The cache was cleared successfully"
805
  msgstr ""
806
 
807
- #: media/js/aam.js:2599
808
  msgid "Invalid data format"
809
  msgstr ""
810
 
@@ -886,14 +1018,14 @@ msgstr ""
886
  #: Application/Backend/phtml/index.phtml:205
887
  #: Application/Backend/phtml/index.phtml:213
888
  #: Application/Backend/phtml/index.phtml:240
889
- #: Application/Backend/phtml/index.phtml:260
890
  #: Application/Backend/phtml/main/capability.phtml:54
891
  #: Application/Backend/phtml/main/capability.phtml:65
892
  #: Application/Backend/phtml/main/capability.phtml:75
893
  #: Application/Backend/phtml/main/capability.phtml:87
894
  #: Application/Backend/phtml/main/capability.phtml:97
895
  #: Application/Backend/phtml/main/capability.phtml:105
896
- #: Application/Backend/phtml/main/menu.phtml:98
897
  #: Application/Backend/phtml/main/metabox.phtml:89
898
  #: Application/Backend/phtml/main/metabox.phtml:103
899
  #: Application/Backend/phtml/partial/post-advanced-settings.phtml:6
@@ -901,13 +1033,13 @@ msgstr ""
901
  #: Application/Backend/phtml/partial/post-advanced-settings.phtml:27
902
  #: Application/Backend/phtml/partial/post-advanced-settings.phtml:38
903
  #: Application/Backend/phtml/partial/post-advanced-settings.phtml:48
904
- #: Application/Backend/phtml/partial/post-advanced-settings.phtml:60
905
- #: Application/Backend/phtml/partial/post-advanced-settings.phtml:70
906
- #: Application/Backend/phtml/partial/post-advanced-settings.phtml:87
907
- #: Application/Backend/phtml/partial/post-advanced-settings.phtml:97
908
- #: Application/Backend/phtml/partial/post-advanced-settings.phtml:108
909
- #: Application/Backend/phtml/partial/post-advanced-settings.phtml:118
910
- #: Application/Backend/phtml/partial/post-advanced-settings.phtml:131
911
  #: Application/Backend/phtml/settings/tools.phtml:59
912
  msgid "Close"
913
  msgstr ""
@@ -964,64 +1096,6 @@ msgid ""
964
  "remember that license key is limited only to one life domain."
965
  msgstr ""
966
 
967
- #: Application/Backend/phtml/frame.phtml:62
968
- #: Application/Backend/phtml/index.phtml:227
969
- msgid "Username"
970
- msgstr ""
971
-
972
- #: Application/Backend/phtml/frame.phtml:74
973
- #, php-format
974
- msgid "Manage access to %s for visitors (any user that is not authenticated)"
975
- msgstr ""
976
-
977
- #: Application/Backend/phtml/frame.phtml:75
978
- #: Application/Backend/phtml/index.phtml:271
979
- msgid "Manage Visitors"
980
- msgstr ""
981
-
982
- #: Application/Backend/phtml/frame.phtml:82
983
- #, php-format
984
- msgid ""
985
- "Manage default access to %s for all users, roles and visitor. This includes "
986
- "Administrator role and yourself"
987
- msgstr ""
988
-
989
- #: Application/Backend/phtml/frame.phtml:84
990
- #: Application/Backend/phtml/index.phtml:279
991
- msgid "Manage Default Access"
992
- msgstr ""
993
-
994
- #: Application/Backend/phtml/frame.phtml:87
995
- msgid "This feature is allowed only with [AAM Plus Package] extension."
996
- msgstr ""
997
-
998
- #: Application/Backend/phtml/frame.phtml:100
999
- #: Application/Backend/phtml/main/menu.phtml:13
1000
- #: Application/Backend/phtml/main/metabox.phtml:19
1001
- #: Application/Backend/phtml/main/post.phtml:35
1002
- msgid "Settings are customized"
1003
- msgstr ""
1004
-
1005
- #: Application/Backend/phtml/frame.phtml:101
1006
- #: Application/Backend/phtml/main/capability.phtml:33
1007
- #: Application/Backend/phtml/main/menu.phtml:14
1008
- #: Application/Backend/phtml/main/metabox.phtml:20
1009
- #: Application/Backend/phtml/main/post.phtml:36
1010
- msgid "Reset To Default"
1011
- msgstr ""
1012
-
1013
- #: Application/Backend/phtml/frame.phtml:120
1014
- #: Application/Backend/phtml/main/post.phtml:80
1015
- msgid "Frontend"
1016
- msgstr ""
1017
-
1018
- #: Application/Backend/phtml/frame.phtml:129
1019
- #: Application/Backend/phtml/frame.phtml:154
1020
- #: Application/Backend/phtml/main/post.phtml:89
1021
- #: Application/Backend/phtml/main/post.phtml:114
1022
- msgid "change"
1023
- msgstr ""
1024
-
1025
  #: Application/Backend/phtml/index.phtml:14
1026
  msgid "Main Panel"
1027
  msgstr ""
@@ -1094,17 +1168,17 @@ msgid "Users/Roles Manager"
1094
  msgstr ""
1095
 
1096
  #: Application/Backend/phtml/index.phtml:119
1097
- #: Application/Backend/phtml/index.phtml:291
1098
  msgid "Roles"
1099
  msgstr ""
1100
 
1101
  #: Application/Backend/phtml/index.phtml:125
1102
- #: Application/Backend/phtml/index.phtml:301
1103
  msgid "Visitor"
1104
  msgstr ""
1105
 
1106
  #: Application/Backend/phtml/index.phtml:128
1107
- #: Application/Backend/phtml/index.phtml:306
1108
  msgid "Default"
1109
  msgstr ""
1110
 
@@ -1146,6 +1220,11 @@ msgstr ""
1146
  msgid "Are you sure that you want to delete the %s role?"
1147
  msgstr ""
1148
 
 
 
 
 
 
1149
  #: Application/Backend/phtml/index.phtml:241
1150
  msgid "Manage User Expiration"
1151
  msgstr ""
@@ -1170,50 +1249,68 @@ msgstr ""
1170
  msgid "Lock Account"
1171
  msgstr ""
1172
 
1173
- #: Application/Backend/phtml/index.phtml:270
 
 
 
 
 
 
 
 
1174
  msgid ""
1175
  "Manage access to your website for visitors (any user that is not "
1176
  "authenticated)"
1177
  msgstr ""
1178
 
1179
  #: Application/Backend/phtml/index.phtml:278
 
 
 
 
 
1180
  msgid ""
1181
  "Manage default access to your website resources for all users, roles and "
1182
  "visitor. This includes Administrator role and your user"
1183
  msgstr ""
1184
 
1185
- #: Application/Backend/phtml/index.phtml:287
 
 
 
 
 
1186
  msgid ""
1187
  "Manage access for your users, roles and visitors. Be careful with "
1188
  "[Administrator] role as well as your admin user. [Database backup is "
1189
  "strongly recommended]."
1190
  msgstr ""
1191
 
1192
- #: Application/Backend/phtml/index.phtml:292
1193
  msgid ""
1194
  "With Roles tab you can manage access for any defined role, edit role's name, "
1195
  "create new role or even delete existing (but only when there is no users "
1196
  "assigned to it). You are not allowed to delete Administrator role."
1197
  msgstr ""
1198
 
1199
- #: Application/Backend/phtml/index.phtml:297
1200
  msgid ""
1201
  "Manage access for any user. As a bonus feature, you can block user. It means "
1202
  "that user will be not able to login to your website anymore."
1203
  msgstr ""
1204
 
1205
- #: Application/Backend/phtml/index.phtml:302
1206
  msgid ""
1207
  "Visitor can be considered any user that is not authenticated to your website."
1208
  msgstr ""
1209
 
1210
- #: Application/Backend/phtml/index.phtml:307
1211
  msgid ""
1212
  "Manage default access settings to your website resources for all users, "
1213
  "roles and visitors."
1214
  msgstr ""
1215
 
1216
- #: Application/Backend/phtml/main-panel.phtml:27
1217
  msgid "You are not allowed to manage any of the existing features."
1218
  msgstr ""
1219
 
@@ -1229,6 +1326,7 @@ msgstr ""
1229
  #: Application/Backend/phtml/main/login-redirect.phtml:31
1230
  #: Application/Backend/phtml/main/logout-redirect.phtml:31
1231
  #: Application/Backend/phtml/main/redirect.phtml:50
 
1232
  msgid "Redirected to existing page [(select from the drop-down)]"
1233
  msgstr ""
1234
 
@@ -1243,23 +1341,17 @@ msgstr ""
1243
  #: Application/Backend/phtml/main/logout-redirect.phtml:39
1244
  #: Application/Backend/phtml/main/redirect.phtml:58
1245
  #: Application/Backend/phtml/main/redirect.phtml:110
 
1246
  #, php-format
1247
  msgid "Trigger PHP callback function [(valid %sPHP callback%s is required)]"
1248
  msgstr ""
1249
 
1250
- #: Application/Backend/phtml/main/404redirect.phtml:36
1251
- #: Application/Backend/phtml/main/login-redirect.phtml:43
1252
- #: Application/Backend/phtml/main/logout-redirect.phtml:43
1253
- #: Application/Backend/phtml/main/redirect.phtml:67
1254
- #: Application/Backend/phtml/main/redirect.phtml:119
1255
- msgid "Existing Page"
1256
- msgstr ""
1257
-
1258
  #: Application/Backend/phtml/main/404redirect.phtml:45
1259
  #: Application/Backend/phtml/main/login-redirect.phtml:52
1260
  #: Application/Backend/phtml/main/logout-redirect.phtml:52
1261
  #: Application/Backend/phtml/main/redirect.phtml:76
1262
  #: Application/Backend/phtml/main/redirect.phtml:128
 
1263
  msgid "-- Select Page --"
1264
  msgstr ""
1265
 
@@ -1268,6 +1360,7 @@ msgstr ""
1268
  #: Application/Backend/phtml/main/logout-redirect.phtml:58
1269
  #: Application/Backend/phtml/main/redirect.phtml:82
1270
  #: Application/Backend/phtml/main/redirect.phtml:134
 
1271
  msgid "The URL"
1272
  msgstr ""
1273
 
@@ -1276,6 +1369,7 @@ msgstr ""
1276
  #: Application/Backend/phtml/main/logout-redirect.phtml:63
1277
  #: Application/Backend/phtml/main/redirect.phtml:87
1278
  #: Application/Backend/phtml/main/redirect.phtml:139
 
1279
  msgid "PHP Callback Function"
1280
  msgstr ""
1281
 
@@ -1304,6 +1398,15 @@ msgstr ""
1304
  msgid "Capabilities are customized"
1305
  msgstr ""
1306
 
 
 
 
 
 
 
 
 
 
1307
  #: Application/Backend/phtml/main/capability.phtml:42
1308
  msgid "Category"
1309
  msgstr ""
@@ -1349,7 +1452,9 @@ msgstr ""
1349
  #, php-format
1350
  msgid ""
1351
  "Customize login redirect for [%s] when the authentication is completed "
1352
- "successfully."
 
 
1353
  msgstr ""
1354
 
1355
  #: Application/Backend/phtml/main/login-redirect.phtml:27
@@ -1359,6 +1464,7 @@ msgstr ""
1359
 
1360
  #: Application/Backend/phtml/main/login-redirect.phtml:35
1361
  #: Application/Backend/phtml/main/logout-redirect.phtml:35
 
1362
  msgid "Redirected to the URL [(enter full URL starting from http or https)]"
1363
  msgstr ""
1364
 
@@ -1379,21 +1485,28 @@ msgid ""
1379
  "WordPress backend menu%s."
1380
  msgstr ""
1381
 
1382
- #: Application/Backend/phtml/main/menu.phtml:87
 
 
 
 
 
 
 
1383
  msgid ""
1384
  "Current user does not have enough capabilities to access any available "
1385
  "dashboard page."
1386
  msgstr ""
1387
 
1388
- #: Application/Backend/phtml/main/menu.phtml:99
1389
  msgid "Dashboard Lockdown"
1390
  msgstr ""
1391
 
1392
- #: Application/Backend/phtml/main/menu.phtml:103
1393
  msgid "You cannot restrict access to Dashboard home page."
1394
  msgstr ""
1395
 
1396
- #: Application/Backend/phtml/main/menu.phtml:104
1397
  #, php-format
1398
  msgid ""
1399
  "The [Home] is the default page every user is redirected after login. To "
@@ -1401,7 +1514,7 @@ msgid ""
1401
  "WordPress backend%s article."
1402
  msgstr ""
1403
 
1404
- #: Application/Backend/phtml/main/menu.phtml:108
1405
  msgid "OK"
1406
  msgstr ""
1407
 
@@ -1464,19 +1577,19 @@ msgstr ""
1464
  #, php-format
1465
  msgid ""
1466
  "You are allowed to manage access to unlimited number of posts, pages or "
1467
- "custom post types but only on role, user or visitor levels. Consider to "
1468
  "purchase %s[AAM Plus Package]%s extension to have the ability to also manage "
1469
  "access to categories and custom taxonomies or to define the default access "
1470
  "to all posts, pages or custom post types. For more information about this "
1471
- "functionality check %sWhat is a WordPress post%s."
1472
  msgstr ""
1473
 
1474
  #: Application/Backend/phtml/main/post.phtml:15
1475
  #, php-format
1476
  msgid ""
1477
- "Manage access to posts, pages and custom post types. For more information "
1478
- "about this functionality check %sHow to manage access to the WordPress "
1479
- "content%s article."
1480
  msgstr ""
1481
 
1482
  #: Application/Backend/phtml/main/post.phtml:25
@@ -1488,11 +1601,11 @@ msgid "Title"
1488
  msgstr ""
1489
 
1490
  #: Application/Backend/phtml/main/post.phtml:59
1491
- #: Application/Backend/phtml/main/post.phtml:61
1492
- #: Application/Backend/phtml/main/post.phtml:65
1493
- #: Application/Backend/phtml/main/post.phtml:67
1494
- #: Application/Backend/phtml/main/post.phtml:71
1495
- #: Application/Backend/phtml/main/post.phtml:129
1496
  msgid "Go Back"
1497
  msgstr ""
1498
 
@@ -1548,6 +1661,49 @@ msgstr ""
1548
  msgid "Redirected to existing frontend page [(select from the drop-down)]"
1549
  msgstr ""
1550
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1551
  #: Application/Backend/phtml/partial/login-redirect.phtml:3
1552
  msgid ""
1553
  "Setup [default] redirect after user logged in successfully for all your "
@@ -1555,71 +1711,82 @@ msgid ""
1555
  "redirect for any user or role."
1556
  msgstr ""
1557
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1558
  #: Application/Backend/phtml/partial/post-advanced-settings.phtml:7
1559
- msgid "Define Threshold"
 
 
 
 
1560
  msgstr ""
1561
 
1562
  #: Application/Backend/phtml/partial/post-advanced-settings.phtml:12
1563
- msgid "Enter digital number"
1564
  msgstr ""
1565
 
1566
  #: Application/Backend/phtml/partial/post-advanced-settings.phtml:28
1567
- msgid "Set Password"
1568
  msgstr ""
1569
 
1570
  #: Application/Backend/phtml/partial/post-advanced-settings.phtml:33
1571
- msgid "Enter Password"
1572
  msgstr ""
1573
 
1574
  #: Application/Backend/phtml/partial/post-advanced-settings.phtml:49
1575
- msgid "Define Redirect Rule"
1576
  msgstr ""
1577
 
1578
- #: Application/Backend/phtml/partial/post-advanced-settings.phtml:52
1579
- #, php-format
1580
- msgid ""
1581
- "To learn more about REDIRECT option, please refer to our [%sHelp Section%s]."
1582
  msgstr ""
1583
 
1584
- #: Application/Backend/phtml/partial/post-advanced-settings.phtml:54
1585
- msgid "Enter Redirect Rule"
1586
  msgstr ""
1587
 
1588
- #: Application/Backend/phtml/partial/post-advanced-settings.phtml:55
1589
- msgid "Enter rule"
 
 
1590
  msgstr ""
1591
 
1592
- #: Application/Backend/phtml/partial/post-advanced-settings.phtml:71
1593
  msgid "Set Expiration"
1594
  msgstr ""
1595
 
1596
- #: Application/Backend/phtml/partial/post-advanced-settings.phtml:81
1597
  msgid "Enter expiration critiria"
1598
  msgstr ""
1599
 
1600
- #: Application/Backend/phtml/partial/post-advanced-settings.phtml:82
1601
  msgid "Enter critiria"
1602
  msgstr ""
1603
 
1604
- #: Application/Backend/phtml/partial/post-advanced-settings.phtml:98
1605
- msgid "Teaser Message"
1606
- msgstr ""
1607
-
1608
- #: Application/Backend/phtml/partial/post-advanced-settings.phtml:102
1609
- msgid "Simple text or valid HTML"
1610
- msgstr ""
1611
-
1612
- #: Application/Backend/phtml/partial/post-advanced-settings.phtml:103
1613
- msgid "Enter your teaser"
1614
- msgstr ""
1615
-
1616
- #: Application/Backend/phtml/partial/post-advanced-settings.phtml:119
1617
  msgid "E-Commerce Setup"
1618
  msgstr ""
1619
 
1620
- #: Application/Backend/phtml/partial/post-advanced-settings.phtml:125
 
1621
  msgid ""
1622
- "Monetization is the premium feature that is available with [Payment] "
1623
  "extension."
1624
  msgstr ""
1625
 
@@ -1642,15 +1809,16 @@ msgstr ""
1642
  msgid "Inherit Capabilities From"
1643
  msgstr ""
1644
 
1645
- #: Application/Backend/phtml/partial/role-inheritance.phtml:5
1646
- msgid "Select Role"
 
1647
  msgstr ""
1648
 
1649
  #: Application/Backend/phtml/partial/term-type.phtml:4
1650
  #, php-format
1651
  msgid ""
1652
  "Manage access to %s is available with [AAM Plus Package] extension only. "
1653
- "With this feature you can define default access to all child posts that "
1654
  "belong to %s. Consider to purchase [AAM Plus Package] extension."
1655
  msgstr ""
1656
 
@@ -1709,17 +1877,53 @@ msgstr ""
1709
  msgid "Login Timeout"
1710
  msgstr ""
1711
 
 
 
 
 
 
 
1712
  #: Application/Backend/phtml/widget/login-backend.phtml:20
 
 
 
 
 
 
 
 
 
 
1713
  msgid "Brute Force Lockout"
1714
  msgstr ""
1715
 
1716
- #: Application/Backend/phtml/widget/login-backend.phtml:25
 
 
 
 
 
 
1717
  #, php-format
1718
  msgid ""
1719
  "For more advanced setup like login/logout redirects or custom styling, "
1720
  "please check %sthis article%s."
1721
  msgstr ""
1722
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1723
  #: Application/Backend/phtml/widget/login-frontend.phtml:49
1724
  #: Application/Frontend/phtml/login.phtml:35
1725
  msgid "Register"
@@ -1744,11 +1948,3 @@ msgstr ""
1744
  #: Application/Frontend/phtml/login.phtml:54
1745
  msgid "Log Out"
1746
  msgstr ""
1747
-
1748
- #: Application/Frontend/phtml/login.phtml:7
1749
- msgid "Username or Email Address"
1750
- msgstr ""
1751
-
1752
- #: Application/Frontend/phtml/login.phtml:22
1753
- msgid "Remember Me"
1754
- msgstr ""
2
  msgid ""
3
  msgstr ""
4
  "Project-Id-Version: AAM\n"
5
+ "POT-Creation-Date: 2018-05-28 08:32-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.7\n"
14
  "Plural-Forms: nplurals=2; plural=(n != 1);\n"
15
  "X-Poedit-SourceCharset: UTF-8\n"
16
  "X-Poedit-KeywordsList: __;preparePhrase\n"
17
  "X-Poedit-Basepath: ..\n"
18
  "X-Poedit-SearchPath-0: .\n"
19
 
20
+ #: Application/Api/Manager.php:138
21
+ msgid "Access denied"
22
+ msgstr ""
23
+
24
  #: Application/Backend/Feature/Extension/Manager.php:59
25
  msgid "You may try to install extension manually."
26
  msgstr ""
41
  msgid "Can not remove the capability"
42
  msgstr ""
43
 
44
+ #: Application/Backend/Feature/Main/Capability.php:216
45
+ #: Application/Backend/Feature/Main/Capability.php:257
46
  msgid "System"
47
  msgstr ""
48
 
49
+ #: Application/Backend/Feature/Main/Capability.php:217
50
+ #: Application/Backend/Feature/Main/Capability.php:259
 
51
  msgid "Posts & Pages"
52
  msgstr ""
53
 
54
+ #: Application/Backend/Feature/Main/Capability.php:218
55
+ #: Application/Backend/Feature/Main/Capability.php:261
 
 
56
  msgid "Backend"
57
  msgstr ""
58
 
59
+ #: Application/Backend/Feature/Main/Capability.php:219
60
+ #: Application/Backend/Feature/Main/Capability.php:263
61
  msgid "AAM Interface"
62
  msgstr ""
63
 
64
+ #: Application/Backend/Feature/Main/Capability.php:220
65
+ #: Application/Backend/Feature/Main/Capability.php:265
66
  msgid "Miscellaneous"
67
  msgstr ""
68
 
69
+ #: Application/Backend/Feature/Main/Capability.php:297
70
  msgid "Capabilities"
71
  msgstr ""
72
 
82
  msgid "Backend Menu"
83
  msgstr ""
84
 
85
+ #: Application/Backend/Feature/Main/Metabox.php:239
86
  msgid "Metaboxes & Widgets"
87
  msgstr ""
88
 
89
+ #: Application/Backend/Feature/Main/Post.php:410
90
+ #: Application/Backend/phtml/main/404redirect.phtml:36
91
+ #: Application/Backend/phtml/main/login-redirect.phtml:43
92
+ #: Application/Backend/phtml/main/logout-redirect.phtml:43
93
+ #: Application/Backend/phtml/main/redirect.phtml:67
94
+ #: Application/Backend/phtml/main/redirect.phtml:119
95
+ #: Application/Backend/phtml/partial/post-advanced-settings.phtml:89
96
+ msgid "Existing Page"
97
+ msgstr ""
98
+
99
+ #: Application/Backend/Feature/Main/Post.php:412
100
+ msgid "Valid URL"
101
+ msgstr ""
102
+
103
+ #: Application/Backend/Feature/Main/Post.php:414
104
+ msgid "Custom Callback"
105
+ msgstr ""
106
+
107
+ #: Application/Backend/Feature/Main/Post.php:574
108
+ msgid "Posts & Terms"
109
+ msgstr ""
110
+
111
  #: Application/Backend/Feature/Main/Redirect.php:83
112
  msgid "Access Denied Redirect"
113
  msgstr ""
114
 
115
+ #: Application/Backend/Feature/Main/Route.php:107
116
+ msgid "API Routes"
117
+ msgstr ""
118
+
119
  #: Application/Backend/Feature/Settings/ConfigPress.php:53
120
  msgid "ConfigPress"
121
  msgstr ""
138
 
139
  #: Application/Backend/Feature/Settings/Content.php:38
140
  msgid ""
141
+ "For performance reasons, keep this option disabled if do not use LIST or "
142
+ "LIST TO OTHERS access options on Posts & Terms tab. When it is checked, AAM "
143
+ "will filter list of posts that are hidden for a user on frontend, backend "
144
+ "and API calls."
145
  msgstr ""
146
 
147
  #: Application/Backend/Feature/Settings/Content.php:42
151
  #: Application/Backend/Feature/Settings/Content.php:43
152
  msgid ""
153
  "By default AAM allows you to manage access only to public post types on "
154
+ "Posts & Terms tab. By enabling this feature, you also will be able to manage "
155
  "access to hidden post types like revisions, navigation menus or any other "
156
  "custom post types that are not registered as public."
157
  msgstr ""
168
  msgid ""
169
  "Allow to edit or delete any existing capability on the Capabilities tab. "
170
  "[Warning!] For experienced users only. Changing or deleting capability may "
171
+ "result in loosing access to some features or even the entire website."
172
  msgstr ""
173
 
174
  #: Application/Backend/Feature/Settings/Core.php:37
177
 
178
  #: Application/Backend/Feature/Settings/Core.php:38
179
  msgid ""
180
+ "Allow AAM to manage access to the backend. Note! Keep this option disabled "
181
+ "if there is no needs to restrict backend features for other users."
 
182
  msgstr ""
183
 
184
  #: Application/Backend/Feature/Settings/Core.php:42
187
 
188
  #: Application/Backend/Feature/Settings/Core.php:43
189
  msgid ""
190
+ "Allow AAM to manage access to the frontend. Note! Keep this option disabled "
191
+ "if there is no needs to restrict frontend resources for users and visitors."
 
192
  msgstr ""
193
 
194
  #: Application/Backend/Feature/Settings/Core.php:47
195
+ msgid "API Access Control"
196
  msgstr ""
197
 
198
  #: Application/Backend/Feature/Settings/Core.php:48
199
  msgid ""
200
+ "Allow AAM to manage access to the website resources that are invoked with "
201
+ "WordPress core APIs (currently only for RESTful API). Note! Keep this option "
202
+ "disabled if there is no needs to restrict API access."
203
  msgstr ""
204
 
205
  #: Application/Backend/Feature/Settings/Core.php:52
206
+ msgid "Render Access Manager Metabox"
207
  msgstr ""
208
 
209
  #: Application/Backend/Feature/Settings/Core.php:53
210
  msgid ""
211
+ "Render Access Manager metabox on all post and term edit pages. Access "
212
+ "Manager metabox is the quick way to manage access to any post or term "
213
+ "without leaving an edit page."
214
+ msgstr ""
215
+
216
+ #: Application/Backend/Feature/Settings/Core.php:57
217
+ msgid "Render Access Link"
218
+ msgstr ""
219
+
220
+ #: Application/Backend/Feature/Settings/Core.php:58
221
+ msgid ""
222
  "Render Access shortcut link under any post, page, custom post type, "
223
  "category, custom taxonomy title or user name."
224
  msgstr ""
225
 
226
+ #: Application/Backend/Feature/Settings/Core.php:62
227
  msgid "Secure Login"
228
  msgstr ""
229
 
230
+ #: Application/Backend/Feature/Settings/Core.php:63
231
  msgid ""
232
  "AAM comes with its own user login handler. With this feature you can add "
233
  "AJAX login widget to your frontend page that significantly enhance your "
234
  "website security."
235
  msgstr ""
236
 
237
+ #: Application/Backend/Feature/Settings/Core.php:67
238
+ msgid "XML-RPC WordPress API"
239
+ msgstr ""
240
+
241
+ #: Application/Backend/Feature/Settings/Core.php:68
242
+ #, php-format
243
+ msgid ""
244
+ "Remote procedure call (RPC) interface is used to manage WordPress website "
245
+ "content and features. For more information check %sXML-RPC Support%s article."
246
+ msgstr ""
247
+
248
+ #: Application/Backend/Feature/Settings/Core.php:72
249
+ msgid "RESTful WordPress API"
250
+ msgstr ""
251
+
252
+ #: Application/Backend/Feature/Settings/Core.php:73
253
+ #, php-format
254
+ msgid ""
255
+ "RESTful interface that is used to manage WordPress website content and "
256
+ "features. For more information check %sREST API handbook%s."
257
+ msgstr ""
258
+
259
+ #: Application/Backend/Feature/Settings/Core.php:77
260
  msgid "JWT Authentication"
261
  msgstr ""
262
 
263
+ #: Application/Backend/Feature/Settings/Core.php:78
264
  #, php-format
265
  msgid ""
266
  "[Note!] PHP 5.4 or higher is required for this feature. Enable the ability "
269
  "article"
270
  msgstr ""
271
 
272
+ #: Application/Backend/Feature/Settings/Core.php:97
273
  msgid "Core Settings"
274
  msgstr ""
275
 
276
+ #: Application/Backend/Feature/Settings/Tools.php:104
277
  msgid "Tools"
278
  msgstr ""
279
 
281
  msgid "Operation is not permitted"
282
  msgstr ""
283
 
284
+ #: Application/Backend/Feature/Subject/User.php:78
285
  msgid "You cannot set expiration to yourself"
286
  msgstr ""
287
 
288
+ #: Application/Backend/Manager.php:390
 
 
 
 
289
  msgid "Access Manager"
290
  msgstr ""
291
 
292
+ #: Application/Backend/Manager.php:478 Application/Backend/Manager.php:496
293
+ #: Application/Backend/Manager.php:519
294
  msgid "Access"
295
  msgstr ""
296
 
297
+ #: Application/Backend/Manager.php:670 Application/Backend/Manager.php:693
298
+ #: Application/Core/API.php:292
299
  msgid "Access Denied"
300
  msgstr ""
301
 
302
+ #: Application/Backend/View/Localization.php:26 media/js/aam.js:1319
303
  msgid "Search Capability"
304
  msgstr ""
305
 
306
+ #: Application/Backend/View/Localization.php:27 media/js/aam.js:1320
307
  msgid "_TOTAL_ capability(s)"
308
  msgstr ""
309
 
310
+ #: Application/Backend/View/Localization.php:28 media/js/aam.js:334
311
+ #: media/js/aam.js:395 media/js/aam.js:833 media/js/aam.js:1422
312
+ #: media/js/aam.js:1466 media/js/aam.js:1994
313
  msgid "Saving..."
314
  msgstr ""
315
 
316
+ #: Application/Backend/View/Localization.php:29 media/js/aam.js:1430
317
  msgid "Failed to add new capability"
318
  msgstr ""
319
 
320
+ #: Application/Backend/View/Localization.php:30 media/js/aam.js:354
321
+ #: media/js/aam.js:407 media/js/aam.js:444 media/js/aam.js:573
322
+ #: media/js/aam.js:605 media/js/aam.js:843 media/js/aam.js:876
323
+ #: media/js/aam.js:1137 media/js/aam.js:1173 media/js/aam.js:1207
324
+ #: media/js/aam.js:1435 media/js/aam.js:1479 media/js/aam.js:1518
325
+ #: media/js/aam.js:1601 media/js/aam.js:1746 media/js/aam.js:2289
326
+ #: media/js/aam.js:2375 media/js/aam.js:2514 media/js/aam.js:2543
327
+ #: media/js/aam.js:2923 media/js/aam.js:3301 media/js/aam.js:3331
328
  msgid "Application error"
329
  msgstr ""
330
 
331
+ #: Application/Backend/View/Localization.php:31 media/js/aam.js:1438
332
  msgid "Add Capability"
333
  msgstr ""
334
 
335
+ #: Application/Backend/View/Localization.php:32 media/js/aam.js:1051
336
+ #: Application/Backend/phtml/main/menu.phtml:71
337
  msgid "Show Menu"
338
  msgstr ""
339
 
340
+ #: Application/Backend/View/Localization.php:33 media/js/aam.js:1061
341
+ #: Application/Backend/phtml/main/menu.phtml:75
342
  msgid "Restrict Menu"
343
  msgstr ""
344
 
345
+ #: Application/Backend/View/Localization.php:34 media/js/aam.js:1168
346
  msgid "Failed to retrieve mataboxes"
347
  msgstr ""
348
 
349
+ #: Application/Backend/View/Localization.php:35 media/js/aam.js:1789
350
  msgid "Search"
351
  msgstr ""
352
 
353
+ #: Application/Backend/View/Localization.php:36 media/js/aam.js:1790
354
  msgid "_TOTAL_ object(s)"
355
  msgstr ""
356
 
359
  msgstr ""
360
 
361
  #: Application/Backend/View/Localization.php:38 media/js/aam.js:58
362
+ #: media/js/aam.js:513
363
  msgid "Loading..."
364
  msgstr ""
365
 
376
  msgstr ""
377
 
378
  #: Application/Backend/View/Localization.php:42 media/js/aam.js:130
379
+ #: media/js/aam.js:646 Application/Backend/phtml/index.phtml:168
380
  #: Application/Backend/phtml/main/capability.phtml:26
381
  #: Application/Backend/phtml/main/capability.phtml:64
382
  msgid "Create"
384
 
385
  #: Application/Backend/View/Localization.php:43 media/js/aam.js:154
386
  #: Application/Backend/phtml/index.phtml:122
387
+ #: Application/Backend/phtml/index.phtml:303
388
  msgid "Users"
389
  msgstr ""
390
 
391
+ #: Application/Backend/View/Localization.php:44 media/js/aam.js:349
392
  msgid "Failed to add new role"
393
  msgstr ""
394
 
395
+ #: Application/Backend/View/Localization.php:45 media/js/aam.js:357
396
  msgid "Add Role"
397
  msgstr ""
398
 
399
+ #: Application/Backend/View/Localization.php:46 media/js/aam.js:402
400
  msgid "Failed to update role"
401
  msgstr ""
402
 
403
+ #: Application/Backend/View/Localization.php:47
404
+ #: Application/Backend/View/PostOptionList.php:160 media/js/aam.js:411
405
  #: Application/Backend/phtml/extensions.phtml:51
406
  #: Application/Backend/phtml/extensions.phtml:78
407
  #: Application/Backend/phtml/index.phtml:194
408
  #: Application/Backend/phtml/main/capability.phtml:86
 
409
  #: Application/Backend/phtml/partial/post-advanced-settings.phtml:37
410
+ #: Application/Backend/phtml/partial/post-advanced-settings.phtml:58
411
+ #: Application/Backend/phtml/partial/post-advanced-settings.phtml:114
412
+ #: Application/Backend/phtml/partial/post-advanced-settings.phtml:141
413
  msgid "Update"
414
  msgstr ""
415
 
416
+ #: Application/Backend/View/Localization.php:48 media/js/aam.js:434
417
+ #: media/js/aam.js:1505
418
  msgid "Deleting..."
419
  msgstr ""
420
 
421
+ #: Application/Backend/View/Localization.php:49 media/js/aam.js:440
422
  msgid "Failed to delete role"
423
  msgstr ""
424
 
425
  #: Application/Backend/View/Localization.php:50
426
+ #: Application/Backend/View/Localization.php:62 media/js/aam.js:259
427
+ #: media/js/aam.js:448 Application/Backend/phtml/index.phtml:206
428
  msgid "Delete Role"
429
  msgstr ""
430
 
431
+ #: Application/Backend/View/Localization.php:51 media/js/aam.js:569
432
  msgid "Failed to block user"
433
  msgstr ""
434
 
435
+ #: Application/Backend/View/Localization.php:52 media/js/aam.js:637
436
  msgid "Search User"
437
  msgstr ""
438
 
439
+ #: Application/Backend/View/Localization.php:53 media/js/aam.js:638
440
  msgid "_TOTAL_ user(s)"
441
  msgstr ""
442
 
443
+ #: Application/Backend/View/Localization.php:54 media/js/aam.js:663
 
444
  #: Application/Backend/phtml/index.phtml:139
445
+ #: Application/Backend/phtml/metabox/metabox-content.phtml:46
446
  msgid "Role"
447
  msgstr ""
448
 
449
  #: Application/Backend/View/Localization.php:55
450
+ #: Application/Core/Subject/Visitor.php:79 media/js/aam.js:921
451
  msgid "Anonymous"
452
  msgstr ""
453
 
459
  msgid "Current role"
460
  msgstr ""
461
 
462
+ #: Application/Backend/View/Localization.php:58 media/js/aam.js:1878
463
  msgid "Manage Access"
464
  msgstr ""
465
 
466
  #: Application/Backend/View/Localization.php:59
467
+ #: Application/Backend/View/PostOptionList.php:97 media/js/aam.js:1890
468
  msgid "Edit"
469
  msgstr ""
470
 
471
+ #: Application/Backend/View/Localization.php:60 media/js/aam.js:200
472
  msgid "Manage Role"
473
  msgstr ""
474
 
475
+ #: Application/Backend/View/Localization.php:61 media/js/aam.js:222
476
  msgid "Edit Role"
477
  msgstr ""
478
 
479
+ #: Application/Backend/View/Localization.php:63 media/js/aam.js:702
480
  msgid "Manage User"
481
  msgstr ""
482
 
483
+ #: Application/Backend/View/Localization.php:64 media/js/aam.js:751
484
  msgid "Edit User"
485
  msgstr ""
486
 
487
+ #: Application/Backend/View/Localization.php:65 media/js/aam.js:564
488
+ #: media/js/aam.js:565 media/js/aam.js:764
489
  msgid "Lock User"
490
  msgstr ""
491
 
492
+ #: Application/Backend/View/Localization.php:66 media/js/aam.js:558
493
+ #: media/js/aam.js:559 media/js/aam.js:777
494
  msgid "Unlock User"
495
  msgstr ""
496
 
499
  msgstr ""
500
 
501
  #: Application/Backend/View/PostOptionList.php:26
502
+ #: Application/Backend/View/PostOptionList.php:91
503
+ #: Application/Backend/View/PostOptionList.php:114
504
  msgid "List"
505
  msgstr ""
506
 
507
  #: Application/Backend/View/PostOptionList.php:27
508
+ #: Application/Backend/View/PostOptionList.php:93
509
  #, php-format
510
+ msgid "Hide %s however still allow access with direct URL."
 
 
 
511
  msgstr ""
512
 
513
  #: Application/Backend/View/PostOptionList.php:27
517
  msgstr ""
518
 
519
  #: Application/Backend/View/PostOptionList.php:31
520
+ #: Application/Backend/View/PostOptionList.php:119
521
  msgid "Read"
522
  msgstr ""
523
 
524
  #: Application/Backend/View/PostOptionList.php:32
525
  #, php-format
526
  msgid ""
527
+ "Restrict access to view, read or download %s. Any attempts to open %s will "
528
+ "be denied and redirected based on the Access Denied Redirect rule."
529
  msgstr ""
530
 
531
  #: Application/Backend/View/PostOptionList.php:35
532
+ #: Application/Backend/View/PostOptionList.php:123
533
  msgid "Limit"
534
  msgstr ""
535
 
536
  #: Application/Backend/View/PostOptionList.php:36
537
+ #: Application/Backend/View/PostOptionList.php:124
538
  msgid "Teaser message"
539
  msgstr ""
540
 
541
+ #: Application/Backend/View/PostOptionList.php:40
542
+ #: Application/Backend/View/PostOptionList.php:128
543
  #, php-format
544
+ msgid "Replace %s content with defined teaser message."
545
  msgstr ""
546
 
547
+ #: Application/Backend/View/PostOptionList.php:43
548
+ #: Application/Backend/View/PostOptionList.php:131
549
  msgid "Read Counter"
550
  msgstr ""
551
 
552
+ #: Application/Backend/View/PostOptionList.php:44
553
+ #: Application/Backend/View/PostOptionList.php:132
554
+ #: Application/Backend/phtml/partial/post-advanced-settings.phtml:32
555
  msgid "Threshold"
556
  msgstr ""
557
 
558
+ #: Application/Backend/View/PostOptionList.php:49
559
  #, php-format
560
  msgid ""
561
+ "Define how many times %s can be read, viewed or download. After number of "
562
+ "times exceeds the specified threshold, access will be denied and redirected "
563
+ "based on the Access Denied Redirect rule."
564
  msgstr ""
565
 
566
+ #: Application/Backend/View/PostOptionList.php:52
567
+ #: Application/Backend/View/PostOptionList.php:140
568
  msgid "Comment"
569
  msgstr ""
570
 
571
+ #: Application/Backend/View/PostOptionList.php:53
572
  #, php-format
573
+ msgid "Restrict access to comment on %s if commenting is allowed."
574
  msgstr ""
575
 
576
+ #: Application/Backend/View/PostOptionList.php:56
577
  msgid "Redirect"
578
  msgstr ""
579
 
580
+ #: Application/Backend/View/PostOptionList.php:57
581
  msgid "Redirect Rule"
582
  msgstr ""
583
 
584
+ #: Application/Backend/View/PostOptionList.php:61
585
  #, php-format
586
  msgid ""
587
  "Redirect user based on the defined redirect rule when user tries to read the "
588
+ "%s. The REDIRECT option will be ignored if READ option is checked."
 
589
  msgstr ""
590
 
591
+ #: Application/Backend/View/PostOptionList.php:64
592
+ #: Application/Backend/View/PostOptionList.php:144
593
  msgid "Password Protected"
594
  msgstr ""
595
 
596
+ #: Application/Backend/View/PostOptionList.php:65
597
+ #: Application/Backend/View/PostOptionList.php:145
598
+ #: Application/Backend/phtml/partial/post-advanced-settings.phtml:53
599
+ #: Application/Backend/phtml/widget/login-frontend.phtml:27
600
  #: Application/Frontend/phtml/login.phtml:13
601
  msgid "Password"
602
  msgstr ""
603
 
604
+ #: Application/Backend/View/PostOptionList.php:69
605
  #, php-format
606
+ msgid ""
607
+ "Protect access to %s with password. Available with WordPress 4.7.0 or higher."
608
  msgstr ""
609
 
610
+ #: Application/Backend/View/PostOptionList.php:72
611
+ #: Application/Backend/View/PostOptionList.php:152
612
  msgid "Access Expiration"
613
  msgstr ""
614
 
615
+ #: Application/Backend/View/PostOptionList.php:73
616
+ #: Application/Backend/View/PostOptionList.php:153
617
  #: Application/Backend/phtml/index.phtml:245
618
  msgid "Expires"
619
  msgstr ""
620
 
621
+ #: Application/Backend/View/PostOptionList.php:77
622
  #, php-format
623
+ msgid "Define when access will expire for %s."
624
  msgstr ""
625
 
626
+ #: Application/Backend/View/PostOptionList.php:77
627
  #, php-format
628
  msgid ""
629
+ "After expiration, the access to %s will be denied and redirected based on "
630
+ "the Access Denied Redirect rule. For more information %scheck this article%s "
631
+ "or "
632
  msgstr ""
633
 
634
+ #: Application/Backend/View/PostOptionList.php:77
635
  #, php-format
636
  msgid " %ssee in action.%s"
637
  msgstr ""
638
 
639
+ #: Application/Backend/View/PostOptionList.php:80
640
  msgid "Monetized Access"
641
  msgstr ""
642
 
643
+ #: Application/Backend/View/PostOptionList.php:81
644
  msgid "E-Product"
645
  msgstr ""
646
 
647
+ #: Application/Backend/View/PostOptionList.php:86
648
  #, php-format
649
  msgid ""
650
+ "[Premium feature!] Start selling access to %s. Access will be granted to "
651
+ "open %s only if selected E-Product had been purchased. For more information "
652
+ "%scheck this article%s."
653
  msgstr ""
654
 
655
+ #: Application/Backend/View/PostOptionList.php:99
 
 
 
 
 
 
 
 
656
  #, php-format
657
  msgid ""
658
+ "Restrict access to edit %s. Any attempts to edit %s will result in "
659
  "redirecting user based on the Access Denied Redirect rule."
660
  msgstr ""
661
 
662
+ #: Application/Backend/View/PostOptionList.php:102
663
+ #: Application/Backend/View/PostOptionList.php:165
664
  #: Application/Backend/phtml/index.phtml:212
665
  #: Application/Backend/phtml/main/capability.phtml:104
666
  msgid "Delete"
667
  msgstr ""
668
 
669
+ #: Application/Backend/View/PostOptionList.php:104
670
+ #: Application/Backend/View/PostOptionList.php:167
671
  #, php-format
672
  msgid "Restrict access to trash or permanently delete %s."
673
  msgstr ""
674
 
675
+ #: Application/Backend/View/PostOptionList.php:107
676
  msgid "Publish"
677
  msgstr ""
678
 
679
+ #: Application/Backend/View/PostOptionList.php:109
680
  #, php-format
681
  msgid ""
682
+ "Restrict access to publish %s. User will be allowed only to submit %s for "
683
+ "review."
684
+ msgstr ""
685
+
686
+ #: Application/Backend/View/PostOptionList.php:115
687
+ #, php-format
688
+ msgid "Hide %s however still allow access to retrieve %s."
689
+ msgstr ""
690
+
691
+ #: Application/Backend/View/PostOptionList.php:120
692
+ #, php-format
693
+ msgid ""
694
+ "Restrict access to retrieve %s. Any attempts to retrieve %s will be denied."
695
+ msgstr ""
696
+
697
+ #: Application/Backend/View/PostOptionList.php:137
698
+ #, php-format
699
+ msgid ""
700
+ "Define how many times %s can be retrieved. After number of time exceeds the "
701
+ "defined threshold, the access will be denied to %s."
702
+ msgstr ""
703
+
704
+ #: Application/Backend/View/PostOptionList.php:141
705
+ #, php-format
706
+ msgid "Restrict access to comment on %s if commenting feature is enabled."
707
+ msgstr ""
708
+
709
+ #: Application/Backend/View/PostOptionList.php:149
710
+ #, php-format
711
+ msgid "Protected %s with password. Available with WordPress 4.7.0 or higher."
712
+ msgstr ""
713
+
714
+ #: Application/Backend/View/PostOptionList.php:157
715
+ #, php-format
716
+ msgid "Define when access expires to %s."
717
+ msgstr ""
718
+
719
+ #: Application/Backend/View/PostOptionList.php:157
720
+ #, php-format
721
+ msgid ""
722
+ "After expiration, the access to %s will be denied. For more information "
723
+ "%scheck this article%s or "
724
+ msgstr ""
725
+
726
+ #: Application/Backend/View/PostOptionList.php:162
727
+ #, php-format
728
+ msgid "Restrict access to update %s. Any attempts to update %s will be denied."
729
  msgstr ""
730
 
731
  #: Application/Backend/Widget/Login.php:19
732
  msgid "AAM Secure Login Widget"
733
  msgstr ""
734
 
735
+ #: Application/Backend/Widget/Login.php:98
736
  #: Application/Frontend/phtml/login.phtml:27
737
  msgid "Login"
738
  msgstr ""
739
 
740
+ #: Application/Backend/Widget/Login.php:102
741
+ #: Application/Shortcode/Strategy/Login.php:54
742
  msgid "Howdy, %username%"
743
  msgstr ""
744
 
745
  #: Application/Core/JwtAuth.php:58
746
+ msgid ""
747
+ "JWT Authentication is enabled but authentication.jwt.secret is not defined"
748
  msgstr ""
749
 
750
  #: Application/Core/JwtAuth.php:76
755
  msgid "Valid password."
756
  msgstr ""
757
 
758
+ #: Application/Core/JwtAuth.php:131
759
+ msgid "JWT Authentication is enabled but secret key is not defined"
760
+ msgstr ""
761
+
762
+ #: Application/Core/Login.php:161
763
  msgid "Access denied. Please login to get access."
764
  msgstr ""
765
 
766
+ #: Application/Core/Subject/Default.php:78 media/js/aam.js:960
767
  msgid "All Users, Roles and Visitor"
768
  msgstr ""
769
 
770
+ #: Application/Extension/List.php:64
771
  msgid ""
772
  "[Deprecated!]. The extension is deprecated and replaces with more "
773
  "sophisticated E-Commerce extension. If you already purchased it, please "
774
  "contact us to upgrade your license for no additional cost."
775
  msgstr ""
776
 
777
+ #: Application/Extension/Repository.php:129
778
  #, php-format
779
  msgid ""
780
  "The [%s] file is missing. Update extension to the latest version. %sRead "
781
  "more.%s"
782
  msgstr ""
783
 
784
+ #: Application/Extension/Repository.php:327
785
  #, php-format
786
  msgid "Failed to create %s"
787
  msgstr ""
788
 
789
+ #: Application/Extension/Repository.php:331
790
  #, php-format
791
  msgid "Directory %s is not writable"
792
  msgstr ""
793
 
794
+ #: Application/Shared/Manager.php:92
795
+ msgid "RESTful API is disabled"
796
+ msgstr ""
797
+
798
+ #: Application/Shared/Manager.php:265
799
  msgid "[No teaser message provided]"
800
  msgstr ""
801
 
803
  msgid "No valid strategy found for the given context"
804
  msgstr ""
805
 
806
+ #: aam.php:198
807
  msgid "PHP 5.3.0 or higher is required."
808
  msgstr ""
809
 
810
+ #: aam.php:200
811
+ msgid "WP 4.0 or higher is required."
812
  msgstr ""
813
 
814
+ #: media/js/aam.js:238
815
  msgid "Clone Role"
816
  msgstr ""
817
 
818
+ #: media/js/aam.js:518 Application/Backend/phtml/index.phtml:260
819
+ #: Application/Backend/phtml/partial/role-inheritance.phtml:5
820
+ msgid "Select Role"
821
+ msgstr ""
822
+
823
+ #: media/js/aam.js:736
824
  msgid "User Expiration"
825
  msgstr ""
826
 
827
+ #: media/js/aam.js:790
828
  msgid "Switch To User"
829
  msgstr ""
830
 
831
+ #: media/js/aam.js:847 Application/Backend/phtml/index.phtml:266
832
+ #: Application/Backend/phtml/partial/post-advanced-settings.phtml:16
833
  msgid "Save"
834
  msgstr ""
835
 
836
+ #: media/js/aam.js:866
837
  msgid "Reseting..."
838
  msgstr ""
839
 
840
+ #: media/js/aam.js:880 Application/Backend/phtml/index.phtml:265
841
  msgid "Reset"
842
  msgstr ""
843
 
844
+ #: media/js/aam.js:1016 media/js/aam.js:2713 media/js/aam.js:2761
845
+ #: media/js/aam.js:2795 media/js/aam.js:2828 media/js/aam.js:2880
846
  msgid "Application Error"
847
  msgstr ""
848
 
849
+ #: media/js/aam.js:1085 Application/Backend/phtml/main/menu.phtml:57
850
  msgid "Uncheck to allow"
851
  msgstr ""
852
 
853
+ #: media/js/aam.js:1087 Application/Backend/phtml/main/menu.phtml:57
854
  msgid "Check to restrict"
855
  msgstr ""
856
 
857
+ #: media/js/aam.js:1194
858
  msgid "Processing"
859
  msgstr ""
860
 
861
+ #: media/js/aam.js:1202
862
  msgid "Failed to initialize URL"
863
  msgstr ""
864
 
865
+ #: media/js/aam.js:1210 Application/Backend/phtml/main/metabox.phtml:102
866
  msgid "Initialize"
867
  msgstr ""
868
 
869
+ #: media/js/aam.js:1234 Application/Backend/phtml/main/metabox.phtml:65
870
  msgid "Uncheck to show"
871
  msgstr ""
872
 
873
+ #: media/js/aam.js:1236 Application/Backend/phtml/main/metabox.phtml:65
874
  msgid "Check to hide"
875
  msgstr ""
876
 
877
+ #: media/js/aam.js:1282
878
  msgid "WordPress core does not allow to grant this capability"
879
  msgstr ""
880
 
881
+ #: media/js/aam.js:1322 media/js/aam.js:2426
882
  msgid "Nothing to show"
883
  msgstr ""
884
 
885
+ #: media/js/aam.js:1474
886
  msgid "Failed to update capability"
887
  msgstr ""
888
 
889
+ #: media/js/aam.js:1482 Application/Backend/phtml/main/capability.phtml:76
890
  msgid "Update Capability"
891
  msgstr ""
892
 
893
+ #: media/js/aam.js:1513
894
  msgid "Failed to delete capability"
895
  msgstr ""
896
 
897
+ #: media/js/aam.js:1521 Application/Backend/phtml/main/capability.phtml:98
898
  msgid "Delete Capability"
899
  msgstr ""
900
 
901
+ #: media/js/aam.js:1864
902
  msgid "Drill-Down"
903
  msgstr ""
904
 
905
+ #: media/js/aam.js:1937 media/js/aam.js:3325
906
+ msgid "Resetting..."
907
+ msgstr ""
908
+
909
+ #: media/js/aam.js:2423
910
+ msgid "Search Route"
911
+ msgstr ""
912
+
913
+ #: media/js/aam.js:2424
914
+ msgid "_TOTAL_ route(s)"
915
+ msgstr ""
916
+
917
+ #: media/js/aam.js:2536
918
  msgid "Extension status was updated successfully"
919
  msgstr ""
920
 
921
+ #: media/js/aam.js:2748 media/js/aam.js:2782 media/js/aam.js:2816
922
+ #: media/js/aam.js:2869
923
  msgid "Wait..."
924
  msgstr ""
925
 
926
+ #: media/js/aam.js:2754
927
+ msgid "All settings has been cleared successfully"
928
  msgstr ""
929
 
930
+ #: media/js/aam.js:2765 media/js/aam.js:2799
931
  #: Application/Backend/phtml/settings/tools.phtml:66
932
  msgid "Clear"
933
  msgstr ""
934
 
935
+ #: media/js/aam.js:2788
936
+ msgid "The cache has been cleared successfully"
937
  msgstr ""
938
 
939
+ #: media/js/aam.js:2876
940
  msgid "Invalid data format"
941
  msgstr ""
942
 
1018
  #: Application/Backend/phtml/index.phtml:205
1019
  #: Application/Backend/phtml/index.phtml:213
1020
  #: Application/Backend/phtml/index.phtml:240
1021
+ #: Application/Backend/phtml/index.phtml:267
1022
  #: Application/Backend/phtml/main/capability.phtml:54
1023
  #: Application/Backend/phtml/main/capability.phtml:65
1024
  #: Application/Backend/phtml/main/capability.phtml:75
1025
  #: Application/Backend/phtml/main/capability.phtml:87
1026
  #: Application/Backend/phtml/main/capability.phtml:97
1027
  #: Application/Backend/phtml/main/capability.phtml:105
1028
+ #: Application/Backend/phtml/main/menu.phtml:100
1029
  #: Application/Backend/phtml/main/metabox.phtml:89
1030
  #: Application/Backend/phtml/main/metabox.phtml:103
1031
  #: Application/Backend/phtml/partial/post-advanced-settings.phtml:6
1033
  #: Application/Backend/phtml/partial/post-advanced-settings.phtml:27
1034
  #: Application/Backend/phtml/partial/post-advanced-settings.phtml:38
1035
  #: Application/Backend/phtml/partial/post-advanced-settings.phtml:48
1036
+ #: Application/Backend/phtml/partial/post-advanced-settings.phtml:59
1037
+ #: Application/Backend/phtml/partial/post-advanced-settings.phtml:69
1038
+ #: Application/Backend/phtml/partial/post-advanced-settings.phtml:115
1039
+ #: Application/Backend/phtml/partial/post-advanced-settings.phtml:125
1040
+ #: Application/Backend/phtml/partial/post-advanced-settings.phtml:142
1041
+ #: Application/Backend/phtml/partial/post-advanced-settings.phtml:152
1042
+ #: Application/Backend/phtml/partial/post-advanced-settings.phtml:164
1043
  #: Application/Backend/phtml/settings/tools.phtml:59
1044
  msgid "Close"
1045
  msgstr ""
1096
  "remember that license key is limited only to one life domain."
1097
  msgstr ""
1098
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1099
  #: Application/Backend/phtml/index.phtml:14
1100
  msgid "Main Panel"
1101
  msgstr ""
1168
  msgstr ""
1169
 
1170
  #: Application/Backend/phtml/index.phtml:119
1171
+ #: Application/Backend/phtml/index.phtml:298
1172
  msgid "Roles"
1173
  msgstr ""
1174
 
1175
  #: Application/Backend/phtml/index.phtml:125
1176
+ #: Application/Backend/phtml/index.phtml:308
1177
  msgid "Visitor"
1178
  msgstr ""
1179
 
1180
  #: Application/Backend/phtml/index.phtml:128
1181
+ #: Application/Backend/phtml/index.phtml:313
1182
  msgid "Default"
1183
  msgstr ""
1184
 
1220
  msgid "Are you sure that you want to delete the %s role?"
1221
  msgstr ""
1222
 
1223
+ #: Application/Backend/phtml/index.phtml:227
1224
+ #: Application/Backend/phtml/metabox/metabox-content.phtml:62
1225
+ msgid "Username"
1226
+ msgstr ""
1227
+
1228
  #: Application/Backend/phtml/index.phtml:241
1229
  msgid "Manage User Expiration"
1230
  msgstr ""
1249
  msgid "Lock Account"
1250
  msgstr ""
1251
 
1252
+ #: Application/Backend/phtml/index.phtml:254
1253
+ msgid "Change User Role"
1254
+ msgstr ""
1255
+
1256
+ #: Application/Backend/phtml/index.phtml:258
1257
+ msgid "Change To Role"
1258
+ msgstr ""
1259
+
1260
+ #: Application/Backend/phtml/index.phtml:277
1261
  msgid ""
1262
  "Manage access to your website for visitors (any user that is not "
1263
  "authenticated)"
1264
  msgstr ""
1265
 
1266
  #: Application/Backend/phtml/index.phtml:278
1267
+ #: Application/Backend/phtml/metabox/metabox-content.phtml:75
1268
+ msgid "Manage Visitors"
1269
+ msgstr ""
1270
+
1271
+ #: Application/Backend/phtml/index.phtml:285
1272
  msgid ""
1273
  "Manage default access to your website resources for all users, roles and "
1274
  "visitor. This includes Administrator role and your user"
1275
  msgstr ""
1276
 
1277
+ #: Application/Backend/phtml/index.phtml:286
1278
+ #: Application/Backend/phtml/metabox/metabox-content.phtml:84
1279
+ msgid "Manage Default Access"
1280
+ msgstr ""
1281
+
1282
+ #: Application/Backend/phtml/index.phtml:294
1283
  msgid ""
1284
  "Manage access for your users, roles and visitors. Be careful with "
1285
  "[Administrator] role as well as your admin user. [Database backup is "
1286
  "strongly recommended]."
1287
  msgstr ""
1288
 
1289
+ #: Application/Backend/phtml/index.phtml:299
1290
  msgid ""
1291
  "With Roles tab you can manage access for any defined role, edit role's name, "
1292
  "create new role or even delete existing (but only when there is no users "
1293
  "assigned to it). You are not allowed to delete Administrator role."
1294
  msgstr ""
1295
 
1296
+ #: Application/Backend/phtml/index.phtml:304
1297
  msgid ""
1298
  "Manage access for any user. As a bonus feature, you can block user. It means "
1299
  "that user will be not able to login to your website anymore."
1300
  msgstr ""
1301
 
1302
+ #: Application/Backend/phtml/index.phtml:309
1303
  msgid ""
1304
  "Visitor can be considered any user that is not authenticated to your website."
1305
  msgstr ""
1306
 
1307
+ #: Application/Backend/phtml/index.phtml:314
1308
  msgid ""
1309
  "Manage default access settings to your website resources for all users, "
1310
  "roles and visitors."
1311
  msgstr ""
1312
 
1313
+ #: Application/Backend/phtml/main-panel.phtml:26
1314
  msgid "You are not allowed to manage any of the existing features."
1315
  msgstr ""
1316
 
1326
  #: Application/Backend/phtml/main/login-redirect.phtml:31
1327
  #: Application/Backend/phtml/main/logout-redirect.phtml:31
1328
  #: Application/Backend/phtml/main/redirect.phtml:50
1329
+ #: Application/Backend/phtml/partial/post-advanced-settings.phtml:77
1330
  msgid "Redirected to existing page [(select from the drop-down)]"
1331
  msgstr ""
1332
 
1341
  #: Application/Backend/phtml/main/logout-redirect.phtml:39
1342
  #: Application/Backend/phtml/main/redirect.phtml:58
1343
  #: Application/Backend/phtml/main/redirect.phtml:110
1344
+ #: Application/Backend/phtml/partial/post-advanced-settings.phtml:85
1345
  #, php-format
1346
  msgid "Trigger PHP callback function [(valid %sPHP callback%s is required)]"
1347
  msgstr ""
1348
 
 
 
 
 
 
 
 
 
1349
  #: Application/Backend/phtml/main/404redirect.phtml:45
1350
  #: Application/Backend/phtml/main/login-redirect.phtml:52
1351
  #: Application/Backend/phtml/main/logout-redirect.phtml:52
1352
  #: Application/Backend/phtml/main/redirect.phtml:76
1353
  #: Application/Backend/phtml/main/redirect.phtml:128
1354
+ #: Application/Backend/phtml/partial/post-advanced-settings.phtml:96
1355
  msgid "-- Select Page --"
1356
  msgstr ""
1357
 
1360
  #: Application/Backend/phtml/main/logout-redirect.phtml:58
1361
  #: Application/Backend/phtml/main/redirect.phtml:82
1362
  #: Application/Backend/phtml/main/redirect.phtml:134
1363
+ #: Application/Backend/phtml/partial/post-advanced-settings.phtml:102
1364
  msgid "The URL"
1365
  msgstr ""
1366
 
1369
  #: Application/Backend/phtml/main/logout-redirect.phtml:63
1370
  #: Application/Backend/phtml/main/redirect.phtml:87
1371
  #: Application/Backend/phtml/main/redirect.phtml:139
1372
+ #: Application/Backend/phtml/partial/post-advanced-settings.phtml:107
1373
  msgid "PHP Callback Function"
1374
  msgstr ""
1375
 
1398
  msgid "Capabilities are customized"
1399
  msgstr ""
1400
 
1401
+ #: Application/Backend/phtml/main/capability.phtml:33
1402
+ #: Application/Backend/phtml/main/menu.phtml:14
1403
+ #: Application/Backend/phtml/main/metabox.phtml:20
1404
+ #: Application/Backend/phtml/main/post.phtml:36
1405
+ #: Application/Backend/phtml/main/route.phtml:18
1406
+ #: Application/Backend/phtml/metabox/metabox-content.phtml:101
1407
+ msgid "Reset To Default"
1408
+ msgstr ""
1409
+
1410
  #: Application/Backend/phtml/main/capability.phtml:42
1411
  msgid "Category"
1412
  msgstr ""
1452
  #, php-format
1453
  msgid ""
1454
  "Customize login redirect for [%s] when the authentication is completed "
1455
+ "successfully. [Please note!] Login redirect works with default WordPress "
1456
+ "login form or %sAAM Secure Login widget%s. It may [not] work with any other "
1457
+ "login solutions."
1458
  msgstr ""
1459
 
1460
  #: Application/Backend/phtml/main/login-redirect.phtml:27
1464
 
1465
  #: Application/Backend/phtml/main/login-redirect.phtml:35
1466
  #: Application/Backend/phtml/main/logout-redirect.phtml:35
1467
+ #: Application/Backend/phtml/partial/post-advanced-settings.phtml:81
1468
  msgid "Redirected to the URL [(enter full URL starting from http or https)]"
1469
  msgstr ""
1470
 
1485
  "WordPress backend menu%s."
1486
  msgstr ""
1487
 
1488
+ #: Application/Backend/phtml/main/menu.phtml:13
1489
+ #: Application/Backend/phtml/main/metabox.phtml:19
1490
+ #: Application/Backend/phtml/main/post.phtml:35
1491
+ #: Application/Backend/phtml/metabox/metabox-content.phtml:100
1492
+ msgid "Settings are customized"
1493
+ msgstr ""
1494
+
1495
+ #: Application/Backend/phtml/main/menu.phtml:89
1496
  msgid ""
1497
  "Current user does not have enough capabilities to access any available "
1498
  "dashboard page."
1499
  msgstr ""
1500
 
1501
+ #: Application/Backend/phtml/main/menu.phtml:101
1502
  msgid "Dashboard Lockdown"
1503
  msgstr ""
1504
 
1505
+ #: Application/Backend/phtml/main/menu.phtml:105
1506
  msgid "You cannot restrict access to Dashboard home page."
1507
  msgstr ""
1508
 
1509
+ #: Application/Backend/phtml/main/menu.phtml:106
1510
  #, php-format
1511
  msgid ""
1512
  "The [Home] is the default page every user is redirected after login. To "
1514
  "WordPress backend%s article."
1515
  msgstr ""
1516
 
1517
+ #: Application/Backend/phtml/main/menu.phtml:110
1518
  msgid "OK"
1519
  msgstr ""
1520
 
1577
  #, php-format
1578
  msgid ""
1579
  "You are allowed to manage access to unlimited number of posts, pages or "
1580
+ "custom post types but only for any role, user or visitor. Consider to "
1581
  "purchase %s[AAM Plus Package]%s extension to have the ability to also manage "
1582
  "access to categories and custom taxonomies or to define the default access "
1583
  "to all posts, pages or custom post types. For more information about this "
1584
+ "functionality check %sHow to manage access to the WordPress content%s."
1585
  msgstr ""
1586
 
1587
  #: Application/Backend/phtml/main/post.phtml:15
1588
  #, php-format
1589
  msgid ""
1590
+ "Manage access to posts, pages, custom post types, categories or custom "
1591
+ "hierarchical taxonomies. For more information about this functionality check "
1592
+ "%sHow to manage access to the WordPress content%s article."
1593
  msgstr ""
1594
 
1595
  #: Application/Backend/phtml/main/post.phtml:25
1601
  msgstr ""
1602
 
1603
  #: Application/Backend/phtml/main/post.phtml:59
1604
+ #: Application/Backend/phtml/main/post.phtml:62
1605
+ #: Application/Backend/phtml/main/post.phtml:66
1606
+ #: Application/Backend/phtml/main/post.phtml:69
1607
+ #: Application/Backend/phtml/main/post.phtml:77
1608
+ #: Application/Backend/phtml/main/post.phtml:82
1609
  msgid "Go Back"
1610
  msgstr ""
1611
 
1661
  msgid "Redirected to existing frontend page [(select from the drop-down)]"
1662
  msgstr ""
1663
 
1664
+ #: Application/Backend/phtml/main/route.phtml:8
1665
+ #, php-format
1666
+ msgid ""
1667
+ "Manage access to the website API routes for [%s]. For full RESTful API "
1668
+ "experience, you might want to use %sJWT authentication%s that is already "
1669
+ "available in AAM."
1670
+ msgstr ""
1671
+
1672
+ #: Application/Backend/phtml/main/route.phtml:9
1673
+ msgid ""
1674
+ "[Please note!] It is the initial version of this feature. It can be "
1675
+ "significantly enhanced with a lot of useful functionality. Your feedback and "
1676
+ "suggestions are highly appreciated!"
1677
+ msgstr ""
1678
+
1679
+ #: Application/Backend/phtml/main/route.phtml:17
1680
+ msgid "Routes are customized"
1681
+ msgstr ""
1682
+
1683
+ #: Application/Backend/phtml/main/route.phtml:28
1684
+ msgid "Route"
1685
+ msgstr ""
1686
+
1687
+ #: Application/Backend/phtml/main/route.phtml:29
1688
+ msgid "Deny"
1689
+ msgstr ""
1690
+
1691
+ #: Application/Backend/phtml/metabox/metabox-content.phtml:74
1692
+ #, php-format
1693
+ msgid "Manage access to %s for visitors (any user that is not authenticated)"
1694
+ msgstr ""
1695
+
1696
+ #: Application/Backend/phtml/metabox/metabox-content.phtml:82
1697
+ #, php-format
1698
+ msgid ""
1699
+ "Manage default access to %s for all users, roles and visitor. This includes "
1700
+ "Administrator role and yourself"
1701
+ msgstr ""
1702
+
1703
+ #: Application/Backend/phtml/metabox/metabox-content.phtml:87
1704
+ msgid "This feature is allowed only with [AAM Plus Package] extension."
1705
+ msgstr ""
1706
+
1707
  #: Application/Backend/phtml/partial/login-redirect.phtml:3
1708
  msgid ""
1709
  "Setup [default] redirect after user logged in successfully for all your "
1711
  "redirect for any user or role."
1712
  msgstr ""
1713
 
1714
+ #: Application/Backend/phtml/partial/post-access-form.phtml:13
1715
+ msgid "Frontend Access Settings"
1716
+ msgstr ""
1717
+
1718
+ #: Application/Backend/phtml/partial/post-access-form.phtml:26
1719
+ #: Application/Backend/phtml/partial/post-access-form.phtml:62
1720
+ #: Application/Backend/phtml/partial/post-access-form.phtml:100
1721
+ msgid "change"
1722
+ msgstr ""
1723
+
1724
+ #: Application/Backend/phtml/partial/post-access-form.phtml:49
1725
+ msgid "Backend Access Settings"
1726
+ msgstr ""
1727
+
1728
+ #: Application/Backend/phtml/partial/post-access-form.phtml:85
1729
+ msgid "API Access Settings"
1730
+ msgstr ""
1731
+
1732
  #: Application/Backend/phtml/partial/post-advanced-settings.phtml:7
1733
+ msgid "Teaser Message"
1734
+ msgstr ""
1735
+
1736
+ #: Application/Backend/phtml/partial/post-advanced-settings.phtml:11
1737
+ msgid "Simple text or valid HTML"
1738
  msgstr ""
1739
 
1740
  #: Application/Backend/phtml/partial/post-advanced-settings.phtml:12
1741
+ msgid "Enter your teaser"
1742
  msgstr ""
1743
 
1744
  #: Application/Backend/phtml/partial/post-advanced-settings.phtml:28
1745
+ msgid "Define Threshold"
1746
  msgstr ""
1747
 
1748
  #: Application/Backend/phtml/partial/post-advanced-settings.phtml:33
1749
+ msgid "Enter digital number"
1750
  msgstr ""
1751
 
1752
  #: Application/Backend/phtml/partial/post-advanced-settings.phtml:49
1753
+ msgid "Set Password"
1754
  msgstr ""
1755
 
1756
+ #: Application/Backend/phtml/partial/post-advanced-settings.phtml:54
1757
+ msgid "Enter Password"
 
 
1758
  msgstr ""
1759
 
1760
+ #: Application/Backend/phtml/partial/post-advanced-settings.phtml:70
1761
+ msgid "Define Redirect Rule"
1762
  msgstr ""
1763
 
1764
+ #: Application/Backend/phtml/partial/post-advanced-settings.phtml:73
1765
+ #, php-format
1766
+ msgid ""
1767
+ "To learn more about REDIRECT option, please refer to our [%sHelp Section%s]."
1768
  msgstr ""
1769
 
1770
+ #: Application/Backend/phtml/partial/post-advanced-settings.phtml:126
1771
  msgid "Set Expiration"
1772
  msgstr ""
1773
 
1774
+ #: Application/Backend/phtml/partial/post-advanced-settings.phtml:136
1775
  msgid "Enter expiration critiria"
1776
  msgstr ""
1777
 
1778
+ #: Application/Backend/phtml/partial/post-advanced-settings.phtml:137
1779
  msgid "Enter critiria"
1780
  msgstr ""
1781
 
1782
+ #: Application/Backend/phtml/partial/post-advanced-settings.phtml:153
 
 
 
 
 
 
 
 
 
 
 
 
1783
  msgid "E-Commerce Setup"
1784
  msgstr ""
1785
 
1786
+ #: Application/Backend/phtml/partial/post-advanced-settings.phtml:159
1787
+ #, php-format
1788
  msgid ""
1789
+ "Monetization is the premium feature that is available with %s[E-Commerce]%s "
1790
  "extension."
1791
  msgstr ""
1792
 
1809
  msgid "Inherit Capabilities From"
1810
  msgstr ""
1811
 
1812
+ #: Application/Backend/phtml/partial/role-inheritance.phtml:11
1813
+ msgid ""
1814
+ "Also clone all AAM access settings (admin menu, metaboxes, redirects etc)"
1815
  msgstr ""
1816
 
1817
  #: Application/Backend/phtml/partial/term-type.phtml:4
1818
  #, php-format
1819
  msgid ""
1820
  "Manage access to %s is available with [AAM Plus Package] extension only. "
1821
+ "With this feature you can also define default access to all child posts that "
1822
  "belong to %s. Consider to purchase [AAM Plus Package] extension."
1823
  msgstr ""
1824
 
1877
  msgid "Login Timeout"
1878
  msgstr ""
1879
 
1880
+ #: Application/Backend/phtml/widget/login-backend.phtml:15
1881
+ msgid ""
1882
+ "Delay the login process for 1 second to significantly reduce the chance for "
1883
+ "brute force or dictionary attack."
1884
+ msgstr ""
1885
+
1886
  #: Application/Backend/phtml/widget/login-backend.phtml:20
1887
+ msgid "One session per user"
1888
+ msgstr ""
1889
+
1890
+ #: Application/Backend/phtml/widget/login-backend.phtml:21
1891
+ msgid ""
1892
+ "Automatically destroy all other sessions for a user if he/she tries to login "
1893
+ "from different location."
1894
+ msgstr ""
1895
+
1896
+ #: Application/Backend/phtml/widget/login-backend.phtml:26
1897
  msgid "Brute Force Lockout"
1898
  msgstr ""
1899
 
1900
+ #: Application/Backend/phtml/widget/login-backend.phtml:27
1901
+ msgid ""
1902
+ "Automatically reject login attempts if number of unsuccessful login attempts "
1903
+ "is more than 20 over the period of 2 minutes."
1904
+ msgstr ""
1905
+
1906
+ #: Application/Backend/phtml/widget/login-backend.phtml:31
1907
  #, php-format
1908
  msgid ""
1909
  "For more advanced setup like login/logout redirects or custom styling, "
1910
  "please check %sthis article%s."
1911
  msgstr ""
1912
 
1913
+ #: Application/Backend/phtml/widget/login-frontend.phtml:21
1914
+ #: Application/Frontend/phtml/login.phtml:7
1915
+ msgid "Username or Email Address"
1916
+ msgstr ""
1917
+
1918
+ #: Application/Backend/phtml/widget/login-frontend.phtml:36
1919
+ #: Application/Frontend/phtml/login.phtml:22
1920
+ msgid "Remember Me"
1921
+ msgstr ""
1922
+
1923
+ #: Application/Backend/phtml/widget/login-frontend.phtml:41
1924
+ msgid "Log In"
1925
+ msgstr ""
1926
+
1927
  #: Application/Backend/phtml/widget/login-frontend.phtml:49
1928
  #: Application/Frontend/phtml/login.phtml:35
1929
  msgid "Register"
1948
  #: Application/Frontend/phtml/login.phtml:54
1949
  msgid "Log Out"
1950
  msgstr ""
 
 
 
 
 
 
 
 
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: 5.3
7
  Author: Vasyl Martyniuk <vasyl@vasyltech.com>
8
  Author URI: https://vasyltech.com
9
 
@@ -67,6 +67,14 @@ class AAM {
67
  protected function setUser(AAM_Core_Subject $user) {
68
  $this->_user = $user;
69
  }
 
 
 
 
 
 
 
 
70
 
71
  /**
72
  * Get current user
@@ -112,12 +120,12 @@ class AAM {
112
  AAM_Shared_Manager::bootstrap();
113
 
114
  //login control
115
- if (AAM_Core_Config::get('secure-login', true)) {
116
  AAM_Core_Login::bootstrap();
117
  }
118
 
119
  //JWT Authentication
120
- if (AAM_Core_Config::get('jwt-authentication', false)) {
121
  AAM_Core_JwtAuth::bootstrap();
122
  }
123
  }
3
  /**
4
  Plugin Name: Advanced Access Manager
5
  Description: All you need to manage access to your WordPress website
6
+ Version: 5.3.1
7
  Author: Vasyl Martyniuk <vasyl@vasyltech.com>
8
  Author URI: https://vasyltech.com
9
 
67
  protected function setUser(AAM_Core_Subject $user) {
68
  $this->_user = $user;
69
  }
70
+
71
+ /**
72
+ *
73
+ * @return type
74
+ */
75
+ public static function api() {
76
+ return AAM_Core_Gateway::getInstance();
77
+ }
78
 
79
  /**
80
  * Get current user
120
  AAM_Shared_Manager::bootstrap();
121
 
122
  //login control
123
+ if (AAM_Core_Config::get('core.settings.secureLogin', true)) {
124
  AAM_Core_Login::bootstrap();
125
  }
126
 
127
  //JWT Authentication
128
+ if (AAM_Core_Config::get('core.settings.jwtAuthentication', false)) {
129
  AAM_Core_JwtAuth::bootstrap();
130
  }
131
  }
media/js/aam.js CHANGED
@@ -2014,6 +2014,36 @@
2014
  );
2015
  });
2016
  });
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
2017
  }
2018
  }
2019
 
@@ -2959,7 +2989,7 @@
2959
  //referred object ID like post, page or any custom post type
2960
  var object = window.location.search.match(/&oid\=([^&]*)/);
2961
  var type = window.location.search.match(/&otype\=([^&]*)/);
2962
-
2963
  $.ajax(aamLocal.url.site, {
2964
  type: 'POST',
2965
  dataType: 'html',
2014
  );
2015
  });
2016
  });
2017
+
2018
+ // post REDIRECT rules
2019
+ $('#modal-redirect').on('show.bs.modal', function() {
2020
+ $('.post-redirect-action').hide();
2021
+ $('.post-redirect-value').val('');
2022
+ $('.post-redirect-type').prop('checked', false);
2023
+
2024
+ if ($('#post-redirect-rule').val()) {
2025
+ var rule = $('#post-redirect-rule').val().split('|');
2026
+ $('.post-redirect-type[value="' + rule[0] + '"]').prop('checked', true);
2027
+ $('#post-redirect-' + rule[0] + '-action').show();
2028
+ $('#post-redirect-' + rule[0] + '-value').val(rule[1]);
2029
+ }
2030
+ });
2031
+
2032
+ $('.post-redirect-type').each(function() {
2033
+ $(this).bind('click', function() {
2034
+ $('#post-redirect-rule').val($(this).val());
2035
+ $('.post-redirect-action').hide();
2036
+ $('#post-redirect-' + $(this).val() + '-action').show();
2037
+ });
2038
+ });
2039
+
2040
+ $('.post-redirect-value').each(function() {
2041
+ $(this).bind('change', function() {
2042
+ var val = $('#post-redirect-rule').val().split('|');
2043
+ val[1] = $(this).val();
2044
+ $('#post-redirect-rule').val(val.join('|'));
2045
+ });
2046
+ });
2047
  }
2048
  }
2049
 
2989
  //referred object ID like post, page or any custom post type
2990
  var object = window.location.search.match(/&oid\=([^&]*)/);
2991
  var type = window.location.search.match(/&otype\=([^&]*)/);
2992
+
2993
  $.ajax(aamLocal.url.site, {
2994
  type: 'POST',
2995
  dataType: 'html',
readme.txt CHANGED
@@ -3,7 +3,7 @@ Contributors: vasyltech
3
  Tags: access, role, user, capability, page access, post access, content access, comments, security, login redirect, membership, backend lockdown, wp-admin, 404, rest api, xml rpc
4
  Requires at least: 4.0
5
  Tested up to: 4.9.6
6
- Stable tag: 5.3
7
 
8
  The most powerful access management plugin for WordPress websites.
9
 
@@ -66,6 +66,16 @@ https://www.youtube.com/watch?v=yiOhjaacNJc
66
 
67
  == Changelog ==
68
 
 
 
 
 
 
 
 
 
 
 
69
  = 5.3 =
70
  * Fixed the bug with ConfigPress settings when array is defined
71
  * Fixed the bug with jwt authentication
3
  Tags: access, role, user, capability, page access, post access, content access, comments, security, login redirect, membership, backend lockdown, wp-admin, 404, rest api, xml rpc
4
  Requires at least: 4.0
5
  Tested up to: 4.9.6
6
+ Stable tag: 5.3.1
7
 
8
  The most powerful access management plugin for WordPress websites.
9
 
66
 
67
  == Changelog ==
68
 
69
+ = 5.3.1 =
70
+ * Fixed bug with deprecated cache object to keep it backward compatible
71
+ * Fixed bug with teaser message on none latin alphabet
72
+ * Improved REDIRECT functionality for Posts & Terms feature
73
+ * Added finally singe point API (AAM::api method)
74
+ * Added "Single Session" option to the Secure Login widget
75
+ * Added more localization string to the AAM *.po file
76
+ * Standardized AAM core settings names
77
+ * Standardized REST API error codes
78
+
79
  = 5.3 =
80
  * Fixed the bug with ConfigPress settings when array is defined
81
  * Fixed the bug with jwt authentication