New User Approve - Version 1.1.3

Version Description

Download this release

Release Info

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

Code changes from version 1.1.2 to 1.1.3

Files changed (2) hide show
  1. new-user-approve.php +2 -2
  2. readme.txt +1 -1
new-user-approve.php CHANGED
@@ -4,7 +4,7 @@
4
  Plugin URI: http://www.picklewagon.com/wordpress/new-user-approve
5
  Description: This plugin allows administrators to approve users once they register. Only approved users will be allowed to access the blog.
6
  Author: Josh Harrison
7
- Version: 1.1.2
8
  Author URI: http://www.picklewagon.com/
9
  */
10
 
@@ -283,7 +283,7 @@ if (!class_exists('pw_new_user_approve')) {
283
  if ($current_user->ID == $user->ID) {
284
  $edit_link = 'profile.php';
285
  } else {
286
- $edit_link = esc_url( add_query_arg( 'wp_http_referer', urlencode( esc_url( stripslashes( $_SERVER['REQUEST_URI'] ) ) ), "user-edit.php?user_id=$user->ID" ) );
287
  }
288
  $edit = "<strong><a href=\"$edit_link\">$user->user_login</a></strong><br />";
289
  } else {
4
  Plugin URI: http://www.picklewagon.com/wordpress/new-user-approve
5
  Description: This plugin allows administrators to approve users once they register. Only approved users will be allowed to access the blog.
6
  Author: Josh Harrison
7
+ Version: 1.1.3
8
  Author URI: http://www.picklewagon.com/
9
  */
10
 
283
  if ($current_user->ID == $user->ID) {
284
  $edit_link = 'profile.php';
285
  } else {
286
+ $edit_link = clean_url( add_query_arg( 'wp_http_referer', urlencode( clean_url( stripslashes( $_SERVER['REQUEST_URI'] ) ) ), "user-edit.php?user_id=$user->ID" ) );
287
  }
288
  $edit = "<strong><a href=\"$edit_link\">$user->user_login</a></strong><br />";
289
  } else {
readme.txt CHANGED
@@ -4,7 +4,7 @@ Donate link: http://www.picklewagon.com/wordpress/
4
  Tags: users, registration
5
  Requires at least: 2.5
6
  Tested up to: 2.8
7
- Stable tag: 1.1.2
8
 
9
  New User Approve is a Wordpress plugin that allows a blog administrator to
10
  approve a user before they are able to access and login to the blog.
4
  Tags: users, registration
5
  Requires at least: 2.5
6
  Tested up to: 2.8
7
+ Stable tag: 1.1.3
8
 
9
  New User Approve is a Wordpress plugin that allows a blog administrator to
10
  approve a user before they are able to access and login to the blog.