Version Description
December 15, 2013 =
Decrease plugin action priority to run after other plugins (Fixes known bug with "CodeFlavours Floating Menu" plugin)
Download this release
Release Info
Developer | brandon.wamboldt |
Plugin | WordPress Access Control |
Version | 4.0.4 |
Comparing to | |
See all releases |
Code changes from version 4.0.3 to 4.0.4
- readme.txt +5 -1
- wordpress-access-control.php +3 -3
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: 3.0
|
6 |
Tested up to: 3.8
|
7 |
-
Stable tag: 4.0.
|
8 |
|
9 |
Restrict pages, posts, custom post types, menus and widgets to members, nonmembers or specific roles and still add to navigation
|
10 |
|
@@ -64,6 +64,10 @@ Yes, this is a new feature in 3.1.3. Use the syntax [members role="administrator
|
|
64 |
|
65 |
== Changelog ==
|
66 |
|
|
|
|
|
|
|
|
|
67 |
= 4.0.3 - December 15, 2013 =
|
68 |
|
69 |
* Fixed default redirect URLs not being used
|
4 |
Tags: members, only, plugin, restricted, access, menus, 3.3, wp_nav_menu, nonmembers
|
5 |
Requires at least: 3.0
|
6 |
Tested up to: 3.8
|
7 |
+
Stable tag: 4.0.4
|
8 |
|
9 |
Restrict pages, posts, custom post types, menus and widgets to members, nonmembers or specific roles and still add to navigation
|
10 |
|
64 |
|
65 |
== Changelog ==
|
66 |
|
67 |
+
= 4.0.4 - December 15, 2013 =
|
68 |
+
|
69 |
+
* Decrease plugin action priority to run after other plugins (Fixes known bug with "CodeFlavours Floating Menu" plugin)
|
70 |
+
|
71 |
= 4.0.3 - December 15, 2013 =
|
72 |
|
73 |
* Fixed default redirect URLs not being used
|
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: 4.0.
|
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 |
|
@@ -27,8 +27,8 @@ add_filter('the_content', array('WordPressAccessControl', 'remove_excerpt'));
|
|
27 |
add_filter('plugin_row_meta', array('WordPressAccessControl', 'plugin_row_meta'), 10, 5);
|
28 |
add_filter('posts_join_paged', array('WordPressAccessControl', 'posts_join_paged'), 10, 2);
|
29 |
add_filter('posts_where_paged', array('WordPressAccessControl', 'posts_where_paged'), 10, 2);
|
30 |
-
add_filter('wp_nav_menu_args', array('WordPressAccessControl', 'wp_nav_menu_members_only'));
|
31 |
-
add_filter('wp_nav_menu_args', array('WordPressAccessControl', 'wp_nav_menu_args'));
|
32 |
add_filter('wp_page_menu_args', array('WordPressAccessControl' , 'wp_page_menu_args'));
|
33 |
|
34 |
add_shortcode('member', array('WordPressAccessControl', 'shortcode_members'));
|
4 |
* Plugin URI: http://brandonwamboldt.ca/plugins/members-only-menu-plugin/
|
5 |
* Author: Brandon Wamboldt
|
6 |
* Author URI: http://brandonwamboldt.ca/
|
7 |
+
* Version: 4.0.4
|
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 |
|
27 |
add_filter('plugin_row_meta', array('WordPressAccessControl', 'plugin_row_meta'), 10, 5);
|
28 |
add_filter('posts_join_paged', array('WordPressAccessControl', 'posts_join_paged'), 10, 2);
|
29 |
add_filter('posts_where_paged', array('WordPressAccessControl', 'posts_where_paged'), 10, 2);
|
30 |
+
add_filter('wp_nav_menu_args', array('WordPressAccessControl', 'wp_nav_menu_members_only'), 99999);
|
31 |
+
add_filter('wp_nav_menu_args', array('WordPressAccessControl', 'wp_nav_menu_args'), 99999);
|
32 |
add_filter('wp_page_menu_args', array('WordPressAccessControl' , 'wp_page_menu_args'));
|
33 |
|
34 |
add_shortcode('member', array('WordPressAccessControl', 'shortcode_members'));
|