mirror of
https://github.com/10h30/ultimatemember.git
synced 2026-06-05 15:09:37 +09:00
Revert back the changes made to the user filter
This commit is contained in:
@@ -328,9 +328,9 @@ if ( ! class_exists( 'um\admin\core\Admin_Users' ) ) {
|
||||
*/
|
||||
function filter_users_by_status( $query ) {
|
||||
global $wpdb, $pagenow;
|
||||
if ( is_admin() && $pagenow == 'users.php' && ! empty( $_REQUEST['status'] ) ) {
|
||||
if ( is_admin() && $pagenow == 'users.php' && ! empty( $_REQUEST['um_status'] ) ) {
|
||||
|
||||
$status = sanitize_key( $_REQUEST['status'] );
|
||||
$status = sanitize_key( $_REQUEST['um_status'] );
|
||||
|
||||
if ( $status == 'needs-verification' ) {
|
||||
$query->query_where = str_replace('WHERE 1=1',
|
||||
|
||||
Reference in New Issue
Block a user