Members - Version 1.1.1

Version Description

Download this release

Release Info

Developer greenshady
Plugin Icon 128x128 Members
Version 1.1.1
Comparing to
See all releases

Code changes from version 1.1.0 to 1.1.1

admin/class-cap-control.php CHANGED
@@ -5,7 +5,7 @@
5
  * @package Members
6
  * @subpackage Admin
7
  * @author Justin Tadlock <justin@justintadlock.com>
8
- * @copyright Copyright (c) 2009 - 2015, Justin Tadlock
9
  * @link http://themehybrid.com/plugins/members
10
  * @license http://www.gnu.org/licenses/old-licenses/gpl-2.0.html
11
  */
5
  * @package Members
6
  * @subpackage Admin
7
  * @author Justin Tadlock <justin@justintadlock.com>
8
+ * @copyright Copyright (c) 2009 - 2016, Justin Tadlock
9
  * @link http://themehybrid.com/plugins/members
10
  * @license http://www.gnu.org/licenses/old-licenses/gpl-2.0.html
11
  */
admin/class-cap-group-factory.php CHANGED
@@ -5,7 +5,7 @@
5
  * @package Members
6
  * @subpackage Admin
7
  * @author Justin Tadlock <justin@justintadlock.com>
8
- * @copyright Copyright (c) 2009 - 2015, Justin Tadlock
9
  * @link http://themehybrid.com/plugins/members
10
  * @license http://www.gnu.org/licenses/old-licenses/gpl-2.0.html
11
  */
