Commit Graph

154 Commits

Author SHA1 Message Date
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 e5b8ff400e - fixed editable attribute base on the legacy code;
- if `editable` attribute  doesn't exist then we set `editable` to true by default;
2023-09-05 01:12:16 +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 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 1f3ebdcdd0 - reviewed #1275;
- fixed #1274;
2023-08-11 11:57:43 +03:00
Mykyta Synelnikov c0a0fc475c - added 'um_can_view_profile' hook; 2023-08-03 01:21:23 +03:00
Mykyta Synelnikov c9789b8462 - standardize the condition for checking not editable fields to empty( $data['editable'] 2023-07-27 13:37:01 +03:00
Mykyta Synelnikov 8887572aed - fixed hosts in uppercase; 2023-07-18 12:34:06 +03: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
ashubawork 5b647ae5e9 - add translators 2023-07-13 11:36:29 +03:00
Mykyta Synelnikov 6c3b06dff0 - fixed #1241 issue; 2023-07-11 17:59:54 +03:00
ashubawork c78e88349c - add hook for user photos ext 2023-07-06 13:40:20 +03:00
Mykyta Synelnikov dae94dd363 - added hook 'um_submitted_data_value' for changing format of submitted data; 2023-07-02 20:43:30 +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
Mykyta Synelnikov 30482254ba - merged #1029; 2023-05-23 14:21:27 +03:00
Nikita Sinelnikov 172e681714 - probably fixed: #1084; 2022-12-13 23:39:42 +02:00
Nikita Sinelnikov b547d899bc - removed outdated setting using in code (force_display_name_capitlized). Moved the functionality to extended repo:
https://github.com/ultimatemember/Extended/tree/main/um-capitalize-name#readme
2022-10-24 14:29:04 +03:00
Nikita Sinelnikov 238326e1a9 - fixed #918; 2021-09-22 01:11:32 +03:00
Nikita Sinelnikov 7aa8efefff - fixed strlen() to mb_strlen(); 2021-09-21 16:20:37 +03:00
ashubawork e1b35403a0 - check variable as array (issue #913) 2021-09-16 13:18:06 +03:00
Nikita Sinelnikov 9927dab323 - fixed um_edit_profile_url() function and added $user_id attribute;
- added `disable_restriction_pre_queries` option for backward compatibility with business logic where 404 error isn't good way;
- added `restricted_post_title_replace` option for ability to disable restricted post's title replace
2021-08-25 01:07:09 +03:00
Nikita Sinelnikov eeb7c39471 - fixed maybe serialized custom fields;
- fixed sanitizing;
2021-07-16 01:35:13 +03:00
Nikita Sinelnikov 07e664be80 - intermediate results with sanitizing form handlers; 2021-06-29 02:51:54 +03:00
nikitasinelnikov 60187cdc67 - fixed XSS issue with current profile URL 2021-05-07 13:42:20 +03:00
nikitasinelnikov e32b28d1ee - fixed editing private profiles; 2021-04-12 12:54:43 +03:00
nikitasinelnikov d577108707 - fixed field's privacy settings on the profile page when view mode;
- fixed "Edit" button visibility in the member directory grid;
2021-04-07 02:43:33 +03:00
nikitasinelnikov a362496b55 - changed field's privacy type label; 2021-04-06 14:55:55 +03:00
yuriinalivaiko ba2078a5f7 The code is simplified.
The logic has not been changed.
2021-03-16 14:43:38 +02:00
yuriinalivaiko 7a78dcde94 Fix: field privacy option "Only visible to profile owner and specific roles" 2021-03-15 16:09:31 +02:00
nikitasinelnikov 5740bc637d - fixed: PHP notices and warnings
- fixed: security vulnerability with User Account page and password field
2021-03-03 13:13:44 +02:00
nikitasinelnikov 6a97af659c - fixed GDPR applied time displaying in User Info popup; 2021-02-03 13:16:53 +02:00
nikitasinelnikov e26a6a33ab - fixed redirect after registration;
- removed empty set_roles() function;
- added function for checking AMP;
2020-10-02 15:48:59 +03:00
nikitasinelnikov 2343a1891e - fixed security vulnerability in queries with role attribute;
- fixed um_can_view_profile function;
2020-09-28 21:34:14 +03:00
nikitasinelnikov e5928ea2f9 - fixed PHP warning;
- added stripslashes to the WP head title/description;
2020-08-26 22:56:26 +03:00
nikitasinelnikov 748ebf5fa9 - updated Info window fields (hide fields without metakeys); 2020-08-14 19:15:38 +03:00
nikitasinelnikov eeadc4ac89 - small PHP notices fixes; 2020-08-12 00:56:06 +03:00
nikitasinelnikov 200796c112 - added hooks and integrations for JobBoardWP plugin; 2020-07-31 00:35:13 +03:00
nikitasinelnikov 88c3720106 - fixed member directory sorting;
- fixed member directory list dropdown init after changing view type;
- fixed registration form;
2020-07-14 04:21:03 +03:00
nikitasinelnikov 02fde13b39 - added profile privacy setting for the avoiding profile indexation; 2020-06-19 13:07:04 +03:00
nikitasinelnikov f3f09e46b0 - fixed fields visibility; 2020-03-30 13:57:38 +03:00
Champ Camba 436c46d48a Remove notice 2020-03-18 21:47:56 +08:00
nikitasinelnikov 72a1e9a7c3 - small code formatting; 2020-03-02 16:47:56 +02:00
nikitasinelnikov ce02b8ac6b - added upgrade for myCRED balance fields;
- fixed form_id PHP notice;
2020-02-28 01:03:40 +02: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
nikitasinelnikov 7ab7a06b75 - submitting details code review;
- fixed small notices and CSS;
2020-02-06 16:01:21 +02:00
nikitasinelnikov 86c19a1629 Merge remote-tracking branch 'remotes/origin/origin/improvement/submitted-fields' 2020-02-06 15:05:46 +02:00
nikitasinelnikov 067f0d6a78 Fixed issues with "key => value" fields (dropdown + multiselect) if 'um_select_options_pair' filter is used;
Added JS filters to member directory functionality;
2020-02-06 14:54:13 +02:00
Champ Camba 70e4082f0b Push updates 2020-01-28 20:57:14 +08:00
nikitasinelnikov 170b41ff70 - fixed um_convert_tags for array values; 2020-01-13 16:26:43 +02:00