Members - Version 3.2.1

Version Description

Download this release

Release Info

Developer caseproof
Plugin Icon 128x128 Members
Version 3.2.1
Comparing to
See all releases

Code changes from version 3.2.0 to 3.2.1

Files changed (4) hide show
  1. admin/functions-admin.php +1 -1
  2. changelog.md +5 -0
  3. members.php +1 -1
  4. readme.txt +2 -2
admin/functions-admin.php CHANGED
@@ -255,5 +255,5 @@ function members_dismiss_upgrade_header() {
255
  */
256
  function members_is_admin_page() {
257
  $screen = get_current_screen();
258
- return in_array( $screen->id, Members\Admin\Settings_Page::get_instance()->admin_pages );
259
  }
255
  */
256
  function members_is_admin_page() {
257
  $screen = get_current_screen();
258
+ return ! empty( $screen->id ) && ! empty( Members\Admin\Settings_Page::get_instance()->admin_pages ) && in_array( $screen->id, Members\Admin\Settings_Page::get_instance()->admin_pages );
259
  }
changelog.md CHANGED
@@ -1,5 +1,10 @@
1
  # Change Log
2
 
 
 
 
 
 
3
  ## 3.2.0 - 2022-04-18
4
 
5
  ### Added
1
  # Change Log
2
 
3
+ ## 3.2.1 - 2022-04-19
4
+
5
+ ### Fixed
6
+ - Fixed Uncaught TypeError: in_array()
7
+
8
  ## 3.2.0 - 2022-04-18
9
 
10
  ### Added
members.php CHANGED
@@ -3,7 +3,7 @@
3
  * Plugin Name: Members
4
  * Plugin URI: https://memberpress.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: 3.2.0
7
  * Author: MemberPress
8
  * Author URI: https://memberpress.com
9
  * Text Domain: members
3
  * Plugin Name: Members
4
  * Plugin URI: https://memberpress.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: 3.2.1
7
  * Author: MemberPress
8
  * Author URI: https://memberpress.com
9
  * Text Domain: members
readme.txt CHANGED
@@ -4,9 +4,9 @@ Contributors: supercleanse
4
  Donate link: https://memberpress.com/plugins/members
5
  Tags: memberpress, member-type, access-control, permissions, members-only, security, membership-plan, memberships, roles, capabilities, editor, users, security, access, permission, protect, restrict content, blocks
6
  Requires at least: 4.7
7
- Tested up to: 5.9
8
  Requires PHP: 5.6
9
- Stable tag: 3.2.0
10
  License: GPLv2 or later
11
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
12
 
4
  Donate link: https://memberpress.com/plugins/members
5
  Tags: memberpress, member-type, access-control, permissions, members-only, security, membership-plan, memberships, roles, capabilities, editor, users, security, access, permission, protect, restrict content, blocks
6
  Requires at least: 4.7
7
+ Tested up to: 6.0
8
  Requires PHP: 5.6
9
+ Stable tag: 3.2.1
10
  License: GPLv2 or later
11
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
12