42 Commits

Author SHA1 Message Date
Mykyta Synelnikov 03725ffcff Add new hooks, refactor workflows, and deprecate unused functions
Introduced new filter hooks for primary button classes in forms and improved URL handling for password resets and account activations. Deprecated several unused functions and replaced them with updated alternatives to streamline the codebase. Updated documentation and templates accordingly.
2025-06-25 16:01:08 +03:00
Mykyta Synelnikov 524670ad53 Merge pull request #1683 from ultimatemember/fix/sitehealth
Sitehealth
2025-06-24 16:56:38 +03:00
Mykyta Synelnikov d2dcfb645a Refactor debug information structure across plugins
Updated the structure of debug information methods by replacing `array_merge` with simpler array extensions and renaming variables for clarity. This ensures consistent handling of role metadata and improves readability and maintainability of code across multiple plugins.
2025-06-24 16:42:20 +03:00
Mykyta Synelnikov bcfdbb954d Refactor email placeholders and deprecate obsolete methods
Streamline placeholder handling for emails by introducing universal patterns and replacements, and update email dispatch functions for efficiency. Deprecated various redundant user and password-related methods, consolidating logic into common utility classes for better maintainability.
2025-05-19 14:26:39 +03:00
Mykyta Synelnikov a4d20fe4fd - reviewed #1481; 2024-04-02 17:28:54 +03:00
Mykyta Synelnikov 11c0a8ebf9 - fixed HTML validation for user description field in header;
- fixed escaping HTML in user description field;
2023-08-15 23:52:40 +03:00
Mykyta Synelnikov bfef1f9dc7 - reviewed #1269;
- unified `UM()->fields()->editing` and `UM()->fields()->viewing` to bool variables use true|false in conditions to make `===` or `!==` comparing;
2023-08-15 03:49:13 +03:00
Mykyta Synelnikov 7a0ae7f0f8 - fixed PHP8.2 compatibility; 2023-04-19 10:16:04 +03:00
Nikita Sinelnikov 9cdf65973c - prepared for 2.4.0 release; 2022-05-24 18:29:39 +03:00
Nikita Sinelnikov cafabe5f12 - hotfix for fields without type showing in profile meta; 2021-12-17 15:51:39 +02:00
Nikita Sinelnikov 07e664be80 - intermediate results with sanitizing form handlers; 2021-06-29 02:51:54 +03:00
nikitasinelnikov 8e2adccba9 - profile tabs privacy new hooks for integration; 2021-04-30 17:50:12 +03:00
nikitasinelnikov c2b32c8487 Added: Filter hook 'um_profile_tabs_privacy_list' for extending privacy options for Profile Tabs 2021-04-30 17:20:32 +03:00
nikitasinelnikov b61ac46c88 - fixed getting active tab; 2021-04-02 03:30:55 +03:00
nikitasinelnikov 8a6f041407 - added profile tab privacy 'Owner + Specific roles'; 2021-03-12 03:46:45 +02:00
nikitasinelnikov 1adc51aa02 - fixed displaying by the hook issues with fields without metakeys; 2020-12-14 14:39:47 +02:00
nikitasinelnikov fa13e82202 - There are changed PHP’s intval(), strval(), floatval(), and boolval() typecasting functions to (int), (string), (float) and (bool) regarding [this doc](https://make.wordpress.org/core/2020/11/20/miscellaneous-developer-focused-changes-in-wordpress-5-6/). 2020-11-24 12:55:22 +02:00
nikitasinelnikov 7841911413 - added ability to customize custom key sorting type (CHAR, NUMERIC, etc.)
- added ability to customize 'bio' key at the profile header;
- 2.1.3 pre-release;
2020-01-20 10:39:40 +02:00
nikitasinelnikov 4a4eb5debf - added filter for show meta HTML;
- removed redundant code from member directories class;
2019-11-04 21:17:13 +02:00
nikitasinelnikov cf118d137d - member directory styles; 2019-09-23 13:34:25 +03:00
nikitasinelnikov 5f66fd5fe3 - added escape functions, security fix for XSS; 2019-08-08 00:36:33 +03:00
nikitasinelnikov ceb2d38988 - profile tabs changes; 2019-07-19 15:41:10 +03:00
nikitasinelnikov 9015b6c34d - profile tabs privacy;
- fixed issue with added wpautop for UM pages; (remove wpautop)
2019-07-05 16:08:09 +03:00
nikitasinelnikov 090588fe88 - fixed profiles tab privacy; 2019-07-05 13:11:57 +03:00
nikitasinelnikov 572f47033f - 2.0.49 release; 2019-05-29 18:51:22 +03:00
andrewshuba 7812103851 separate placeholders into filters 2019-05-06 17:22:57 +03:00
nikitasinelnikov 3383c69e2d - code formatting; 2018-12-07 15:07:50 +02:00
nikitozzzzzzz 0ceab69793 - added nonce fields; 2018-11-21 14:01:18 +02:00
denisbaranov 449cba3190 fix method 'can_view_tab' 2018-11-20 15:50:42 +02:00
nikitozzzzzzz 202bf57c53 - fixed small notices; 2018-09-27 23:30:34 +03:00
nikitozzzzzzz 53ada5c443 - fixed profile tab privacy;
- code reviewed;
2018-06-07 12:40:41 +03:00
dbaranov c38f094557 Fix method Profile->can_view_tab() 2018-06-01 10:37:57 +03:00
yura_nalivaiko 7aed3486f1 - fixed fetch user in tabs; 2018-05-23 09:54:54 +03:00
yura_nalivaiko d6d3a0af07 - fixed problem with tabs; 2018-05-18 10:20:21 +03:00
nikitozzzzzzz 3eca951d07 - fixed class exists operators; 2018-03-26 01:27:46 +03:00
nikitozzzzzzz 2ce33098b5 - fixed user registration;
- phpDoc;
2018-03-20 13:24:38 +02:00
nikitozzzzzzz 8e348e084e - conditional logic fixed;
- some code optimization and documentation;
- fixed conflict with WP Fusion;
2018-03-16 09:37:19 +02:00
nikitozzzzzzz 3d19aa00b8 - made hooks documentation;
- some optimizations and make single functions for some hooks;
2018-03-02 09:55:49 +02:00
nikitozzzzzzz 9069c9f17e - small notices fixed; 2018-02-23 15:16:19 +02:00
nikitozzzzzzz e36c3ca841 - settings optimization; 2017-12-11 09:53:38 +02:00
nikitozzzzzzz ba02dd61fc - fixed issue #346 with encode Biography field; 2017-12-07 18:42:14 +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