@@ -66,7 +66,7 @@ final class Members_Cap_Group_Factory {
66
  */
67
  public function unregister_group( $name ) {
68
 
69
- if ( $this->group_exists( $name ) && false === $this->get( $name )->_internal )
70
  unset( $this->groups[ $name ] );
71
  }
72
 
5
  * @package Members
6
  * @subpackage Admin
7
  * @author Justin Tadlock <justin@justintadlock.com>
8
+ * @copyright Copyright (c) 2009 - 2016, Justin Tadlock
9
  * @link http://themehybrid.com/plugins/members
10
  * @license http://www.gnu.org/licenses/old-licenses/gpl-2.0.html
11
  */
66
  */
67
  public function unregister_group( $name ) {
68
 
69
+ if ( $this->group_exists( $name ) )
70
  unset( $this->groups[ $name ] );
71
  }
72
 
admin/class-cap-group.php CHANGED
@@ -5,7 +5,7 @@
5
  * @package Members
6
  * @subpackage Admin
7
  * @author Justin Tadlock <justin@justintadlock.com>
8
- * @copyright Copyright (c) 2009 - 2015, Justin Tadlock
9
  * @link http://themehybrid.com/plugins/members
10
  * @license http://www.gnu.org/licenses/old-licenses/gpl-2.0.html
11
  */
5
  * @package Members
6
  * @subpackage Admin
7
  * @author Justin Tadlock <justin@justintadlock.com>
8
+ * @copyright Copyright (c) 2009 - 2016, Justin Tadlock
9
  * @link http://themehybrid.com/plugins/members
10
  * @license http://www.gnu.org/licenses/old-licenses/gpl-2.0.html
11
  */
admin/class-cap-section.php CHANGED
@@ -5,7 +5,7 @@
5
  * @package Members
6
  * @subpackage Admin
7
  * @author Justin Tadlock <justin@justintadlock.com>
8
- * @copyright Copyright (c) 2009 - 2015, Justin Tadlock
9
  * @link http://themehybrid.com/plugins/members
10
  * @license http://www.gnu.org/licenses/old-licenses/gpl-2.0.html
11
  */
5
  * @package Members
6
  * @subpackage Admin
7
  * @author Justin Tadlock <justin@justintadlock.com>
8
+ * @copyright Copyright (c) 2009 - 2016, Justin Tadlock
9
  * @link http://themehybrid.com/plugins/members
10
  * @license http://www.gnu.org/licenses/old-licenses/gpl-2.0.html
11
  */
admin/class-cap-tabs.php CHANGED
@@ -5,7 +5,7 @@
5
  * @package Members
6
  * @subpackage Admin
7
  * @author Justin Tadlock <justin@justintadlock.com>
8
- * @copyright Copyright (c) 2009 - 2015, Justin Tadlock
9
  * @link http://themehybrid.com/plugins/members
10
  * @license http://www.gnu.org/licenses/old-licenses/gpl-2.0.html
11
  */
5
  * @package Members
6
  * @subpackage Admin
7
  * @author Justin Tadlock <justin@justintadlock.com>
8
+ * @copyright Copyright (c) 2009 - 2016, Justin Tadlock
9
  * @link http://themehybrid.com/plugins/members
10
  * @license http://www.gnu.org/licenses/old-licenses/gpl-2.0.html
11
  */
admin/class-manage-roles.php CHANGED
@@ -5,7 +5,7 @@
5
  * @package Members
6
  * @subpackage Admin
7
  * @author Justin Tadlock <justin@justintadlock.com>
8
- * @copyright Copyright (c) 2009 - 2015, Justin Tadlock
9
  * @link http://themehybrid.com/plugins/members
10
  * @license http://www.gnu.org/licenses/old-licenses/gpl-2.0.html
11
  */
5
  * @package Members
6
  * @subpackage Admin
7
  * @author Justin Tadlock <justin@justintadlock.com>
8
+ * @copyright Copyright (c) 2009 - 2016, Justin Tadlock
9
  * @link http://themehybrid.com/plugins/members
10
  * @license http://www.gnu.org/licenses/old-licenses/gpl-2.0.html
11
  */
admin/class-meta-box-content-permissions.php CHANGED
@@ -5,7 +5,7 @@
5
  * @package Members
6
  * @subpackage Admin
7
  * @author Justin Tadlock <justin@justintadlock.com>
8
- * @copyright Copyright (c) 2009 - 2015, Justin Tadlock
9
  * @link http://themehybrid.com/plugins/members
10
  * @license http://www.gnu.org/licenses/old-licenses/gpl-2.0.html
11
  */
@@ -153,9 +153,9 @@ final class Members_Meta_Box_Content_Permissions {
153
  </p>
154
 
155
  <p>
156
- <label for="members_access_error"><?php esc_html_e( 'Custom error messsage:', 'members' ); ?></label>
157
  <textarea class="widefat" id="members_access_error" name="members_access_error" rows="6"><?php echo esc_textarea( get_post_meta( $post->ID, '_members_access_error', true ) ); ?></textarea>
158
- <span class="howto"><?php _e( 'Message shown to users that do no have permission to view the post.', 'members' ); ?></span>
159
  </p><?php
160
 
161
  // Hook that fires at the end of the meta box.
5
  * @package Members
6
  * @subpackage Admin
7
  * @author Justin Tadlock <justin@justintadlock.com>
8
+ * @copyright Copyright (c) 2009 - 2016, Justin Tadlock
9
  * @link http://themehybrid.com/plugins/members
10
  * @license http://www.gnu.org/licenses/old-licenses/gpl-2.0.html
11
  */
153
  </p>
154
 
155
  <p>
156
+ <label for="members_access_error"><?php esc_html_e( 'Custom error message:', 'members' ); ?></label>
157
  <textarea class="widefat" id="members_access_error" name="members_access_error" rows="6"><?php echo esc_textarea( get_post_meta( $post->ID, '_members_access_error', true ) ); ?></textarea>
158
+ <span class="howto"><?php _e( 'Message shown to users that do not have permission to view the post.', 'members' ); ?></span>
159
  </p><?php
160
 
161
  // Hook that fires at the end of the meta box.
admin/class-meta-box-custom-cap.php CHANGED
@@ -5,7 +5,7 @@
5
  * @package Members
6
  * @subpackage Admin
7
  * @author Justin Tadlock <justin@justintadlock.com>
8
- * @copyright Copyright (c) 2009 - 2015, Justin Tadlock
9
  * @link http://themehybrid.com/plugins/members
10
  * @license http://www.gnu.org/licenses/old-licenses/gpl-2.0.html
11
  */
5
  * @package Members
6
  * @subpackage Admin
7
  * @author Justin Tadlock <justin@justintadlock.com>
8
+ * @copyright Copyright (c) 2009 - 2016, Justin Tadlock
9
  * @link http://themehybrid.com/plugins/members
10
  * @license http://www.gnu.org/licenses/old-licenses/gpl-2.0.html
11
  */
admin/class-meta-box-publish-role.php CHANGED
@@ -5,7 +5,7 @@
5
  * @package Members
6
  * @subpackage Admin
7
  * @author Justin Tadlock <justin@justintadlock.com>
8
- * @copyright Copyright (c) 2009 - 2015, Justin Tadlock
9
  * @link http://themehybrid.com/plugins/members
10
  * @license http://www.gnu.org/licenses/old-licenses/gpl-2.0.html
11
  */
5
  * @package Members
6
  * @subpackage Admin
7
  * @author Justin Tadlock <justin@justintadlock.com>
8
+ * @copyright Copyright (c) 2009 - 2016, Justin Tadlock
9
  * @link http://themehybrid.com/plugins/members
10
  * @license http://www.gnu.org/licenses/old-licenses/gpl-2.0.html
11
  */
admin/class-role-edit.php CHANGED
@@ -5,7 +5,7 @@
5
  * @package Members
6
  * @subpackage Admin
7
  * @author Justin Tadlock <justin@justintadlock.com>
8
- * @copyright Copyright (c) 2009 - 2015, Justin Tadlock
9
  * @link http://themehybrid.com/plugins/members
10
  * @license http://www.gnu.org/licenses/old-licenses/gpl-2.0.html
11
  */
5
  * @package Members
6
  * @subpackage Admin
7
  * @author Justin Tadlock <justin@justintadlock.com>
8
+ * @copyright Copyright (c) 2009 - 2016, Justin Tadlock
9
  * @link http://themehybrid.com/plugins/members
10
  * @license http://www.gnu.org/licenses/old-licenses/gpl-2.0.html
11
  */
admin/class-role-group-factory.php CHANGED
@@ -5,7 +5,7 @@
5
  * @package Members
6
  * @subpackage Admin
7
  * @author Justin Tadlock <justin@justintadlock.com>
8
- * @copyright Copyright (c) 2009 - 2015, Justin Tadlock
9
  * @link http://themehybrid.com/plugins/members
10
  * @license http://www.gnu.org/licenses/old-licenses/gpl-2.0.html
11
  */
5
  * @package Members
6
  * @subpackage Admin
7
  * @author Justin Tadlock <justin@justintadlock.com>
8
+ * @copyright Copyright (c) 2009 - 2016, Justin Tadlock
9
  * @link http://themehybrid.com/plugins/members
10
  * @license http://www.gnu.org/licenses/old-licenses/gpl-2.0.html
11
  */
admin/class-role-group.php CHANGED
@@ -5,7 +5,7 @@
5
  * @package Members
6
  * @subpackage Admin
7
  * @author Justin Tadlock <justin@justintadlock.com>
8
- * @copyright Copyright (c) 2009 - 2015, Justin Tadlock
9
  * @link http://themehybrid.com/plugins/members
10
  * @license http://www.gnu.org/licenses/old-licenses/gpl-2.0.html
11
  */
5
  * @package Members
6
  * @subpackage Admin
7
  * @author Justin Tadlock <justin@justintadlock.com>
8
+ * @copyright Copyright (c) 2009 - 2016, Justin Tadlock
9
  * @link http://themehybrid.com/plugins/members
10
  * @license http://www.gnu.org/licenses/old-licenses/gpl-2.0.html
11
  */
admin/class-role-list-table.php CHANGED
@@ -5,7 +5,7 @@
5
  * @package Members
6
  * @subpackage Admin
7
  * @author Justin Tadlock <justin@justintadlock.com>
8
- * @copyright Copyright (c) 2009 - 2015, Justin Tadlock
9
  * @link http://themehybrid.com/plugins/members
10
  * @license http://www.gnu.org/licenses/old-licenses/gpl-2.0.html
11
  */
5
  * @package Members
6
  * @subpackage Admin
7
  * @author Justin Tadlock <justin@justintadlock.com>
8
+ * @copyright Copyright (c) 2009 - 2016, Justin Tadlock
9
  * @link http://themehybrid.com/plugins/members
10
  * @license http://www.gnu.org/licenses/old-licenses/gpl-2.0.html
11
  */
admin/class-role-new.php CHANGED
@@ -5,7 +5,7 @@
5
  * @package Members
6
  * @subpackage Admin
7
  * @author Justin Tadlock <justin@justintadlock.com>
8
- * @copyright Copyright (c) 2009 - 2015, Justin Tadlock
9
  * @link http://themehybrid.com/plugins/members
10
  * @license http://www.gnu.org/licenses/old-licenses/gpl-2.0.html
11
  */
5
  * @package Members
6
  * @subpackage Admin
7
  * @author Justin Tadlock <justin@justintadlock.com>
8
+ * @copyright Copyright (c) 2009 - 2016, Justin Tadlock
9
  * @link http://themehybrid.com/plugins/members
10
  * @license http://www.gnu.org/licenses/old-licenses/gpl-2.0.html
11
  */
admin/class-roles.php CHANGED
@@ -5,7 +5,7 @@
5
  * @package Members
6
  * @subpackage Admin
7
  * @author Justin Tadlock <justin@justintadlock.com>
8
- * @copyright Copyright (c) 2009 - 2015, Justin Tadlock
9
  * @link http://themehybrid.com/plugins/members
10
  * @license http://www.gnu.org/licenses/old-licenses/gpl-2.0.html
11
  */
5
  * @package Members
6
  * @subpackage Admin
7
  * @author Justin Tadlock <justin@justintadlock.com>
8
+ * @copyright Copyright (c) 2009 - 2016, Justin Tadlock
9
  * @link http://themehybrid.com/plugins/members
10
  * @license http://www.gnu.org/licenses/old-licenses/gpl-2.0.html
11
  */
admin/class-settings.php CHANGED
@@ -5,7 +5,7 @@
5
  * @package Members
6
  * @subpackage Admin
7
  * @author Justin Tadlock <justin@justintadlock.com>
8
- * @copyright Copyright (c) 2009 - 2015, Justin Tadlock
9
  * @link http://themehybrid.com/plugins/members
10
  * @license http://www.gnu.org/licenses/old-licenses/gpl-2.0.html
11
  */
5
  * @package Members
6
  * @subpackage Admin
7
  * @author Justin Tadlock <justin@justintadlock.com>
8
+ * @copyright Copyright (c) 2009 - 2016, Justin Tadlock
9
  * @link http://themehybrid.com/plugins/members
10
  * @license http://www.gnu.org/licenses/old-licenses/gpl-2.0.html
11
  */
admin/class-user-edit.php CHANGED
@@ -5,7 +5,7 @@
5
  * @package Members
6
  * @subpackage Admin
7
  * @author Justin Tadlock <justin@justintadlock.com>
8
- * @copyright Copyright (c) 2009 - 2015, Justin Tadlock
9
  * @link http://themehybrid.com/plugins/members
10
  * @license http://www.gnu.org/licenses/old-licenses/gpl-2.0.html
11
  */
@@ -84,7 +84,7 @@ final class Members_Admin_User_Edit {
84
 
85
  wp_nonce_field( 'new_user_roles', 'members_new_user_roles_nonce' ); ?>
86
 
87
- <h3><?php esc_html_e( 'Roles', 'message-board' ); ?></h3>
88
 
89
  <table class="form-table">
90
 
5
  * @package Members
6
  * @subpackage Admin
7
  * @author Justin Tadlock <justin@justintadlock.com>
8
+ * @copyright Copyright (c) 2009 - 2016, Justin Tadlock
9
  * @link http://themehybrid.com/plugins/members
10
  * @license http://www.gnu.org/licenses/old-licenses/gpl-2.0.html
11
  */
84
 
85
  wp_nonce_field( 'new_user_roles', 'members_new_user_roles_nonce' ); ?>
86
 
87
+ <h3><?php esc_html_e( 'Roles', 'members' ); ?></h3>
88
 
89
  <table class="form-table">
90
 
admin/functions-admin.php CHANGED
@@ -5,7 +5,7 @@
5
  * @package Members
6
  * @subpackage Admin
7
  * @author Justin Tadlock <justin@justintadlock.com>
8
- * @copyright Copyright (c) 2009 - 2015, Justin Tadlock
9
  * @link http://themehybrid.com/plugins/members
10
  * @license http://www.gnu.org/licenses/old-licenses/gpl-2.0.html
11
  */
5
  * @package Members
6
  * @subpackage Admin
7
  * @author Justin Tadlock <justin@justintadlock.com>
8
+ * @copyright Copyright (c) 2009 - 2016, Justin Tadlock
9
  * @link http://themehybrid.com/plugins/members
10
  * @license http://www.gnu.org/licenses/old-licenses/gpl-2.0.html
11
  */
admin/functions-cap-groups.php CHANGED
@@ -5,7 +5,7 @@
5
  * @package Members
6
  * @subpackage Admin
7
  * @author Justin Tadlock <justin@justintadlock.com>
8
- * @copyright Copyright (c) 2009 - 2015, Justin Tadlock
9
  * @link http://themehybrid.com/plugins/members
10
  * @license http://www.gnu.org/licenses/old-licenses/gpl-2.0.html
11
  */
5
  * @package Members
6
  * @subpackage Admin
7
  * @author Justin Tadlock <justin@justintadlock.com>
8
+ * @copyright Copyright (c) 2009 - 2016, Justin Tadlock
9
  * @link http://themehybrid.com/plugins/members
10
  * @license http://www.gnu.org/licenses/old-licenses/gpl-2.0.html
11
  */
admin/functions-help.php CHANGED
@@ -5,7 +5,7 @@
5
  * @package Members
6
  * @subpackage Admin
7
  * @author Justin Tadlock <justin@justintadlock.com>
8
- * @copyright Copyright (c) 2009 - 2015, Justin Tadlock
9
  * @link http://themehybrid.com/plugins/members
10
  * @license http://www.gnu.org/licenses/old-licenses/gpl-2.0.html
11
  */
5
  * @package Members
6
  * @subpackage Admin
7
  * @author Justin Tadlock <justin@justintadlock.com>
8
+ * @copyright Copyright (c) 2009 - 2016, Justin Tadlock
9
  * @link http://themehybrid.com/plugins/members
10
  * @license http://www.gnu.org/licenses/old-licenses/gpl-2.0.html
11
  */
admin/functions-role-groups.php CHANGED
@@ -5,7 +5,7 @@
5
  * @package Members
6
  * @subpackage Admin
7
  * @author Justin Tadlock <justin@justintadlock.com>
8
- * @copyright Copyright (c) 2009 - 2015, Justin Tadlock
9
  * @link http://themehybrid.com/plugins/members
10
  * @license http://www.gnu.org/licenses/old-licenses/gpl-2.0.html
11
  */
5
  * @package Members
6
  * @subpackage Admin
7
  * @author Justin Tadlock <justin@justintadlock.com>
8
+ * @copyright Copyright (c) 2009 - 2016, Justin Tadlock
9
  * @link http://themehybrid.com/plugins/members
10
  * @license http://www.gnu.org/licenses/old-licenses/gpl-2.0.html
11
  */
admin/tmpl/cap-control.php CHANGED
@@ -5,7 +5,7 @@
5
  * @package Members
6
  * @subpackage Admin
7
  * @author Justin Tadlock <justin@justintadlock.com>
8
- * @copyright Copyright (c) 2009 - 2015, Justin Tadlock
9
  * @link http://themehybrid.com/plugins/members
10
  * @license http://www.gnu.org/licenses/old-licenses/gpl-2.0.html
11
  */
5
  * @package Members
6
  * @subpackage Admin
7
  * @author Justin Tadlock <justin@justintadlock.com>
8
+ * @copyright Copyright (c) 2009 - 2016, Justin Tadlock
9
  * @link http://themehybrid.com/plugins/members
10
  * @license http://www.gnu.org/licenses/old-licenses/gpl-2.0.html
11
  */
admin/tmpl/cap-section.php CHANGED
@@ -5,7 +5,7 @@
5
  * @package Members
6
  * @subpackage Admin
7
  * @author Justin Tadlock <justin@justintadlock.com>
8
- * @copyright Copyright (c) 2009 - 2015, Justin Tadlock
9
  * @link http://themehybrid.com/plugins/members
10
  * @license http://www.gnu.org/licenses/old-licenses/gpl-2.0.html
11
  */
5
  * @package Members
6
  * @subpackage Admin
7
  * @author Justin Tadlock <justin@justintadlock.com>
8
+ * @copyright Copyright (c) 2009 - 2016, Justin Tadlock
9
  * @link http://themehybrid.com/plugins/members
10
  * @license http://www.gnu.org/licenses/old-licenses/gpl-2.0.html
11
  */
changelog.md CHANGED
@@ -1,5 +1,19 @@
1
  # Change Log
2
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
3
  ## [1.1.0] - 2015-10-12
4
 
5
  ### Added
@@ -145,4 +159,4 @@
145
 
146
  ## [0.1.0]
147
 
148
- * Plugin launch. Everything's new!
1
  # Change Log
2
 
3
+ ## [1.1.1] - 2016-01-09
4
+
5
+ ### Changed
6
+
7
+ * Allows a hyphen in role names. Alphanumeric characters, underscores, and hyphens now allowed.
8
+
9
+ ### Fixed
10
+
11
+ * Don't escaped allowed HTML in the login widget textarea.
12
+ * When filter `user_has_cap`, check that the role is not null.
13
+ * Remove broken property check when unregistering a cap group.
14
+ * Typo corrections in the Content Permissions meta box.
15
+ * Changed an incorrect textdomain instance.
16
+
17
  ## [1.1.0] - 2015-10-12
18
 
19
  ### Added
159
 
160
  ## [0.1.0]
161
 
162
+ * Plugin launch. Everything's new!
inc/class-role-factory.php CHANGED
@@ -6,7 +6,7 @@
6
  * @package Members
7
  * @subpackage Includes
8
  * @author Justin Tadlock <justin@justintadlock.com>
9
- * @copyright Copyright (c) 2009 - 2015, Justin Tadlock
10
  * @link http://themehybrid.com/plugins/members
11
  * @license http://www.gnu.org/licenses/old-licenses/gpl-2.0.html
12
  */
6
  * @package Members
7
  * @subpackage Includes
8
  * @author Justin Tadlock <justin@justintadlock.com>
9
+ * @copyright Copyright (c) 2009 - 2016, Justin Tadlock
10
  * @link http://themehybrid.com/plugins/members
11
  * @license http://www.gnu.org/licenses/old-licenses/gpl-2.0.html
12
  */
inc/class-role.php CHANGED
@@ -6,7 +6,7 @@
6
  * @package Members
7
  * @subpackage Includes
8
  * @author Justin Tadlock <justin@justintadlock.com>
9
- * @copyright Copyright (c) 2009 - 2015, Justin Tadlock
10
  * @link http://themehybrid.com/plugins/members
11
  * @license http://www.gnu.org/licenses/old-licenses/gpl-2.0.html
12
  */
6
  * @package Members
7
  * @subpackage Includes
8
  * @author Justin Tadlock <justin@justintadlock.com>
9
+ * @copyright Copyright (c) 2009 - 2016, Justin Tadlock
10
  * @link http://themehybrid.com/plugins/members
11
  * @license http://www.gnu.org/licenses/old-licenses/gpl-2.0.html
12
  */
inc/class-widget-login.php CHANGED
@@ -5,7 +5,7 @@
5
  * @package Members
6
  * @subpackage Includes
7
  * @author Justin Tadlock <justin@justintadlock.com>
8
- * @copyright Copyright (c) 2009 - 2015, Justin Tadlock
9
  * @link http://themehybrid.com/plugins/members
10
  * @license http://www.gnu.org/licenses/old-licenses/gpl-2.0.html
11
  */
@@ -181,8 +181,8 @@ class Members_Widget_Login extends WP_Widget {
181
  $instance['logged_in_text'] = $new_instance['logged_in_text'];
182
  $instance['logged_out_text'] = $new_instance['logged_out_text'];
183
  } else {
184
- $instance['logged_in_text'] = wp_filter_post_kses( $new_instance['logged_in_text'] );
185
- $instance['logged_out_text'] = wp_filter_post_kses( $new_instance['logged_out_text'] );
186
  }
187
 
188
  return $instance;
@@ -199,10 +199,7 @@ class Members_Widget_Login extends WP_Widget {
199
  function form( $instance ) {
200
 
201
  // Merge the user-selected arguments with the defaults.
202
- $instance = wp_parse_args( (array) $instance, $this->defaults );
203
-
204
- $logged_in_text = format_to_edit( $instance['logged_in_text'] );
205
- $logged_out_text = format_to_edit( $instance['logged_out_text'] ); ?>
206
 
207
  <div style="float: left; width: 31%; margin-right: 3.5%;">
208
 
@@ -275,12 +272,12 @@ class Members_Widget_Login extends WP_Widget {
275
  </p>
276
  <p>
277
  <label for="<?php echo $this->get_field_id( 'logged_out_text' ); ?>"><?php _e( 'Logged out text:', 'members' ); ?></label>
278
- <textarea class="widefat" rows="4" cols="20" id="<?php echo $this->get_field_id( 'logged_out_text' ); ?>" name="<?php echo $this->get_field_name( 'logged_out_text' ); ?>" style="width:100%;"><?php echo esc_textarea( $logged_out_text ); ?></textarea>
279
  </p>
280
 
281
  <p>
282
  <label for="<?php echo $this->get_field_id( 'logged_in_text' ); ?>"><?php _e( 'Logged in text:', 'members' ); ?></label>
283
- <textarea class="widefat" rows="4" cols="20" id="<?php echo $this->get_field_id( 'logged_in_text' ); ?>" name="<?php echo $this->get_field_name( 'logged_in_text' ); ?>" style="width:100%;"><?php echo esc_textarea( $logged_in_text ); ?></textarea>
284
  </p>
285
 
286
  </div>
5
  * @package Members
6
  * @subpackage Includes
7
  * @author Justin Tadlock <justin@justintadlock.com>
8
+ * @copyright Copyright (c) 2009 - 2016, Justin Tadlock
9
  * @link http://themehybrid.com/plugins/members
10
  * @license http://www.gnu.org/licenses/old-licenses/gpl-2.0.html
11
  */
181
  $instance['logged_in_text'] = $new_instance['logged_in_text'];
182
  $instance['logged_out_text'] = $new_instance['logged_out_text'];
183
  } else {
184
+ $instance['logged_in_text'] = wp_kses_post( stripslashes( $new_instance['logged_in_text'] ) );
185
+ $instance['logged_out_text'] = wp_kses_post( stripslashes( $new_instance['logged_out_text'] ) );
186
  }
187
 
188
  return $instance;
199
  function form( $instance ) {
200
 
201
  // Merge the user-selected arguments with the defaults.
202
+ $instance = wp_parse_args( (array) $instance, $this->defaults ); ?>
 
 
 
203
 
204
  <div style="float: left; width: 31%; margin-right: 3.5%;">
205
 
272
  </p>
273
  <p>
274
  <label for="<?php echo $this->get_field_id( 'logged_out_text' ); ?>"><?php _e( 'Logged out text:', 'members' ); ?></label>
275
+ <textarea class="widefat" rows="4" cols="20" id="<?php echo $this->get_field_id( 'logged_out_text' ); ?>" name="<?php echo $this->get_field_name( 'logged_out_text' ); ?>" style="width:100%;"><?php echo esc_textarea( $instance['logged_out_text'] ); ?></textarea>
276
  </p>
277
 
278
  <p>
279
  <label for="<?php echo $this->get_field_id( 'logged_in_text' ); ?>"><?php _e( 'Logged in text:', 'members' ); ?></label>
280
+ <textarea class="widefat" rows="4" cols="20" id="<?php echo $this->get_field_id( 'logged_in_text' ); ?>" name="<?php echo $this->get_field_name( 'logged_in_text' ); ?>" style="width:100%;"><?php echo esc_textarea( $instance['logged_in_text'] ); ?></textarea>
281
  </p>
282
 
283
  </div>
inc/class-widget-users.php CHANGED
@@ -5,7 +5,7 @@
5
  * @package Members
6
  * @subpackage Includes
7
  * @author Justin Tadlock <justin@justintadlock.com>
8
- * @copyright Copyright (c) 2009 - 2015, Justin Tadlock
9
  * @link http://themehybrid.com/plugins/members
10
  * @license http://www.gnu.org/licenses/old-licenses/gpl-2.0.html
11
  */
5
  * @package Members
6
  * @subpackage Includes
7
  * @author Justin Tadlock <justin@justintadlock.com>
8
+ * @copyright Copyright (c) 2009 - 2016, Justin Tadlock
9
  * @link http://themehybrid.com/plugins/members
10
  * @license http://www.gnu.org/licenses/old-licenses/gpl-2.0.html
11
  */
inc/functions-admin-bar.php CHANGED
@@ -5,7 +5,7 @@
5
  * @package Members
6
  * @subpackage Includes
7
  * @author Justin Tadlock <justin@justintadlock.com>
8
- * @copyright Copyright (c) 2009 - 2015, Justin Tadlock
9
  * @link http://themehybrid.com/plugins/members
10
  * @license http://www.gnu.org/licenses/old-licenses/gpl-2.0.html
11
  */
5
  * @package Members
6
  * @subpackage Includes
7
  * @author Justin Tadlock <justin@justintadlock.com>
8
+ * @copyright Copyright (c) 2009 - 2016, Justin Tadlock
9
  * @link http://themehybrid.com/plugins/members
10
  * @license http://www.gnu.org/licenses/old-licenses/gpl-2.0.html
11
  */
inc/functions-capabilities.php CHANGED
@@ -5,7 +5,7 @@
5
  * @package Members
6
  * @subpackage Includes
7
  * @author Justin Tadlock <justin@justintadlock.com>
8
- * @copyright Copyright (c) 2009 - 2015, Justin Tadlock
9
  * @link http://themehybrid.com/plugins/members
10
  * @license http://www.gnu.org/licenses/old-licenses/gpl-2.0.html
11
  */
5
  * @package Members
6
  * @subpackage Includes
7
  * @author Justin Tadlock <justin@justintadlock.com>
8
+ * @copyright Copyright (c) 2009 - 2016, Justin Tadlock
9
  * @link http://themehybrid.com/plugins/members
10
  * @license http://www.gnu.org/licenses/old-licenses/gpl-2.0.html
11
  */
inc/functions-deprecated.php CHANGED
@@ -5,7 +5,7 @@
5
  * @package Members
6
  * @subpackage Includes
7
  * @author Justin Tadlock <justin@justintadlock.com>
8
- * @copyright Copyright (c) 2009 - 2015, Justin Tadlock
9
  * @link http://themehybrid.com/plugins/members
10
  * @license http://www.gnu.org/licenses/old-licenses/gpl-2.0.html
11
  */
5
  * @package Members
6
  * @subpackage Includes
7
  * @author Justin Tadlock <justin@justintadlock.com>
8
+ * @copyright Copyright (c) 2009 - 2016, Justin Tadlock
9
  * @link http://themehybrid.com/plugins/members
10
  * @license http://www.gnu.org/licenses/old-licenses/gpl-2.0.html
11
  */
inc/functions-options.php CHANGED
@@ -5,7 +5,7 @@
5
  * @package Members
6
  * @subpackage Includes
7
  * @author Justin Tadlock <justin@justintadlock.com>
8
- * @copyright Copyright (c) 2009 - 2015, Justin Tadlock
9
  * @link http://themehybrid.com/plugins/members
10
  * @license http://www.gnu.org/licenses/old-licenses/gpl-2.0.html
11
  */
5
  * @package Members
6
  * @subpackage Includes
7
  * @author Justin Tadlock <justin@justintadlock.com>
8
+ * @copyright Copyright (c) 2009 - 2016, Justin Tadlock
9
  * @link http://themehybrid.com/plugins/members
10
  * @license http://www.gnu.org/licenses/old-licenses/gpl-2.0.html
11
  */
inc/functions-private-site.php CHANGED
@@ -7,7 +7,7 @@
7
  * @package Members
8
  * @subpackage Includes
9
  * @author Justin Tadlock <justin@justintadlock.com>
10
- * @copyright Copyright (c) 2009 - 2015, Justin Tadlock
11
  * @link http://themehybrid.com/plugins/members
12
  * @license http://www.gnu.org/licenses/old-licenses/gpl-2.0.html
13
  */
7
  * @package Members
8
  * @subpackage Includes
9
  * @author Justin Tadlock <justin@justintadlock.com>
10
+ * @copyright Copyright (c) 2009 - 2016, Justin Tadlock
11
  * @link http://themehybrid.com/plugins/members
12
  * @license http://www.gnu.org/licenses/old-licenses/gpl-2.0.html
13
  */
inc/functions-roles.php CHANGED
@@ -5,7 +5,7 @@
5
  * @package Members
6
  * @subpackage Includes
7
  * @author Justin Tadlock <justin@justintadlock.com>
8
- * @copyright Copyright (c) 2009 - 2015, Justin Tadlock
9
  * @link http://themehybrid.com/plugins/members
10
  * @license http://www.gnu.org/licenses/old-licenses/gpl-2.0.html
11
  */
@@ -250,7 +250,7 @@ function members_get_role( $role ) {
250
  function members_sanitize_role( $role ) {
251
  $_role = strtolower( $role );
252
  $_role = preg_replace( '/[^a-z0-9_\-\s]/', '', $_role );
253
- return apply_filters( 'members_sanitize_role', str_replace( array( '-', ' ' ), '_', $_role ), $role );
254
  }
255
 
256
  /**
5
  * @package Members
6
  * @subpackage Includes
7
  * @author Justin Tadlock <justin@justintadlock.com>
8
+ * @copyright Copyright (c) 2009 - 2016, Justin Tadlock
9
  * @link http://themehybrid.com/plugins/members
10
  * @license http://www.gnu.org/licenses/old-licenses/gpl-2.0.html
11
  */
250
  function members_sanitize_role( $role ) {
251
  $_role = strtolower( $role );
252
  $_role = preg_replace( '/[^a-z0-9_\-\s]/', '', $_role );
253
+ return apply_filters( 'members_sanitize_role', str_replace( ' ', '_', $_role ), $role );
254
  }
255
 
256
  /**
inc/functions-shortcodes.php CHANGED
@@ -5,7 +5,7 @@
5
  * @package Members
6
  * @subpackage Includes
7
  * @author Justin Tadlock <justin@justintadlock.com>
8
- * @copyright Copyright (c) 2009 - 2015, Justin Tadlock
9
  * @link http://themehybrid.com/plugins/members
10
  * @license http://www.gnu.org/licenses/old-licenses/gpl-2.0.html
11
  */
5
  * @package Members
6
  * @subpackage Includes
7
  * @author Justin Tadlock <justin@justintadlock.com>
8
+ * @copyright Copyright (c) 2009 - 2016, Justin Tadlock
9
  * @link http://themehybrid.com/plugins/members
10
  * @license http://www.gnu.org/licenses/old-licenses/gpl-2.0.html
11
  */
inc/functions-users.php CHANGED
@@ -5,7 +5,7 @@
5
  * @package Members
6
  * @subpackage Includes
7
  * @author Justin Tadlock <justin@justintadlock.com>
8
- * @copyright Copyright (c) 2009 - 2015, Justin Tadlock
9
  * @link http://themehybrid.com/plugins/members
10
  * @license http://www.gnu.org/licenses/old-licenses/gpl-2.0.html
11
  */
@@ -42,7 +42,13 @@ function members_user_has_cap_filter( $allcaps, $caps, $args, $user ) {
42
 
43
  // Loop through the user's roles and find any denied caps.
44
  foreach ( (array) $user->roles as $role ) {
45
- $denied_caps = array_merge( $denied_caps, array_keys( get_role( $role )->capabilities, false ) );
 
 
 
 
 
 
46
  }
47
 
48
  // If there are any denied caps, make sure they take precedence.
5
  * @package Members
6
  * @subpackage Includes
7
  * @author Justin Tadlock <justin@justintadlock.com>
8
+ * @copyright Copyright (c) 2009 - 2016, Justin Tadlock
9
  * @link http://themehybrid.com/plugins/members
10
  * @license http://www.gnu.org/licenses/old-licenses/gpl-2.0.html
11
  */
42
 
43
  // Loop through the user's roles and find any denied caps.
44
  foreach ( (array) $user->roles as $role ) {
45
+
46
+ // Get the role object.
47
+ $role_obj = get_role( $role );
48
+
49
+ // If we have an object, merge it's denied caps.
50
+ if ( ! is_null( $role_obj ) )
51
+ $denied_caps = array_merge( $denied_caps, array_keys( $role_obj->capabilities, false ) );
52
  }
53
 
54
  // If there are any denied caps, make sure they take precedence.
inc/functions-widgets.php CHANGED
@@ -5,7 +5,7 @@
5
  * @package Members
6
  * @subpackage Includes
7
  * @author Justin Tadlock <justin@justintadlock.com>
8
- * @copyright Copyright (c) 2009 - 2015, Justin Tadlock
9
  * @link http://themehybrid.com/plugins/members
10
  * @license http://www.gnu.org/licenses/old-licenses/gpl-2.0.html
11
  */
5
  * @package Members
6
  * @subpackage Includes
7
  * @author Justin Tadlock <justin@justintadlock.com>
8
+ * @copyright Copyright (c) 2009 - 2016, Justin Tadlock
9
  * @link http://themehybrid.com/plugins/members
10
  * @license http://www.gnu.org/licenses/old-licenses/gpl-2.0.html
11
  */
inc/functions.php CHANGED
@@ -5,7 +5,7 @@
5
  * @package Members
6
  * @subpackage Includes
7
  * @author Justin Tadlock <justin@justintadlock.com>
8
- * @copyright Copyright (c) 2009 - 2015, Justin Tadlock
9
  * @link http://themehybrid.com/plugins/members
10
  * @license http://www.gnu.org/licenses/old-licenses/gpl-2.0.html
11
  */
5
  * @package Members
6
  * @subpackage Includes
7
  * @author Justin Tadlock <justin@justintadlock.com>
8
+ * @copyright Copyright (c) 2009 - 2016, Justin Tadlock
9
  * @link http://themehybrid.com/plugins/members
10
  * @license http://www.gnu.org/licenses/old-licenses/gpl-2.0.html
11
  */
inc/template.php CHANGED
@@ -5,7 +5,7 @@
5
  * @package Members
6
  * @subpackage Includes
7
  * @author Justin Tadlock <justin@justintadlock.com>
8
- * @copyright Copyright (c) 2009 - 2015, Justin Tadlock
9
  * @link http://themehybrid.com/plugins/members
10
  * @license http://www.gnu.org/licenses/old-licenses/gpl-2.0.html
11
  */
5
  * @package Members
6
  * @subpackage Includes
7
  * @author Justin Tadlock <justin@justintadlock.com>
8
+ * @copyright Copyright (c) 2009 - 2016, Justin Tadlock
9
  * @link http://themehybrid.com/plugins/members
10
  * @license http://www.gnu.org/licenses/old-licenses/gpl-2.0.html
11
  */
languages/members.pot CHANGED
@@ -1,14 +1,14 @@
1
- # Copyright (C) 2015 Members
2
  # This file is distributed under the same license as the Members package.
3
  msgid ""
4
  msgstr ""
5
- "Project-Id-Version: Members 1.0.0-alpha-1\n"
6
- "Report-Msgid-Bugs-To: http://wordpress.org/tag/members\n"
7
- "POT-Creation-Date: 2015-09-14 00:40:53+00:00\n"
8
  "MIME-Version: 1.0\n"
9
  "Content-Type: text/plain; charset=UTF-8\n"
10
  "Content-Transfer-Encoding: 8bit\n"
11
- "PO-Revision-Date: 2015-MO-DA HO:MI+ZONE\n"
12
  "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
13
  "Language-Team: LANGUAGE <LL@li.org>\n"
14
 
@@ -43,7 +43,7 @@ msgstr ""
43
 
44
  #: _assets/class-cap-new.php:185 admin/class-manage-roles.php:84
45
  #: admin/class-manage-roles.php:90 admin/class-roles.php:168
46
- #: admin/class-user-edit.php:87 admin/functions-admin.php:148
47
  msgid "Roles"
48
  msgstr ""
49
 
@@ -57,12 +57,12 @@ msgstr ""
57
 
58
  #: _assets/class-capability-list-table.php:264
59
  #: _assets/class-capability-list-table.php:387
60
- #: admin/class-role-list-table.php:322 admin/class-role-list-table.php:447
61
  msgid "Delete"
62
  msgstr ""
63
 
64
  #: _assets/class-capability-list-table.php:319
65
- #: admin/class-role-list-table.php:392
66
  msgid "All %s"
67
  msgid_plural "All %s"
68
  msgstr[0] ""
@@ -110,7 +110,7 @@ msgid "No capability selected to delete."
110
  msgstr ""
111
 
112
  #: _assets/page-capabilities.php:96 admin/class-meta-box-custom-cap.php:88
113
- #: admin/class-role-edit.php:248 admin/class-roles.php:171
114
  msgid "Add New"
115
  msgstr ""
116
 
@@ -130,29 +130,29 @@ msgstr ""
130
  msgid "Edit Capabilities: %s"
131
  msgstr ""
132
 
133
- #: admin/class-manage-roles.php:87 admin/class-role-edit.php:245
134
  msgid "Edit Role"
135
  msgstr ""
136
 
137
- #: admin/class-meta-box-content-permissions.php:96 admin/class-settings.php:125
138
  #: admin/class-settings.php:398
139
  msgid "Content Permissions"
140
  msgstr ""
141
 
142
- #: admin/class-meta-box-content-permissions.php:125
143
  msgid "Limit access to this post's content to users of the selected roles."
144
  msgstr ""
145
 
146
- #: admin/class-meta-box-content-permissions.php:145
147
  msgid "If no roles are selected, everyone can view the content. The post author, any users who can edit this post, and users with the %s capability can view the content regardless of role."
148
  msgstr ""
149
 
150
- #: admin/class-meta-box-content-permissions.php:149
151
- msgid "Custom error messsage:"
152
  msgstr ""
153
 
154
- #: admin/class-meta-box-content-permissions.php:151
155
- msgid "Message shown to users that do no have permission to view the post."
156
  msgstr ""
157
 
158
  #: admin/class-meta-box-custom-cap.php:71 admin/functions-help.php:94
@@ -189,7 +189,7 @@ msgstr ""
189
  msgid "Add Role"
190
  msgstr ""
191
 
192
- #: admin/class-role-edit.php:90 members.php:163 members.php:174
193
  msgid "Whoah, partner!"
194
  msgstr ""
195
 
@@ -197,83 +197,83 @@ msgstr ""
197
  msgid "The requested role to edit does not exist."
198
  msgstr ""
199
 
200
- #: admin/class-role-edit.php:177
201
  msgid "%s role updated."
202
  msgstr ""
203
 
204
- #: admin/class-role-edit.php:181
205
  msgid "The %s role is not editable. This means that it is most likely added via another plugin for a special use or that you do not have permission to edit it."
206
  msgstr ""
207
 
208
- #: admin/class-role-edit.php:185 admin/class-role-new.php:213
209
  msgid "The %s role has been created."
210
  msgstr ""
211
 
212
- #: admin/class-role-edit.php:267 admin/class-role-new.php:314
213
  #: admin/class-roles.php:65 admin/functions-help.php:62
214
  msgid "Role Name"
215
  msgstr ""
216
 
217
- #: admin/class-role-edit.php:273 admin/class-role-new.php:320
218
- #: inc/class-widget-users.php:216
219
  msgid "Role:"
220
  msgstr ""
221
 
222
- #: admin/class-role-list-table.php:213
223
  msgid "Default Role"
224
  msgstr ""
225
 
226
- #: admin/class-role-list-table.php:217
227
  msgid "Your Role"
228
  msgstr ""
229
 
230
- #: admin/class-role-list-table.php:318 admin/class-role-new.php:322
231
  #: admin/functions-admin.php:49
232
  msgid "Edit"
233
  msgstr ""
234
 
235
- #: admin/class-role-list-table.php:328
236
  msgid "View"
237
  msgstr ""
238
 
239
- #: admin/class-role-list-table.php:333
240
  msgid "Clone"
241
  msgstr ""
242
 
243
- #: admin/class-role-list-table.php:337
244
  msgid "Change Default"
245
  msgstr ""
246
 
247
- #: admin/class-role-list-table.php:341 admin/class-roles.php:67
248
- #: admin/functions-cap-groups.php:193 inc/class-widget-users.php:155
249
  msgid "Users"
250
  msgstr ""
251
 
252
- #: admin/class-role-new.php:107 admin/class-role-new.php:297
253
  msgid "Add New Role"
254
  msgstr ""
255
 
256
- #: admin/class-role-new.php:222
257
  msgid "You must enter a valid role."
258
  msgstr ""
259
 
260
- #: admin/class-role-new.php:226
261
  msgid "The %s role already exists."
262
  msgstr ""
263
 
264
- #: admin/class-role-new.php:230
265
  msgid "You must enter a valid role name."
266
  msgstr ""
267
 
268
- #: admin/class-role-new.php:297
269
  msgid "Clone Role"
270
  msgstr ""
271
 
272
- #: admin/class-role-new.php:315
273
  msgid "%s Clone"
274
  msgstr ""
275
 
276
- #: admin/class-role-new.php:315
277
  msgid "Enter role name"
278
  msgstr ""
279
 
@@ -498,7 +498,7 @@ msgstr ""
498
  msgid "Are you sure you want to delete this role? This is a permanent action and cannot be undone."
499
  msgstr ""
500
 
501
- #: admin/functions-admin.php:177
502
  msgid "None"
503
  msgstr ""
504
 
@@ -622,179 +622,179 @@ msgstr ""
622
  msgid "Deny"
623
  msgstr ""
624
 
625
- #: inc/class-widget-login.php:33
626
  msgid "A widget that allows users to log into your site."
627
  msgstr ""
628
 
629
- #: inc/class-widget-login.php:44
630
  msgid "Members: Login Form"
631
  msgstr ""
632
 
633
- #: inc/class-widget-login.php:172 inc/class-widget-login.php:175
634
  msgid "Log In"
635
  msgstr ""
636
 
637
- #: inc/class-widget-login.php:173
638
  msgid "Username"
639
  msgstr ""
640
 
641
- #: inc/class-widget-login.php:174
642
  msgid "Password"
643
  msgstr ""
644
 
645
- #: inc/class-widget-login.php:176
646
  msgid "Remember Me"
647
  msgstr ""
648
 
649
- #: inc/class-widget-login.php:186
650
  msgid "Please log into the site."
651
  msgstr ""
652
 
653
- #: inc/class-widget-login.php:187
654
  msgid "You are currently logged in."
655
  msgstr ""
656
 
657
- #: inc/class-widget-login.php:199 inc/class-widget-users.php:196
658
  msgid "Title:"
659
  msgstr ""
660
 
661
- #: inc/class-widget-login.php:203
662
  msgid "Username Label:"
663
  msgstr ""
664
 
665
- #: inc/class-widget-login.php:207
666
  msgid "Password Label:"
667
  msgstr ""
668
 
669
- #: inc/class-widget-login.php:211
670
  msgid "Log In Label:"
671
  msgstr ""
672
 
673
- #: inc/class-widget-login.php:215
674
  msgid "Remember Me Label:"
675
  msgstr ""
676
 
677
- #: inc/class-widget-login.php:223
678
  msgid "Username Value:"
679
  msgstr ""
680
 
681
- #: inc/class-widget-login.php:227
682
  msgid "Username Field ID:"
683
  msgstr ""
684
 
685
- #: inc/class-widget-login.php:231
686
  msgid "Remember Me Field ID:"
687
  msgstr ""
688
 
689
- #: inc/class-widget-login.php:235
690
  msgid "Password Field ID:"
691
  msgstr ""
692
 
693
- #: inc/class-widget-login.php:239
694
  msgid "Submit Button ID:"
695
  msgstr ""
696
 
697
- #: inc/class-widget-login.php:250
698
  msgid "\"Remember me\" checkbox?"
699
  msgstr ""
700
 
701
- #: inc/class-widget-login.php:256
702
  msgid "Check \"remember me\"?"
703
  msgstr ""
704
 
705
- #: inc/class-widget-login.php:262
706
  msgid "Display avatar?"
707
  msgstr ""
708
 
709
- #: inc/class-widget-login.php:266
710
  msgid "Logged out text:"
711
  msgstr ""
712
 
713
- #: inc/class-widget-login.php:271
714
  msgid "Logged in text:"
715
  msgstr ""
716
 
717
- #: inc/class-widget-users.php:33
718
  msgid "Provides the ability to list the users of the site."
719
  msgstr ""
720
 
721
- #: inc/class-widget-users.php:44
722
  msgid "Members: Users"
723
  msgstr ""
724
 
725
- #: inc/class-widget-users.php:172
726
  msgid "Ascending"
727
  msgstr ""
728
 
729
- #: inc/class-widget-users.php:173
730
  msgid "Descending"
731
  msgstr ""
732
 
733
- #: inc/class-widget-users.php:177
734
  msgid "Display Name"
735
  msgstr ""
736
 
737
- #: inc/class-widget-users.php:178
738
  msgid "Email"
739
  msgstr ""
740
 
741
- #: inc/class-widget-users.php:179
742
  msgid "ID"
743
  msgstr ""
744
 
745
- #: inc/class-widget-users.php:180
746
  msgid "Nice Name"
747
  msgstr ""
748
 
749
- #: inc/class-widget-users.php:181
750
  msgid "Post Count"
751
  msgstr ""
752
 
753
- #: inc/class-widget-users.php:182
754
  msgid "Registered"
755
  msgstr ""
756
 
757
- #: inc/class-widget-users.php:183
758
  msgid "URL"
759
  msgstr ""
760
 
761
- #: inc/class-widget-users.php:184
762
  msgid "Login"
763
  msgstr ""
764
 
765
- #: inc/class-widget-users.php:200
766
  msgid "Order By:"
767
  msgstr ""
768
 
769
- #: inc/class-widget-users.php:208
770
  msgid "Order:"
771
  msgstr ""
772
 
773
- #: inc/class-widget-users.php:224
774
  msgid "Limit:"
775
  msgstr ""
776
 
777
- #: inc/class-widget-users.php:228
778
  msgid "Offset:"
779
  msgstr ""
780
 
781
- #: inc/class-widget-users.php:236
782
  msgid "Include:"
783
  msgstr ""
784
 
785
- #: inc/class-widget-users.php:240
786
  msgid "Exclude:"
787
  msgstr ""
788
 
789
- #: inc/class-widget-users.php:244
790
  msgid "Search:"
791
  msgstr ""
792
 
793
- #: inc/class-widget-users.php:248
794
  msgid "Meta Key:"
795
  msgstr ""
796
 
797
- #: inc/class-widget-users.php:256
798
  msgid "Meta Value:"
799
  msgstr ""
800
 
@@ -806,7 +806,7 @@ msgstr ""
806
  msgid "You must be logged into the site to view this content."
807
  msgstr ""
808
 
809
- #: members.php:185
810
  msgid "Method does not exist."
811
  msgstr ""
812
  #. Plugin Name of the plugin/theme
1
+ # Copyright (C) 2016 Members
2
  # This file is distributed under the same license as the Members package.
3
  msgid ""
4
  msgstr ""
5
+ "Project-Id-Version: Members 1.1.1-dev\n"
6
+ "Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/members\n"
7
+ "POT-Creation-Date: 2016-01-09 19:58:30+00:00\n"
8
  "MIME-Version: 1.0\n"
9
  "Content-Type: text/plain; charset=UTF-8\n"
10
  "Content-Transfer-Encoding: 8bit\n"
11
+ "PO-Revision-Date: 2016-MO-DA HO:MI+ZONE\n"
12
  "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
13
  "Language-Team: LANGUAGE <LL@li.org>\n"
14
 
43
 
44
  #: _assets/class-cap-new.php:185 admin/class-manage-roles.php:84
45
  #: admin/class-manage-roles.php:90 admin/class-roles.php:168
46
+ #: admin/class-user-edit.php:87 admin/functions-admin.php:151
47
  msgid "Roles"
48
  msgstr ""
49
 
57
 
58
  #: _assets/class-capability-list-table.php:264
59
  #: _assets/class-capability-list-table.php:387
60
+ #: admin/class-role-list-table.php:338 admin/class-role-list-table.php:463
61
  msgid "Delete"
62
  msgstr ""
63
 
64
  #: _assets/class-capability-list-table.php:319
65
+ #: admin/class-role-list-table.php:408
66
  msgid "All %s"
67
  msgid_plural "All %s"
68
  msgstr[0] ""
110
  msgstr ""
111
 
112
  #: _assets/page-capabilities.php:96 admin/class-meta-box-custom-cap.php:88
113
+ #: admin/class-role-edit.php:260 admin/class-roles.php:171
114
  msgid "Add New"
115
  msgstr ""
116
 
130
  msgid "Edit Capabilities: %s"
131
  msgstr ""
132
 
133
+ #: admin/class-manage-roles.php:87 admin/class-role-edit.php:257
134
  msgid "Edit Role"
135
  msgstr ""
136
 
137
+ #: admin/class-meta-box-content-permissions.php:99 admin/class-settings.php:125
138
  #: admin/class-settings.php:398
139
  msgid "Content Permissions"
140
  msgstr ""
141
 
142
+ #: admin/class-meta-box-content-permissions.php:132
143
  msgid "Limit access to this post's content to users of the selected roles."
144
  msgstr ""
145
 
146
+ #: admin/class-meta-box-content-permissions.php:152
147
  msgid "If no roles are selected, everyone can view the content. The post author, any users who can edit this post, and users with the %s capability can view the content regardless of role."
148
  msgstr ""
149
 
150
+ #: admin/class-meta-box-content-permissions.php:156
151
+ msgid "Custom error message:"
152
  msgstr ""
153
 
154
+ #: admin/class-meta-box-content-permissions.php:158
155
+ msgid "Message shown to users that do not have permission to view the post."
156
  msgstr ""
157
 
158
  #: admin/class-meta-box-custom-cap.php:71 admin/functions-help.php:94
189
  msgid "Add Role"
190
  msgstr ""
191
 
192
+ #: admin/class-role-edit.php:90 members.php:165 members.php:176
193
  msgid "Whoah, partner!"
194
  msgstr ""
195
 
197
  msgid "The requested role to edit does not exist."
198
  msgstr ""
199
 
200
+ #: admin/class-role-edit.php:189
201
  msgid "%s role updated."
202
  msgstr ""
203
 
204
+ #: admin/class-role-edit.php:193
205
  msgid "The %s role is not editable. This means that it is most likely added via another plugin for a special use or that you do not have permission to edit it."
206
  msgstr ""
207
 
208
+ #: admin/class-role-edit.php:197 admin/class-role-new.php:224
209
  msgid "The %s role has been created."
210
  msgstr ""
211
 
212
+ #: admin/class-role-edit.php:279 admin/class-role-new.php:325
213
  #: admin/class-roles.php:65 admin/functions-help.php:62
214
  msgid "Role Name"
215
  msgstr ""
216
 
217
+ #: admin/class-role-edit.php:285 admin/class-role-new.php:331
218
+ #: inc/class-widget-users.php:227
219
  msgid "Role:"
220
  msgstr ""
221
 
222
+ #: admin/class-role-list-table.php:229
223
  msgid "Default Role"
224
  msgstr ""
225
 
226
+ #: admin/class-role-list-table.php:233
227
  msgid "Your Role"
228
  msgstr ""
229
 
230
+ #: admin/class-role-list-table.php:334 admin/class-role-new.php:333
231
  #: admin/functions-admin.php:49
232
  msgid "Edit"
233
  msgstr ""
234
 
235
+ #: admin/class-role-list-table.php:344
236
  msgid "View"
237
  msgstr ""
238
 
239
+ #: admin/class-role-list-table.php:349
240
  msgid "Clone"
241
  msgstr ""
242
 
243
+ #: admin/class-role-list-table.php:353
244
  msgid "Change Default"
245
  msgstr ""
246
 
247
+ #: admin/class-role-list-table.php:357 admin/class-roles.php:67
248
+ #: admin/functions-cap-groups.php:193 inc/class-widget-users.php:57
249
  msgid "Users"
250
  msgstr ""
251
 
252
+ #: admin/class-role-new.php:107 admin/class-role-new.php:308
253
  msgid "Add New Role"
254
  msgstr ""
255
 
256
+ #: admin/class-role-new.php:233
257
  msgid "You must enter a valid role."
258
  msgstr ""
259
 
260
+ #: admin/class-role-new.php:237
261
  msgid "The %s role already exists."
262
  msgstr ""
263
 
264
+ #: admin/class-role-new.php:241
265
  msgid "You must enter a valid role name."
266
  msgstr ""
267
 
268
+ #: admin/class-role-new.php:308
269
  msgid "Clone Role"
270
  msgstr ""
271
 
272
+ #: admin/class-role-new.php:326
273
  msgid "%s Clone"
274
  msgstr ""
275
 
276
+ #: admin/class-role-new.php:326
277
  msgid "Enter role name"
278
  msgstr ""
279
 
498
  msgid "Are you sure you want to delete this role? This is a permanent action and cannot be undone."
499
  msgstr ""
500
 
501
+ #: admin/functions-admin.php:180
502
  msgid "None"
503
  msgstr ""
504
 
622
  msgid "Deny"
623
  msgstr ""
624
 
625
+ #: inc/class-widget-login.php:42
626
  msgid "A widget that allows users to log into your site."
627
  msgstr ""
628
 
629
+ #: inc/class-widget-login.php:53
630
  msgid "Members: Login Form"
631
  msgstr ""
632
 
633
+ #: inc/class-widget-login.php:57 inc/class-widget-login.php:60
634
  msgid "Log In"
635
  msgstr ""
636
 
637
+ #: inc/class-widget-login.php:58
638
  msgid "Username"
639
  msgstr ""
640
 
641
+ #: inc/class-widget-login.php:59
642
  msgid "Password"
643
  msgstr ""
644
 
645
+ #: inc/class-widget-login.php:61
646
  msgid "Remember Me"
647
  msgstr ""
648
 
649
+ #: inc/class-widget-login.php:71
650
  msgid "Please log into the site."
651
  msgstr ""
652
 
653
+ #: inc/class-widget-login.php:72
654
  msgid "You are currently logged in."
655
  msgstr ""
656
 
657
+ #: inc/class-widget-login.php:207 inc/class-widget-users.php:207
658
  msgid "Title:"
659
  msgstr ""
660
 
661
+ #: inc/class-widget-login.php:211
662
  msgid "Username Label:"
663
  msgstr ""
664
 
665
+ #: inc/class-widget-login.php:215
666
  msgid "Password Label:"
667
  msgstr ""
668
 
669
+ #: inc/class-widget-login.php:219
670
  msgid "Log In Label:"
671
  msgstr ""
672
 
673
+ #: inc/class-widget-login.php:223
674
  msgid "Remember Me Label:"
675
  msgstr ""
676
 
677
+ #: inc/class-widget-login.php:231
678
  msgid "Username Value:"
679
  msgstr ""
680
 
681
+ #: inc/class-widget-login.php:235
682
  msgid "Username Field ID:"
683
  msgstr ""
684
 
685
+ #: inc/class-widget-login.php:239
686
  msgid "Remember Me Field ID:"
687
  msgstr ""
688
 
689
+ #: inc/class-widget-login.php:243
690
  msgid "Password Field ID:"
691
  msgstr ""
692
 
693
+ #: inc/class-widget-login.php:247
694
  msgid "Submit Button ID:"
695
  msgstr ""
696
 
697
+ #: inc/class-widget-login.php:258
698
  msgid "\"Remember me\" checkbox?"
699
  msgstr ""
700
 
701
+ #: inc/class-widget-login.php:264
702
  msgid "Check \"remember me\"?"
703
  msgstr ""
704
 
705
+ #: inc/class-widget-login.php:270
706
  msgid "Display avatar?"
707
  msgstr ""
708
 
709
+ #: inc/class-widget-login.php:274
710
  msgid "Logged out text:"
711
  msgstr ""
712
 
713
+ #: inc/class-widget-login.php:279
714
  msgid "Logged in text:"
715
  msgstr ""
716
 
717
+ #: inc/class-widget-users.php:42
718
  msgid "Provides the ability to list the users of the site."
719
  msgstr ""
720
 
721
+ #: inc/class-widget-users.php:53
722
  msgid "Members: Users"
723
  msgstr ""
724
 
725
+ #: inc/class-widget-users.php:183
726
  msgid "Ascending"
727
  msgstr ""
728
 
729
+ #: inc/class-widget-users.php:184
730
  msgid "Descending"
731
  msgstr ""
732
 
733
+ #: inc/class-widget-users.php:188
734
  msgid "Display Name"
735
  msgstr ""
736
 
737
+ #: inc/class-widget-users.php:189
738
  msgid "Email"
739
  msgstr ""
740
 
741
+ #: inc/class-widget-users.php:190
742
  msgid "ID"
743
  msgstr ""
744
 
745
+ #: inc/class-widget-users.php:191
746
  msgid "Nice Name"
747
  msgstr ""
748
 
749
+ #: inc/class-widget-users.php:192
750
  msgid "Post Count"
751
  msgstr ""
752
 
753
+ #: inc/class-widget-users.php:193
754
  msgid "Registered"
755
  msgstr ""
756
 
757
+ #: inc/class-widget-users.php:194
758
  msgid "URL"
759
  msgstr ""
760
 
761
+ #: inc/class-widget-users.php:195
762
  msgid "Login"
763
  msgstr ""
764
 
765
+ #: inc/class-widget-users.php:211
766
  msgid "Order By:"
767
  msgstr ""
768
 
769
+ #: inc/class-widget-users.php:219
770
  msgid "Order:"
771
  msgstr ""
772
 
773
+ #: inc/class-widget-users.php:235
774
  msgid "Limit:"
775
  msgstr ""
776
 
777
+ #: inc/class-widget-users.php:239
778
  msgid "Offset:"
779
  msgstr ""
780
 
781
+ #: inc/class-widget-users.php:247
782
  msgid "Include:"
783
  msgstr ""
784
 
785
+ #: inc/class-widget-users.php:251
786
  msgid "Exclude:"
787
  msgstr ""
788
 
789
+ #: inc/class-widget-users.php:255
790
  msgid "Search:"
791
  msgstr ""
792
 
793
+ #: inc/class-widget-users.php:259
794
  msgid "Meta Key:"
795
  msgstr ""
796
 
797
+ #: inc/class-widget-users.php:267
798
  msgid "Meta Value:"
799
  msgstr ""
800
 
806
  msgid "You must be logged into the site to view this content."
807
  msgstr ""
808
 
809
+ #: members.php:187
810
  msgid "Method does not exist."
811
  msgstr ""
812
  #. Plugin Name of the plugin/theme
members.php CHANGED
@@ -3,7 +3,7 @@
3
  * Plugin Name: Members
4
  * Plugin URI: http://themehybrid.com/plugins/members
5
  * Description: A user and role management plugin that puts you in full control of your site's permissions. This plugin allows you to edit your roles and their capabilities, clone existing roles, assign multiple roles per user, block post content, or even make your site completely private.
6
- * Version: 1.1.0
7
  * Author: Justin Tadlock
8
  * Author URI: http://themehybrid.com
9
  * Text Domain: members
@@ -25,9 +25,9 @@
25
  * write to the Free Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
26
  *
27
  * @package Members
28
- * @version 1.1.0
29
  * @author Justin Tadlock <justin@justintadlock.com>
30
- * @copyright Copyright (c) 2009 - 2015, Justin Tadlock
31
  * @link http://themehybrid.com/plugins/members
32
  * @license http://www.gnu.org/licenses/old-licenses/gpl-2.0.html
33
  */
3
  * Plugin Name: Members
4
  * Plugin URI: http://themehybrid.com/plugins/members
5
  * Description: A user and role management plugin that puts you in full control of your site's permissions. This plugin allows you to edit your roles and their capabilities, clone existing roles, assign multiple roles per user, block post content, or even make your site completely private.
6
+ * Version: 1.1.1
7
  * Author: Justin Tadlock
8
  * Author URI: http://themehybrid.com
9
  * Text Domain: members
25
  * write to the Free Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
26
  *
27
  * @package Members
28
+ * @version 1.1.1
29
  * @author Justin Tadlock <justin@justintadlock.com>
30
+ * @copyright Copyright (c) 2009 - 2016, Justin Tadlock
31
  * @link http://themehybrid.com/plugins/members
32
  * @license http://www.gnu.org/licenses/old-licenses/gpl-2.0.html
33
  */
readme.md CHANGED
@@ -23,7 +23,7 @@ If you need professional plugin support from me, the plugin author, you can acce
23
 
24
  This project is licensed under the [GNU GPL](http://www.gnu.org/licenses/old-licenses/gpl-2.0.html), version 2 or later.
25
 
26
- 2009&thinsp;&ndash;&thinsp;2015 &copy; [Justin Tadlock](http://justintadlock.com).
27
 
28
  ## Documentation
29
 
@@ -172,4 +172,4 @@ Some plugins and themes might rely on the old user level system in WordPress. T
172
 
173
  By default, the levels aren't shown. They still exist, but are tucked away behind the scenes. While not recommended, if you need to control who has what level (levels are just capabilities), add this to your plugin or your theme's `functions.php`:
174
 
175
- add_filter( 'members_remove_old_levels', '__return_false' );
23
 
24
  This project is licensed under the [GNU GPL](http://www.gnu.org/licenses/old-licenses/gpl-2.0.html), version 2 or later.
25
 
26
+ 2009&thinsp;&ndash;&thinsp;2016 &copy; [Justin Tadlock](http://justintadlock.com).
27
 
28
  ## Documentation
29
 
172
 
173
  By default, the levels aren't shown. They still exist, but are tucked away behind the scenes. While not recommended, if you need to control who has what level (levels are just capabilities), add this to your plugin or your theme's `functions.php`:
174
 
175
+ add_filter( 'members_remove_old_levels', '__return_false' );
readme.txt CHANGED
@@ -4,7 +4,7 @@ Contributors: greenshady
4
  Donate link: http://themehybrid.com/donate
5
  Tags: admin, role, roles, member, members, profile, shortcode, user, users, widget, widgets
6
  Requires at least: 4.3
7
- Stable tag: 1.1.0
8
 
9
  The most powerful user, role, and capability management plugin for WordPress.
10
 
@@ -26,7 +26,7 @@ It puts you in control over permissions on your site by providing a user interfa
26
  * **Private Site:** You can make your site and its feed completely private if you want.
27
  * **Plugin Integration:** Members is highly recommended by other WordPress developers. Many existing plugins integrate their custom roles and caps directly into it.
28
 
29
- For more info, vist the [Members plugin home page](http://themehybrid.com/plugin/members).
30
 
31
  ### Like this plugin?
32
 
4
  Donate link: http://themehybrid.com/donate
5
  Tags: admin, role, roles, member, members, profile, shortcode, user, users, widget, widgets
6
  Requires at least: 4.3
7
+ Stable tag: 1.1.1
8
 
9
  The most powerful user, role, and capability management plugin for WordPress.
10
 
26
  * **Private Site:** You can make your site and its feed completely private if you want.
27
  * **Plugin Integration:** Members is highly recommended by other WordPress developers. Many existing plugins integrate their custom roles and caps directly into it.
28
 
29
+ For more info, vist the [Members plugin home page](http://themehybrid.com/plugins/members).
30
 
31
  ### Like this plugin?
32