WordPress.org

Forums

Register Plus Redux
[resolved] Deleting unverified users (2 posts)

  1. danielnichols
    Member
    Posted 2 years ago #

    When I go to delete unverified users it asks me to confirm but there are no "yes" or "no" buttons to press.

    http://wordpress.org/extend/plugins/register-plus-redux/

  2. radiok
    Member
    Plugin Author

    Posted 2 years ago #

    I see the problem, to resolve bulk deletes, delete line 980 of rpr-admin-menu.php:

    check_admin_referer( 'delete-users' );

    To resolve individual deletes, edit line 1049 of rpr-admin-menu.php from:

    <?php if ( current_user_can( 'delete_users' ) ) echo '<span class="delete"> | <a> 'delete', 'user' => $user_info->ID, 'wp_http_referer' => urlencode( stripslashes( $_SERVER['REQUEST_URI'] ) ) ), 'users.php'), 'delete-users' ), '" class="submitdelete">', __( 'Delete', 'register-plus-redux' ), '</a></span>', "\n"; ?>

    to:

    <?php if ( current_user_can( 'delete_users' ) ) echo '<span class="delete"> | <a> 'delete', 'user' => $user_info->ID, 'wp_http_referer' => urlencode( stripslashes( $_SERVER['REQUEST_URI'] ) ) ), 'users.php'), 'bulk-users' ), '" class="submitdelete">', __( 'Delete', 'register-plus-redux' ), '</a></span>', "\n"; ?>

    I have rolled these changes into the next release of Register Plus Redux.

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • Register Plus Redux
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic

Tags

No tags yet.