Version Description
- Fixed the bug with media access
- Improved UI
Download this release
Release Info
Developer | vasyl_m |
Plugin | Advanced Access Manager |
Version | 4.9.5.1 |
Comparing to | |
See all releases |
Code changes from version 4.9.5 to 4.9.5.1
- Application/Backend/Feature/Post.php +10 -3
- Application/Backend/phtml/extension.phtml +1 -1
- Application/Backend/phtml/index.phtml +22 -34
- Application/Core/Media.php +1 -1
- Application/Extension/Repository.php +2 -2
- aam.php +1 -1
- readme.txt +5 -1
Application/Backend/Feature/Post.php
CHANGED
@@ -116,7 +116,8 @@ class AAM_Backend_Feature_Post extends AAM_Backend_Feature_Abstract {
|
|
116 |
get_edit_post_link($record->ID, 'link'),
|
117 |
'post',
|
118 |
(!empty($record->post_title) ? $record->post_title : 'Reference To: ' . $record->post_name),
|
119 |
-
apply_filters('aam-post-row-actions-filter', 'manage,edit', $record)
|
|
|
120 |
);
|
121 |
} else { //term
|
122 |
$response['data'][] = array(
|
@@ -150,14 +151,20 @@ class AAM_Backend_Feature_Post extends AAM_Backend_Feature_Abstract {
|
|
150 |
//first retrieve all hierarchical terms that belong to Post Type
|
151 |
if ($paging['terms']) {
|
152 |
$list = $this->retrieveTermList(
|
153 |
-
$this->getTypeTaxonomies($type),
|
|
|
|
|
|
|
154 |
);
|
155 |
}
|
156 |
|
157 |
//retrieve all posts
|
158 |
if ($paging['posts']) {
|
159 |
$list = array_merge(
|
160 |
-
$list,
|
|
|
|
|
|
|
161 |
);
|
162 |
}
|
163 |
|
116 |
get_edit_post_link($record->ID, 'link'),
|
117 |
'post',
|
118 |
(!empty($record->post_title) ? $record->post_title : 'Reference To: ' . $record->post_name),
|
119 |
+
apply_filters('aam-post-row-actions-filter', 'manage,edit', $record),
|
120 |
+
//get_post_permalink($record)
|
121 |
);
|
122 |
} else { //term
|
123 |
$response['data'][] = array(
|
151 |
//first retrieve all hierarchical terms that belong to Post Type
|
152 |
if ($paging['terms']) {
|
153 |
$list = $this->retrieveTermList(
|
154 |
+
$this->getTypeTaxonomies($type),
|
155 |
+
$s,
|
156 |
+
$paging['term_offset'],
|
157 |
+
$paging['terms']
|
158 |
);
|
159 |
}
|
160 |
|
161 |
//retrieve all posts
|
162 |
if ($paging['posts']) {
|
163 |
$list = array_merge(
|
164 |
+
$list,
|
165 |
+
$this->retrievePostList(
|
166 |
+
$type, $s, $paging['post_offset'], $paging['posts']
|
167 |
+
)
|
168 |
);
|
169 |
}
|
170 |
|
Application/Backend/phtml/extension.phtml
CHANGED
@@ -44,7 +44,7 @@
|
|
44 |
<tr>
|
45 |
<td>
|
46 |
<span class='aam-setting-title'><?php echo $product['title'], (!empty($product['new']) ? ' <span class="badge">NEW</span> ' : ''), (!empty($product['version']) ? ' <small class="text-muted">v' . $product['version'] . '</small>' : ''); ?></span>
|
47 |
-
<?php if (!empty($product['license']) && $this->canShowLicense()) { ?><small class="aam-license-key"><b>License:</b> <?php echo $product['license'] . (!empty($product['expire']) ? " (
|
48 |
<p class="aam-extension-description">
|
49 |
<?php echo $product['description']; ?>
|
50 |
</p>
|
44 |
<tr>
|
45 |
<td>
|
46 |
<span class='aam-setting-title'><?php echo $product['title'], (!empty($product['new']) ? ' <span class="badge">NEW</span> ' : ''), (!empty($product['version']) ? ' <small class="text-muted">v' . $product['version'] . '</small>' : ''); ?></span>
|
47 |
+
<?php if (!empty($product['license']) && $this->canShowLicense()) { ?><small class="aam-license-key"><b>License:</b> <?php echo $product['license'] . (!empty($product['expire']) ? " (updates expire at {$product['expire']})" : ''); ?></small><?php } ?>
|
48 |
<p class="aam-extension-description">
|
49 |
<?php echo $product['description']; ?>
|
50 |
</p>
|
Application/Backend/phtml/index.phtml
CHANGED
@@ -16,7 +16,7 @@
|
|
16 |
</h3>
|
17 |
<div class="inside" id="access-manager-inside">
|
18 |
<div class="aam-postbox-inside" id="aam-content">
|
19 |
-
<p class="alert alert-info text-larger text-center" id="aam-initial-load"><?php echo AAM_Backend_View_Helper::preparePhrase('[Loading AAM UI]. Please wait few seconds. If content will not load within next 30 seconds, clear your browser cache and reload the page. If still nothing, it is most likely some sort of JavaScript or CSS conflict with one your active plugins or theme.
|
20 |
</div>
|
21 |
<div class="aam-help-context" >
|
22 |
<div class="text-justify aam-large-padding">
|
@@ -52,6 +52,27 @@
|
|
52 |
</div>
|
53 |
<?php } ?>
|
54 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
55 |
<?php if (is_network_admin() && !defined('AAM_MULTISITE')) { ?>
|
56 |
<div class="metabox-holder">
|
57 |
<div class="postbox">
|
@@ -242,39 +263,6 @@
|
|
242 |
</div>
|
243 |
|
244 |
<?php do_action('aam-sidebar-ui-action', 'bottom'); ?>
|
245 |
-
|
246 |
-
<div class="metabox-holder">
|
247 |
-
<div class="postbox">
|
248 |
-
<div class="inside">
|
249 |
-
<div class="aam-social">
|
250 |
-
<a href="https://aamplugin.com/help" title="Help" target="_blank">
|
251 |
-
<i class="icon-help-circled"></i>
|
252 |
-
<span>Help</span>
|
253 |
-
</a>
|
254 |
-
<a href="https://wordpress.org/support/plugin/advanced-access-manager/reviews/" title="Rate Me" target="_blank">
|
255 |
-
<i class="icon-star"></i>
|
256 |
-
<span>Reviews</span>
|
257 |
-
</a>
|
258 |
-
<a target="_blank" href="https://aamplugin.com">
|
259 |
-
<i class="icon-home"></i>
|
260 |
-
<span>Website</span>
|
261 |
-
</a>
|
262 |
-
<a target="_blank" href="mailto:support@aamplugin.com">
|
263 |
-
<i class="icon-mail-alt"></i>
|
264 |
-
<span>Email</span>
|
265 |
-
</a>
|
266 |
-
</div>
|
267 |
-
|
268 |
-
<hr/>
|
269 |
-
|
270 |
-
<div class="text-center">
|
271 |
-
<p class="aam-promo"><strong>NEED HELP FASTER?</strong><br/>Get in touch with Google Hangouts.<br/><b>It is free.</b></p>
|
272 |
-
<a href="mailto:support@aamplugin.com" class="btn btn-success" target="_blank"><i class="icon-chat-empty"></i> support@aamplugin.com</a>
|
273 |
-
</div>
|
274 |
-
</div>
|
275 |
-
</div>
|
276 |
-
</div>
|
277 |
-
|
278 |
</div>
|
279 |
</div>
|
280 |
</div>
|
16 |
</h3>
|
17 |
<div class="inside" id="access-manager-inside">
|
18 |
<div class="aam-postbox-inside" id="aam-content">
|
19 |
+
<p class="alert alert-info text-larger text-center" id="aam-initial-load"><?php echo AAM_Backend_View_Helper::preparePhrase('[Loading AAM UI]. Please wait few seconds. If content will not load within next 30 seconds, clear your browser cache and reload the page. If still nothing, it is most likely some sort of JavaScript or CSS conflict with one your active plugins or theme.', 'strong'); ?></p>
|
20 |
</div>
|
21 |
<div class="aam-help-context" >
|
22 |
<div class="text-justify aam-large-padding">
|
52 |
</div>
|
53 |
<?php } ?>
|
54 |
|
55 |
+
<div class="metabox-holder">
|
56 |
+
<div class="postbox">
|
57 |
+
<div class="inside">
|
58 |
+
<div class="aam-social">
|
59 |
+
<a href="https://aamplugin.com/help" title="Help" target="_blank">
|
60 |
+
<i class="icon-help-circled"></i>
|
61 |
+
<span>Help</span>
|
62 |
+
</a>
|
63 |
+
<a target="_blank" href="mailto:support@aamplugin.com">
|
64 |
+
<i class="icon-mail-alt"></i>
|
65 |
+
<span>Email Us</span>
|
66 |
+
</a>
|
67 |
+
<a href="https://wordpress.org/support/plugin/advanced-access-manager/reviews/" title="Rate Me" target="_blank">
|
68 |
+
<i class="icon-star"></i>
|
69 |
+
<span>Reviews</span>
|
70 |
+
</a>
|
71 |
+
</div>
|
72 |
+
</div>
|
73 |
+
</div>
|
74 |
+
</div>
|
75 |
+
|
76 |
<?php if (is_network_admin() && !defined('AAM_MULTISITE')) { ?>
|
77 |
<div class="metabox-holder">
|
78 |
<div class="postbox">
|
263 |
</div>
|
264 |
|
265 |
<?php do_action('aam-sidebar-ui-action', 'bottom'); ?>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
266 |
</div>
|
267 |
</div>
|
268 |
</div>
|
Application/Core/Media.php
CHANGED
@@ -69,7 +69,7 @@ class AAM_Core_Media {
|
|
69 |
$root = AAM_Core_Request::server('DOCUMENT_ROOT');
|
70 |
|
71 |
$this->request = str_replace('\\', '/', $root . $request);
|
72 |
-
$this->request_uri = $request;
|
73 |
}
|
74 |
|
75 |
/**
|
69 |
$root = AAM_Core_Request::server('DOCUMENT_ROOT');
|
70 |
|
71 |
$this->request = str_replace('\\', '/', $root . $request);
|
72 |
+
$this->request_uri = explode('?', $request)[0];
|
73 |
}
|
74 |
|
75 |
/**
|
Application/Extension/Repository.php
CHANGED
@@ -215,10 +215,10 @@ class AAM_Extension_Repository {
|
|
215 |
// TODO - Fix bug with EXTENDED license
|
216 |
if (!empty($index[$id . '_EXTENDED']['license'])) {
|
217 |
$item['license'] = $index[$id . '_EXTENDED']['license'];
|
218 |
-
$item['expire'] = (isset($index[$id . '_EXTENDED']['expire']) ? $index[$id . '_EXTENDED']['expire'] : null);
|
219 |
} elseif (!empty($index[$id]['license'])) {
|
220 |
$item['license'] = $index[$id]['license'];
|
221 |
-
$item['expire'] = (isset($index[$id]['expire']) ? $index[$id]['expire'] : null);
|
222 |
} else {
|
223 |
$item['license'] = '';
|
224 |
}
|
215 |
// TODO - Fix bug with EXTENDED license
|
216 |
if (!empty($index[$id . '_EXTENDED']['license'])) {
|
217 |
$item['license'] = $index[$id . '_EXTENDED']['license'];
|
218 |
+
$item['expire'] = (isset($index[$id . '_EXTENDED']['expire']) ? date('Y-m-d', strtotime($index[$id . '_EXTENDED']['expire'])) : null);
|
219 |
} elseif (!empty($index[$id]['license'])) {
|
220 |
$item['license'] = $index[$id]['license'];
|
221 |
+
$item['expire'] = (isset($index[$id]['expire']) ? date('Y-m-d', strtotime($index[$id]['expire'])) : null);
|
222 |
} else {
|
223 |
$item['license'] = '';
|
224 |
}
|
aam.php
CHANGED
@@ -3,7 +3,7 @@
|
|
3 |
/**
|
4 |
Plugin Name: Advanced Access Manager
|
5 |
Description: All you need to manage access to your WordPress website
|
6 |
-
Version: 4.9.5
|
7 |
Author: Vasyl Martyniuk <vasyl@vasyltech.com>
|
8 |
Author URI: https://vasyltech.com
|
9 |
|
3 |
/**
|
4 |
Plugin Name: Advanced Access Manager
|
5 |
Description: All you need to manage access to your WordPress website
|
6 |
+
Version: 4.9.5.1
|
7 |
Author: Vasyl Martyniuk <vasyl@vasyltech.com>
|
8 |
Author URI: https://vasyltech.com
|
9 |
|
readme.txt
CHANGED
@@ -3,7 +3,7 @@ Contributors: vasyltech
|
|
3 |
Tags: access, role, user, capability, page access, post access, comments, security, login redirect, brute force attack, double authentication, membership, backend lockdown, wp-admin, 404, activity tracking
|
4 |
Requires at least: 3.8
|
5 |
Tested up to: 4.8.1
|
6 |
-
Stable tag: 4.9.5
|
7 |
|
8 |
Manage access to your website for any user, role or visitors for both frontend and backend.
|
9 |
|
@@ -102,6 +102,10 @@ Check our [help page](https://aamplugin.com/help) to find out more about AAM.
|
|
102 |
|
103 |
== Changelog ==
|
104 |
|
|
|
|
|
|
|
|
|
105 |
= 4.9.5 =
|
106 |
* Improved user experience with AAM UI
|
107 |
* Removed Welcome message
|
3 |
Tags: access, role, user, capability, page access, post access, comments, security, login redirect, brute force attack, double authentication, membership, backend lockdown, wp-admin, 404, activity tracking
|
4 |
Requires at least: 3.8
|
5 |
Tested up to: 4.8.1
|
6 |
+
Stable tag: 4.9.5.1
|
7 |
|
8 |
Manage access to your website for any user, role or visitors for both frontend and backend.
|
9 |
|
102 |
|
103 |
== Changelog ==
|
104 |
|
105 |
+
= 4.9.5.1 =
|
106 |
+
* Fixed the bug with media access
|
107 |
+
* Improved UI
|
108 |
+
|
109 |
= 4.9.5 =
|
110 |
* Improved user experience with AAM UI
|
111 |
* Removed Welcome message
|