Version Description
December 7, 2011 =
Fixed a bug that might cause memory issues
Download this release
Release Info
Developer | brandon.wamboldt |
Plugin | WordPress Access Control |
Version | 3.1.1 |
Comparing to | |
See all releases |
Code changes from version 3.1 to 3.1.1
- documentation/index.html +6 -0
- readme.txt +9 -1
- wordpress-access-control.php +4 -2
documentation/index.html
CHANGED
@@ -288,6 +288,12 @@
|
|
288 |
|
289 |
<h1 id="changelog">I) Changelog - <a href="#toc">top</a></h1>
|
290 |
|
|
|
|
|
|
|
|
|
|
|
|
|
291 |
<p><strong>Version 3.1 - December 7, 2011</strong></p>
|
292 |
|
293 |
<ul>
|
288 |
|
289 |
<h1 id="changelog">I) Changelog - <a href="#toc">top</a></h1>
|
290 |
|
291 |
+
<p><strong>Version 3.1.1 - December 7, 2011</strong></p>
|
292 |
+
|
293 |
+
<ul>
|
294 |
+
<li>Fixed a bug that might cause memory issues</li>
|
295 |
+
</ul>
|
296 |
+
|
297 |
<p><strong>Version 3.1 - December 7, 2011</strong></p>
|
298 |
|
299 |
<ul>
|
readme.txt
CHANGED
@@ -4,7 +4,7 @@ Donate link: https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_i
|
|
4 |
Tags: members, only, plugin, restricted, access, menus, 3.3, wp_nav_menu, nonmembers
|
5 |
Requires at least: 2.9
|
6 |
Tested up to: 3.3
|
7 |
-
Stable tag: 3.1
|
8 |
|
9 |
Restrict pages, posts, custom post types, menus and widgets to members, nonmembers or specific roles and still add to navigation
|
10 |
|
@@ -57,6 +57,10 @@ Please leave a comment at http://brandonwamboldt.ca/plugins/members-only-menu-pl
|
|
57 |
|
58 |
== Changelog ==
|
59 |
|
|
|
|
|
|
|
|
|
60 |
= 3.1 - December 7, 2011 =
|
61 |
|
62 |
* Custom Post Type section is no longer displayed on the options page if there are no custom post types
|
@@ -144,6 +148,10 @@ Please leave a comment at http://brandonwamboldt.ca/plugins/members-only-menu-pl
|
|
144 |
|
145 |
== Upgrade Notice ==
|
146 |
|
|
|
|
|
|
|
|
|
147 |
= 3.1 =
|
148 |
|
149 |
* Custom Post Type section is no longer displayed on the options page if there are no custom post types
|
4 |
Tags: members, only, plugin, restricted, access, menus, 3.3, wp_nav_menu, nonmembers
|
5 |
Requires at least: 2.9
|
6 |
Tested up to: 3.3
|
7 |
+
Stable tag: 3.1.1
|
8 |
|
9 |
Restrict pages, posts, custom post types, menus and widgets to members, nonmembers or specific roles and still add to navigation
|
10 |
|
57 |
|
58 |
== Changelog ==
|
59 |
|
60 |
+
= 3.1.1 - December 7, 2011 =
|
61 |
+
|
62 |
+
* Fixed a bug that might cause memory issues
|
63 |
+
|
64 |
= 3.1 - December 7, 2011 =
|
65 |
|
66 |
* Custom Post Type section is no longer displayed on the options page if there are no custom post types
|
148 |
|
149 |
== Upgrade Notice ==
|
150 |
|
151 |
+
= 3.1.1 - December 7, 2011 =
|
152 |
+
|
153 |
+
* Fixed a bug that might cause memory issues
|
154 |
+
|
155 |
= 3.1 =
|
156 |
|
157 |
* Custom Post Type section is no longer displayed on the options page if there are no custom post types
|
wordpress-access-control.php
CHANGED
@@ -4,7 +4,7 @@
|
|
4 |
* Plugin URI: http://brandonwamboldt.ca/plugins/members-only-menu-plugin/
|
5 |
* Author: Brandon Wamboldt
|
6 |
* Author URI: http://brandonwamboldt.ca/
|
7 |
-
* Version: 3.1
|
8 |
* Description: This plugin is a powerful tool which gives you fine grained control over your pages and posts (and custom post types), allowing you to restrict a page, post, or custom post type to members, non-members, or even specific roles. You can customize how these pages and posts show up in search results, where users are directed when they visit them, and much more. <strong>You can even make your entire blog members only!</strong>.
|
9 |
*/
|
10 |
|
@@ -886,7 +886,9 @@ class WordPressAccessControl
|
|
886 |
{
|
887 |
global $_wp_registered_nav_menus;
|
888 |
|
889 |
-
|
|
|
|
|
890 |
$_wp_registered_nav_menus[$location . '_wpac'] = $label . ' - Members Only';
|
891 |
}
|
892 |
}
|
4 |
* Plugin URI: http://brandonwamboldt.ca/plugins/members-only-menu-plugin/
|
5 |
* Author: Brandon Wamboldt
|
6 |
* Author URI: http://brandonwamboldt.ca/
|
7 |
+
* Version: 3.1.1
|
8 |
* Description: This plugin is a powerful tool which gives you fine grained control over your pages and posts (and custom post types), allowing you to restrict a page, post, or custom post type to members, non-members, or even specific roles. You can customize how these pages and posts show up in search results, where users are directed when they visit them, and much more. <strong>You can even make your entire blog members only!</strong>.
|
9 |
*/
|
10 |
|
886 |
{
|
887 |
global $_wp_registered_nav_menus;
|
888 |
|
889 |
+
$original = $_wp_registered_nav_menus;
|
890 |
+
|
891 |
+
foreach ( $original as $location => $label ) {
|
892 |
$_wp_registered_nav_menus[$location . '_wpac'] = $label . ' - Members Only';
|
893 |
}
|
894 |
}
|