New User Approve - Version 1.8.2

Version Description

  • Code Optimization
Download this release

Release Info

Developer wpexpertsio
Plugin Icon 128x128 New User Approve
Version 1.8.2
Comparing to
See all releases

Code changes from version 1.8.1 to 1.8.2

Files changed (3) hide show
  1. includes/user-list.php +5 -0
  2. new-user-approve.php +1 -1
  3. readme.txt +4 -1
includes/user-list.php CHANGED
@@ -203,7 +203,12 @@ class pw_new_user_approve_user_list {
203
  return;
204
  }
205
 
 
 
 
 
206
  $screen = get_current_screen();
 
207
  if ( isset( $screen ) && 'users' != $screen->id ) {
208
  return;
209
  }
203
  return;
204
  }
205
 
206
+ if( !function_exists( 'get_current_screen' ) ) {
207
+ return;
208
+ }
209
+
210
  $screen = get_current_screen();
211
+
212
  if ( isset( $screen ) && 'users' != $screen->id ) {
213
  return;
214
  }
new-user-approve.php CHANGED
@@ -5,7 +5,7 @@
5
  Plugin URI: http://newuserapprove.com/
6
  Description: Allow administrators to approve users once they register. Only approved users will be allowed to access the site. For support, please go to the <a href="http://wordpress.org/support/plugin/new-user-approve">support forums</a> on wordpress.org.
7
  Author: NewUserApprove
8
- Version: 1.8.1
9
  Author URI: https://newuserapprove.com/
10
  Text Domain: new-user-approve
11
  */
5
  Plugin URI: http://newuserapprove.com/
6
  Description: Allow administrators to approve users once they register. Only approved users will be allowed to access the site. For support, please go to the <a href="http://wordpress.org/support/plugin/new-user-approve">support forums</a> on wordpress.org.
7
  Author: NewUserApprove
8
+ Version: 1.8.2
9
  Author URI: https://newuserapprove.com/
10
  Text Domain: new-user-approve
11
  */
readme.txt CHANGED
@@ -4,7 +4,7 @@ Donate link: https://newuserapprove.com
4
  Tags: users, registration, sign up, user management, login, user approval
5
  Requires at least: 4.0
6
  Tested up to: 5.5
7
- Stable tag: 1.8.1
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
@@ -93,6 +93,9 @@ We are aware of a few issues with multisite
93
 
94
  == Changelog ==
95
 
 
 
 
96
  = 1.8.1 =
97
  * Tested upto WordPress version 5.5
98
  * Tested for compatibility with [Memberpress](https://memberpress.com/)
4
  Tags: users, registration, sign up, user management, login, user approval
5
  Requires at least: 4.0
6
  Tested up to: 5.5
7
+ Stable tag: 1.8.2
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
93
 
94
  == Changelog ==
95
 
96
+ = 1.8.2 =
97
+ * Code Optimization
98
+
99
  = 1.8.1 =
100
  * Tested upto WordPress version 5.5
101
  * Tested for compatibility with [Memberpress](https://memberpress.com/)