Commit Graph

57 Commits

Author SHA1 Message Date
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 b892a70756 * changed hook for initialization of email templates paths;
* removed `load_plugin_textdomain` due to (article)[https://make.wordpress.org/core/2024/10/21/i18n-improvements-6-7/#Enhanced-support-for-only-using-PHP-translation-files]
* deprecated `UM()->localize()` function;
* deprecated `um_language_textdomain` filter hook;
2024-11-29 14:09:23 +02:00
Mykyta Synelnikov f5d81f1a41 * added todos; 2024-11-29 12:57:18 +02:00
Mykyta Synelnikov 042dc6e320 - fixed password reset url for the approved user who didn't set their password after registration without password; reset URL hash has been generated twice and we have wrong hash in reset password email. 2024-02-22 22:01:07 +02:00
Mykyta Synelnikov 81291e82c4 Merge pull request #1428 from ultimatemember/feature/welcome_emaul_set_password
Add set password URL if user is registered without password
2024-01-18 11:33:00 +02:00
Mykyta Synelnikov 205a3ea9bc - reviewed #1428; 2024-01-17 16:06:58 +02:00
ashubawork c8ddd5d23c - fix emails placeholders 2024-01-16 16:09:26 +02:00
ashubawork d9021373ce - add meta to user 2024-01-16 14:00:22 +02:00
ashubawork a127946e17 - fix the emails background color 2024-01-03 14:24:40 +02:00
ashubawork 2107336cf9 - change placeholders for set password 2023-12-07 13:36:51 +02:00
Mykyta Synelnikov 5942a2828e - reviewed #1319; 2023-10-03 01:29:19 +03:00
ashubawork 6c4381baf6 - fix typos 2023-10-02 15:20:26 +03:00
ashubawork 8457c27763 - fix functions name 2023-10-02 14:54:45 +03:00
ashubawork 6511f30847 - fix hooks comments 2023-10-02 14:51:23 +03: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
ashubawork 2a9920fad2 - fix empty mail_from and mail_from_addr 2023-08-22 16:19:42 +03:00
Mykyta Synelnikov aafd4d0962 - fixed function visibility #1196; 2023-06-05 13:38:10 +03:00
Mykyta Synelnikov 6501f48bbd - email notifications hotfix #1194; 2023-05-31 10:20:30 +03:00
Mykyta Synelnikov 74afe64226 - added hook comments;
- updated versions and changelog;
- updated gulpfile.js;
2023-05-23 16:37:20 +03:00
Mykyta Synelnikov a460146958 - alternative #1167, #1166 because there had been used already existing hook with other attributes;
- added description for the "Enable menu icons in desktop view" option;
2023-05-23 13:57:55 +03:00
Mykyta Synelnikov 5caf57aeee - added um_disable_email_notification_sending hook for dynamically disable email notification sending; 2023-04-19 10:33:23 +03:00
Nikita Sinelnikov 8b5bb5d784 - fixed #1082;
- used wp_mkdir to avoid the filesystem conflict;
2022-12-13 15:52:57 +02:00
nikitasinelnikov caba3de9d5 - Added: Hooks um_before_email_notification_sending and um_after_email_notification_sending regarding #743 pull-request 2021-04-02 13:05:36 +03:00
nikitasinelnikov da50a79a92 - removed legacy.js from pickadate;
- fixed wp_mail attachments;
2020-09-21 12:10:29 +03:00
Champ Camba 70e4082f0b Push updates 2020-01-28 20:57:14 +08:00
Champ Camba 2629eb4ace Fix Gmail & Yahoo UTF-8 encoding 2019-09-19 19:27:34 +08:00
andrewshuba 219956268b - add wp_unslash for email subject 2019-08-22 11:58:39 +03:00
denisbaranov 3e05da5ffd Issue: Apostrophe appears as \' in Mail appears from name
Link: https://secure.helpscout.net/conversation/897757075/31945?folderId=1405025
2019-07-09 13:16:09 +03:00
andrewshuba 82a119e1ef fix activation link and profile link in email 2019-05-07 14:56:28 +03:00
andrewshuba 7812103851 separate placeholders into filters 2019-05-06 17:22:57 +03:00
nikitasinelnikov b7555b75ab - fixes for email templates save process
- fixes for multilanguage email templates;
2019-04-01 23:44:21 +03:00
nikitozzzzzzz ab1c321433 - strip tags in plain text email templates; 2018-09-27 23:41:10 +03:00
denisbaranov 5d3507b01c Resolve Issues with HTML code in plain emails 2018-09-19 17:57:23 +03:00
nikitozzzzzzz d856188e60 - fixed email templates for multisite;
- fixed upgrade script to 2.0.x version for multisites;
2018-06-07 01:01:42 +03:00
nikitozzzzzzz 1f2c65a658 - fixed getting email templates for Network active themes; 2018-06-06 18:08:27 +03:00
nikitozzzzzzz ca40103d9b - multisite email templates; 2018-05-30 18:34:24 +03:00
nikitozzzzzzz cc58ba5938 Merge branch 'master' of https://github.com/ultimatemember/ultimatemember into fix/ms_email_templates 2018-05-30 15:15:57 +03:00
nikitozzzzzzz cf3835d5e2 - deprecated old functions; 2018-05-30 11:09:37 +03:00
nikitozzzzzzz 4000dca515 - fixed wp_mail text/plain and text/html headers;
- fixed profile tabs without icons at mobile devices;
2018-05-25 15:05:14 +03:00
nikitozzzzzzz 3eca951d07 - fixed class exists operators; 2018-03-26 01:27:46 +03:00
nikitozzzzzzz cf0f7b1d10 - added filter for the integration with email notification's content;
- fixed homepage User Role setting;
2018-03-25 20:44:54 +03:00
nikitozzzzzzz 2ce33098b5 - fixed user registration;
- phpDoc;
2018-03-20 13:24:38 +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 98e2618e90 - code reviewed created external integrations class (for 3-d party plugins/themes integrations); 2017-12-20 10:58:39 +02:00
nikitozzzzzzz f861de65a8 - made external integrations class; 2017-12-19 14:44:06 +02:00
Denis Baranov 45498f16dc - added filter "um_email_send_subject" 2017-12-19 13:45:11 +02:00
Denis Baranov d460139473 - fixed creating a file in a theme for another language.
- fixed sending emails template in the standard language for administrator.
- fixed sending a standard template email, if not for the current language
2017-12-18 18:01:42 +02:00
nikitozzzzzzz e36c3ca841 - settings optimization; 2017-12-11 09:53:38 +02:00
nikitozzzzzzz 129de3fec7 - added filter for additional headers to email templates (e.g. DOCTYPE etc.); 2017-12-08 16:51:25 +02:00