Commit Graph

12 Commits

Author SHA1 Message Date
Mykyta Synelnikov c8bd79fceb Add scheduled user account status check and improve approval
Introduce a new `Users` class to handle scheduled tasks for user status checks and batch processing. Refactor user approval functionality to allow silent operations and avoid sending notifications where unnecessary. Enhance user registration to prevent unfinished registrations from being processed in scheduled checks.
2025-04-14 23:12:29 +03:00
ashubawork 08a7b48d53 - add schedule action for account_status check 2025-04-07 15:01:07 +03:00
Mykyta Synelnikov 7f586ef47e Update Ultimate Member to version 2.10.2 with filesystem fixes
Introduced `maybe_init_wp_filesystem` for better WP_Filesystem initialization and added new utility methods like `remove_dir`. Improved cache handling and documentation annotations for several methods. These changes enhance file management and ensure smoother integration.
2025-03-18 17:28:15 +02:00
Mykyta Synelnikov 8d33c43130 Fixes 'um_dispatch_email' action #1589
* Sending email notifications directly (without Action Scheduler) on user delete action;
* Changed activation handler priority for integration with Action Scheduler
* Added 'fetch_user_id' argument for fetching the necessary user before email sending when Action Scheduler is active.
2024-11-19 17:48:10 +02:00
Mykyta Synelnikov 550a90873d * compatibility with recent changes in 2.8.9; 2024-10-21 18:02:52 +03:00
Mykyta Synelnikov 1cbbb70a03 * added security condition to check that one logged-in user cannot activate another one user via email activation link;
* fixed double handler of email activation link (wp_die doesn't stop the script for some reason);
* added redirects to login page with error notices instead of wp_die text;
2024-10-11 18:47:40 +03:00
Mykyta Synelnikov b9704ad28b * fixed $force arguments and not existed user; 2024-10-01 12:08:52 +03:00
Mykyta Synelnikov 6f9be57495 * updated statuses logic; 2024-09-30 23:10:15 +03:00
Mykyta Synelnikov ea316d0474 * fixed #1553; 2024-09-30 17:37:04 +03:00
Mykyta Synelnikov 35e3727bca * added force attribute to change user status actions for ignore current user condition in some cases; 2024-09-27 15:41:01 +03:00
Mykyta Synelnikov 33bc484629 * Admin Users bulk-actions
* Admin single user actions
* Frontend single user action
2024-09-24 13:18:48 +03:00
Mykyta Synelnikov 512dc53a18 - 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
2024-09-20 18:41:08 +03:00