Commit Graph

93 Commits

Author SHA1 Message Date
Mykyta Synelnikov bd151875c9 - reviewed #1375; 2024-01-15 11:36:57 +02:00
Mykyta Synelnikov 897258ed90 Merge pull request #1375 from ultimatemember/feature/um_profile_link_shortcode
Shortcode to display profile link.
2024-01-15 11:23:05 +02:00
yuriinalivaiko 85f056040e - fixed: the um class removed from the body classes 2024-01-01 21:17:02 +02:00
yuriinalivaiko 7ac78a6f57 - added shortcode um_profile_link 2023-12-22 15:28:46 +02:00
Mykyta Synelnikov 9798c81a5e - minified assets;
- updated readme.txt > changelog section;
- PHPDoc + Hookdocs updated for enqueue classes (common, admin, frontend);
- fixed typos in PHPDoc;
2023-11-17 17:25:47 +02:00
Mykyta Synelnikov b40edd26e6 - wp-admin assets refactoring (in process); 2023-11-03 17:31:18 +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
Mykyta Synelnikov af140bda82 - added hooks for easy integration cases like #1279; 2023-09-05 02:04:03 +03:00
Mykyta Synelnikov 6e9d122494 - fixed "is_block" argument for ultimatemember shortcodes;
- added sanitize shortcode arguments functions;
2023-09-02 00:53:51 +03:00
Mykyta Synelnikov fca7b4b0d5 - fixed [ultimatemember] shortcode attributes; 2023-08-31 11:27:11 +03:00
Mykyta Synelnikov 8b19234dcf - fixed [ultimatemember] shortcode using with a wrong|empty form_id; 2023-08-28 15:10:42 +03:00
Mykyta Synelnikov 42bfa3fa61 - added um_force_shortcode_render hook for echo custom content in ultimatemember shortcode; 2023-08-24 17:37:41 +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 ad11a6c479 - fixed singleton for shortcode;
- there were a conflicts with plugins who render shortcodes in hidden mode before loading shortcodes on the page content;
2023-07-21 15:47:01 +03:00
Mykyta Synelnikov 565a8f074a - fixed loading UM forms shortcode twice; 2023-07-13 16:03:28 +03:00
ashubawork 973dd64713 - fix user page blocks 2023-07-12 11:46:03 +03:00
Mykyta Synelnikov 6f9109adca - review edit_field(); 2023-06-28 20:56:09 +03:00
Mykyta Synelnikov 03e5424867 - review dynamic_css(); 2023-06-26 20:46:23 +03:00
Mykyta Synelnikov 8749b2cf5e - review load(); 2023-06-26 18:00:25 +03:00
Mykyta Synelnikov f8da8f0433 - review ultimatemember_password();
- made UM()->password()->change_password variable as private and avoid dynamic for PHP8 compatibility;
- marked `um_before_{$mode}_form_is_loaded` hook as has to be deprecated since 2.7.0 because it duplicates previous 2 hooks with similar;
- updated hookdocs for `um_before_{$mode}_form_is_loaded`;
- updated hookdocs for `um_before_form_is_loaded`;
- updated hookdocs for `um_pre_{$mode}_shortcode`;
2023-06-26 16:54:43 +03:00
ashubawork f6c2e17017 - fix dynamic_css() 2023-06-22 14:49:40 +03:00
ashubawork 9cc48e0a8c - fix load() 2023-06-22 14:40:44 +03:00
Mykyta Synelnikov 8057d06f81 - reviewed #769;
- added `get_member_directory_id()` function for getting member directory ID based on page ID;
- commented hooks 'um_prepare_user_results_array', 'um_prepare_user_results_array_meta'
- added snippet fo hiding filters from member directory based on public or private visibility;
2023-06-12 15:22:35 +03:00
Nikita Sinelnikov 212cbec9f8 Merge branch 'development/2.6.1' into feature/um-blocks 2023-05-23 11:14:37 +03:00
ashubawork 0c7bfbf9d7 - fix profile block for guests 2023-05-09 13:30:39 +03:00
ashubawork 35f9aac031 - not show account and profile on profile and account pages 2023-05-08 19:50:01 +03:00
ashubawork bcadcfc7bd - fix profile form for guests 2023-04-25 11:18:22 +03:00
Mykyta Synelnikov af2f9abae3 - fixed dynamically declared class variables; 2023-04-24 02:25:10 +03:00
Mykyta Synelnikov 034d9e8b43 - fixed dynamically declared variables inside the classes; 2023-04-17 20:16:15 +03:00
ashubawork a08ed9b6c1 - reset password block 2023-03-29 14:38:11 +03:00
Nikita Sinelnikov 6746f0ce03 - fixed directory checking for localhosts; 2022-10-10 15:29:30 +03:00
Nikita Sinelnikov e1bc94c110 - fixed Directory Traversal vulnerability. Using realpath for that; 2022-09-27 15:13:35 +03:00
Nikita Sinelnikov 14dc36b813 - fixed directory traversal vulnerability; 2022-09-27 13:58:01 +03:00
Nikita Sinelnikov 9cdf65973c - prepared for 2.4.0 release; 2022-05-24 18:29:39 +03:00
Nikita Sinelnikov 07e664be80 - intermediate results with sanitizing form handlers; 2021-06-29 02:51:54 +03:00
Nikita Sinelnikov 71dc8d4730 - fixed displaying different profile form shortcodes with different role visibility settings on the same page;
- fixed displaying avatar on the logout page;
2021-06-15 12:18:56 +03:00
nikitasinelnikov ea496625f8 Added: Hook to unlock the ability to add new users through the registration form 2021-04-27 00:21:32 +03:00
nikitasinelnikov 4ac6071aa2 - fixed roles field, which isn't customized; 2020-09-22 14:30:25 +03:00
nikitasinelnikov ec1db4f5cd - fixed roles options; 2020-09-11 00:14:20 +03:00
nikitasinelnikov 073a9bc329 Merge remote-tracking branch 'remotes/origin/feature/apply_shortcodes' 2020-05-25 17:37:49 +03:00
nikitasinelnikov 421f22fe3f - PHP fixes;
- fixed profile form duplicates, show only the first shortcode for the user with selected role;
2020-05-25 17:37:20 +03:00
denisbaranov 0acc9ad280 Fixed: Option "Make this profile form role-specific"
Users in WordPress can have several roles. So, we should look for the priority role. Otherwise form may be duplicated.
2020-04-24 14:54:04 +03:00
ashubawork 523e00133a - add apply_shortcodes 2020-04-03 11:21:35 +03:00
nikitasinelnikov 2d36eaea36 - fixed member directory scripts enqueue;
- added integration with User Location extension;
- sanitize $_GET variables in wp-admin side;
2020-02-12 12:36:47 +02:00
Champ Camba f480a966d4 Fix [um_loggedin] shortcode render with htmlspecialchars_decode 2019-12-23 20:00:39 +08: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
nikitasinelnikov 5a22c138fe - code formatting; 2019-11-12 15:25:35 +02:00
andrewshuba cb4a3ac85c - fix member search if roles_can_search is set 2019-11-12 13:47:57 +02:00
nikitasinelnikov 3122e79e37 - updated search users form shortcode for integrate with new member directories; 2019-10-18 13:01:40 +03:00