Commit Graph

52 Commits

Author SHA1 Message Date
Mykyta Synelnikov 31ee1452dd Merge pull request #1694 from ultimatemember/fix/fetch_user_while_password_reset_link
Refactor email placeholders and deprecate obsolete methods
2025-06-18 13:25:16 +03:00
Mykyta Synelnikov 2368771617 Add filters for primary button classes in UM forms
Introduced new filters to customize CSS classes for primary buttons in login, registration, and password reset forms. This allows developers to extend button styling by applying custom classes via WordPress hooks. Changes enhance flexibility and improve theme compatibility.
2025-06-05 16:06:21 +03:00
Mykyta Synelnikov 01c7bdf72e Add login shortcode and enhance button class filters
Introduce the `[um_login]` shortcode for rendering the login form, with backend logic for customization and error handling. Enhance flexibility by adding filters to dynamically modify primary button classes for login, register, and password-reset forms.
2025-06-04 17:39:27 +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 3c56190fa3 * fixed login form after recent updates
* updated um_submit_form_{$mode} hook documentation
2024-10-11 17:10:42 +03:00
Mykyta Synelnikov 7f7820e67c * fixed sending emails upon registration;
* fixed using `um_user( 'status' )` and `um_user( 'account_status' )` functions;
* fixed using `set_status()` function;
* based on https://github.com/ultimatemember/ultimatemember/pull/1564
2024-10-10 18:18:56 +03:00
Mykyta Synelnikov 2c5f396795 - partially reviewed #1361; 2023-12-01 00:30:37 +02:00
ashubawork 200623d039 - fix php 8 trim error 2023-11-15 16:32:46 +02:00
Mykyta Synelnikov ce4cf8fe7b - updated hookdocs;
- reviewed `um_safe_redirect()`;
- updated readme.txt
2023-07-18 12:06:17 +03:00
ashubawork 7cdd2728e0 - add um safe redirect 2023-07-18 09:39:34 +03:00
Mykyta Synelnikov 71f2360694 - review login form and submission data. optimized submission; 2023-06-30 15:56:30 +03:00
Mykyta Synelnikov 4c1575ee36 - reviewed um_user_login(); 2023-06-23 01:56:15 +03:00
ashubawork fe07261c15 - fix um_user_login() 2023-06-22 10:47:03 +03:00
Mykyta Synelnikov e8e9e23e76 - fixed error class vulnerability; 2023-05-01 12:42:49 +03:00
Nikita Sinelnikov 5bb9f26f45 - fixed issue #1131; 2023-03-28 00:19:25 +03:00
Nikita Sinelnikov 43d2fe6a45 - possible solution for #1091; 2022-12-13 16:41:35 +02:00
Nikita Sinelnikov 5d4eb539c1 - fixed PHP warning when there aren't proper user while login; 2022-02-11 13:23:23 +02:00
Nikita Sinelnikov 74bfdbcb18 - closed #927;
- updated readme;
2021-12-14 18:31:47 +02:00
Nikita Sinelnikov b8b4ea9574 Merge pull request #841 from glendel/master
- fixed #840;
2021-08-23 17:09:38 +03:00
Nikita Sinelnikov a08762316e - fixed login form arguments;
- added static cache;
2021-07-28 13:23:57 +03:00
Nikita Sinelnikov bdbb60e3c4 - fixed show secondary button attribute; 2021-07-27 16:50:19 +03:00
Nikita Sinelnikov 07e664be80 - intermediate results with sanitizing form handlers; 2021-06-29 02:51:54 +03:00
Glendel Joubert Fyne Acosta e6e7f5c0f6 - fixed #840; 2021-05-20 10:00:17 -05:00
nikitasinelnikov 4633faf7bd - fixed #810; 2021-04-13 12:35:57 +03:00
nikitasinelnikov 6e0a711f4b - code review; 2021-03-03 17:55:12 +02:00
nikitasinelnikov c466e3d3d0 - added security for redirect_to attributes;
- updated readme file;
2020-07-27 15:42:50 +03:00
nikitasinelnikov 62f8b4e2f0 - fixed filter 'wp_authenticate_user' variables (changed username to WP_User object); 2020-07-08 19:27:14 +03:00
nikitasinelnikov 2a1499aa4d - fixed wp-login error when use email with wrong password; 2020-05-21 16:41:21 +03:00
nikitasinelnikov 72a1e9a7c3 - small code formatting; 2020-03-02 16:47:56 +02:00
nikitasinelnikov 31e84f3e11 - fixed forms preview by overlay;
- fixed profile submit and wrong $user_id from um_user();
2019-11-29 19:08:17 +02:00
nikitasinelnikov ed334bdf0b - added fixes for preview login form; 2019-11-28 18:11:30 +02:00
Champ Camba e9ef108e42 Fix Login form preview in the Form Builder 2019-11-28 18:01:29 +08:00
andrewshuba 9374b7e2cb - fix default buttons text
- show default button text if filed value is empty
2019-08-09 14:56:27 +03:00
nikitasinelnikov 5f66fd5fe3 - added escape functions, security fix for XSS; 2019-08-08 00:36:33 +03:00
nikitasinelnikov f1104fd9fd - fixed reset password limit flushing 2019-02-07 15:42:12 +02:00
nikitasinelnikov 8ea3584ff1 - 2.0.34 release; 2018-12-07 10:29:05 +02:00
nikitasinelnikov 960ab8bdab - fixed enqueue scripts;
- fixed multisite check active plugins;
2018-12-06 15:57:29 +02:00
nikitasinelnikov 4d95fd7541 - unchecked remember me on login form; 2018-12-05 11:25:43 +02:00
nikitozzzzzzz bb4aff7ee3 - fixed multisite file/image download; 2018-10-04 16:50:47 +03:00
nikitozzzzzzz 2ce33098b5 - fixed user registration;
- phpDoc;
2018-03-20 13:24:38 +02:00
nikitozzzzzzz 70e33dcacf - added filters for integration with redirect URLs (login, logout, register, account delete, custom homepage);
- fixed SSL permalinks;
2018-03-16 14:20:37 +02:00
nikitozzzzzzz 12891ff743 - hook docs; 2018-03-05 16:35:51 +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 5ac147e41f - fixed roles priority and added functions to work with roles (all|priority|um role);
- fixed um_is_core_page function with WPML;
- added general admin notice when user have old extensions;
- text changes;
2018-02-07 16:44:40 +02:00
nikitozzzzzzz cb0de87668 - added deprecated functions;
- added security ABSPATH checking;
2017-12-18 15:36:04 +02:00
nikitozzzzzzz e36c3ca841 - settings optimization; 2017-12-11 09:53:38 +02:00
Champ Camba 3b4b9ce0c8 Fix login form issue with 'remember me' option 2017-12-10 14:48:17 +08:00
Champ Camba 49b435798d Fix comment header and test travis builder 2017-11-23 20:40:28 +08:00
yura_nalivaiko 347d37952c - fixed _um_last_login; 2017-11-09 13:04:58 +02:00