Commit Graph

17 Commits

Author SHA1 Message Date
Mykyta Synelnikov 5356148cc4 Implement batch processing for users with empty account statuses
Introduced a new batch process to handle users lacking an `account_status` meta efficiently. Refactored legacy methods, added async scheduling, and created helper functions to manage and track progress. These changes improve performance and reliability for large user bases.
2025-04-15 14:27:59 +03:00
Mykyta Synelnikov 4adbe19cbe * fixed CVE-2024-12276;
* reviewed using $wpdb and WPCS;
* set minimum required version to 6.2 due to using %i for $wpdb->prepare;
2025-02-03 16:17:37 +02:00
Mykyta Synelnikov b83da8b814 - WPCS for defined constants;
* um_url -> UM_URL
   * um_path -> UM_PATH
   * um_plugin -> UM_PLUGIN
   * ultimatemember_version -> UM_VERSION
   * ultimatemember_plugin_name -> UM_PLUGIN_NAME
2023-09-13 22:56:32 +03:00
Nikita Sinelnikov c1b3b0d3c4 - fixed issues related to the registration users with awaiting admin review or email confirmation; 2022-08-12 23:07:16 +03:00
Nikita Sinelnikov c9f90c54dd - User queries performance fix; 2022-06-20 17:29:31 +03:00
Nikita Sinelnikov d2423db806 Fixed Uninstalling process
- fixed removing UM custom capabilities from global $wp_roles;
- fixed removing UM custom roles from user roles after uninstall;
2022-02-14 11:55:43 +02:00
ashubawork 4f34a9dc74 - exclude core pages from uninstall (issue #940) 2021-11-15 11:40:47 +02:00
nikitasinelnikov 41350e1391 - fixed PHP notices when there aren't UM custom roles and we get bool variable from get_option( 'um_roles' ); 2020-12-16 13:37:13 +02:00
nikitasinelnikov 88ba816fc8 - removed 'um_flush_stop' hidden option;
- removed every page rewrite rules action issue;
- added maybe_flush_rewrites function on wp_loaded hook;
2019-10-24 01:01:04 +03:00
andrewshuba a0cacee1ae - remove all UM extensions data from DB 2019-05-29 18:42:17 +03:00
andrewshuba 5bc09b2d4b - remove all tables in database from extensions 2019-05-16 15:02:41 +03:00
andrewshuba 035cdb9196 - remove user role meta for custom roles 2019-05-16 12:44:02 +03:00
andrewshuba 8d8030f70e - fix user cache delete
- delete options
- delete um upload folder
2019-05-15 14:09:54 +03:00
nikitozzzzzzz 3d19aa00b8 - made hooks documentation;
- some optimizations and make single functions for some hooks;
2018-03-02 09:55:49 +02:00
nikitozzzzzzz 96c1aaf05a - options optimization; 2017-12-12 11:13:02 +02:00
nikitozzzzzzz e36c3ca841 - settings optimization; 2017-12-11 09:53:38 +02:00
nikitozzzzzzz 9e53314c3a !!! IMPORTANT 2.0 version before upgrade please run full backup of your site !!!
- new code structure, optimized for next development;
  - created spl_autoloader for remove includes;
  - UM classes with namespaces;
  - deprecated global $ultimatemember; variable (use UM() instead);
- new UM/WP roles logic;
- new settings class and logic (deprecated Redux framework, deprecated some old options, added some new options);
- new dependencies class for extensions;
- WP native styles for backend fields;
- new upgrades and license activations for extensions;
- new logic form backend forms and fields;
- created uninstall.php file for delete permanently all UM settings;
- optimized registration/upgrade profile process;

Deprecated Hooks:

um_new_user_registration_plain
um_user_registration_extra_hook
um_add_user_frontend
um_post_registration_global_hook
um_admin_extend_directory_options_general (was action...will be filter)
2017-07-26 14:57:52 +03:00