mirror of
https://github.com/10h30/ultimatemember.git
synced 2026-06-05 15:09:37 +09:00
- changed wp-admin > Users page;
* updated filters by status, avoid slow queries for getting users count; * updated bulk-actions for changing statuses (moved to WP native dropdown) * separate handlers for changing user statuses on wp-admin and frontend (partially implemented); * created class UM()->common()->users() to handle user statuses in more clear format; * deprecated old hooks and old functions
This commit is contained in:
@@ -1579,7 +1579,7 @@ function um_can_view_field( $data ) {
|
||||
|
||||
/**
|
||||
* Checks if user can view profile
|
||||
*
|
||||
* @todo make the function review. Maybe rewrite it.
|
||||
* @param int $user_id
|
||||
*
|
||||
* @return bool
|
||||
|
||||
Reference in New Issue
Block a user