New User Approve - Version 1.5.4

Version Description

  • fix bug that prevents emails from being sent to admins
Download this release

Release Info

Developer picklewagon
Plugin Icon 128x128 New User Approve
Version 1.5.4
Comparing to
See all releases

Code changes from version 1.5.3 to 1.5.4

Files changed (2) hide show
  1. new-user-approve.php +2 -2
  2. readme.txt +4 -1
new-user-approve.php CHANGED
@@ -4,7 +4,7 @@
4
  Plugin URI: http://www.picklewagon.com/wordpress/new-user-approve/
5
  Description: Allow administrators to approve users once they register. Only approved users will be allowed to access the blog. For support, please go to the <a href="http://wordpress.org/support/plugin/new-user-approve">support forums</a> on wordpress.org.
6
  Author: Josh Harrison
7
- Version: 1.5.3
8
  Author URI: http://www.picklewagon.com/
9
  */
10
 
@@ -347,7 +347,7 @@ class pw_new_user_approve {
347
  $subject = sprintf( __( '[%s] User Approval', 'new-user-approve' ), $blogname );
348
  $subject = apply_filters( 'new_user_approve_request_approval_subject', $subject );
349
 
350
- $to = apply_filters( 'new_user_approve_email_admins', get_option( 'admin_email' ) );
351
  $to = array_unique( $to );
352
 
353
  // send the mail
4
  Plugin URI: http://www.picklewagon.com/wordpress/new-user-approve/
5
  Description: Allow administrators to approve users once they register. Only approved users will be allowed to access the blog. For support, please go to the <a href="http://wordpress.org/support/plugin/new-user-approve">support forums</a> on wordpress.org.
6
  Author: Josh Harrison
7
+ Version: 1.5.4
8
  Author URI: http://www.picklewagon.com/
9
  */
10
 
347
  $subject = sprintf( __( '[%s] User Approval', 'new-user-approve' ), $blogname );
348
  $subject = apply_filters( 'new_user_approve_request_approval_subject', $subject );
349
 
350
+ $to = apply_filters( 'new_user_approve_email_admins', array( get_option( 'admin_email' ) ) );
351
  $to = array_unique( $to );
352
 
353
  // send the mail
readme.txt CHANGED
@@ -4,7 +4,7 @@ Donate link: http://picklewagon.com/wordpress/new-user-approve/donate
4
  Tags: users, registration, sign up, user management
5
  Requires at least: 3.5.1
6
  Tested up to: 3.6
7
- Stable tag: 1.5.3
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
@@ -68,6 +68,9 @@ this feature.
68
 
69
  == Changelog ==
70
 
 
 
 
71
  = 1.5.3 =
72
  * add filter for link to approve/deny users
73
  * add filter for adding more email addresses to get notifications
4
  Tags: users, registration, sign up, user management
5
  Requires at least: 3.5.1
6
  Tested up to: 3.6
7
+ Stable tag: 1.5.4
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
68
 
69
  == Changelog ==
70
 
71
+ = 1.5.4 =
72
+ * fix bug that prevents emails from being sent to admins
73
+
74
  = 1.5.3 =
75
  * add filter for link to approve/deny users
76
  * add filter for adding more email addresses to get notifications