Mykyta Synelnikov
4adbe19cbe
* fixed CVE-2024-12276;
...
* reviewed using $wpdb and WPCS;
* set minimum required version to 6.2 due to using %i for $wpdb->prepare;
2025-02-03 16:17:37 +02: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
3211fb2994
* fixed #1516 ;
2024-09-25 23:12:17 +03:00
Mykyta Synelnikov
9190d93467
* manually reviewed #1528 ;
...
* also added 'um_restricted_post_content' hook
2024-09-24 18:21:25 +03:00
Mykyta Synelnikov
957ab7f5bf
- reviewed #1504 ;
2024-04-15 11:36:28 +03:00
Mykyta Synelnikov
41e9a50e0b
- strict typing with UM settings;
2024-03-07 02:02:03 +02:00
Mykyta Synelnikov
ae179677a0
- added hook um_access_restricted_post_instance;
...
- some wpcs ehnancements;
2024-01-05 15:55:02 +02:00
yuriinalivaiko
382ae24c73
- implemented safeguards against clickjacking attacks
2023-12-08 14:48:27 +02:00
Mykyta Synelnikov
ba2cc1cd94
- fixed PHP notices in some cases when WP query is not canonical;
2023-07-30 23:00:39 +03:00
Mykyta Synelnikov
84ea062a1f
- fixed getting permalink for profile tab if permalinks settings are disabled;
2023-06-29 13:50:47 +03:00
Mykyta Synelnikov
407b34056e
- reviwed um-blocks;
2023-05-23 12:00:12 +03:00
ashubawork
f71a508284
- fix um_message_content if not isset
2023-05-02 14:25:32 +03:00
ashubawork
fa88bb5f4c
- fix wrong code
2023-05-01 16:03:45 +03:00
ashubawork
bbc62dca09
- fix sanitize restriction message
2023-05-01 15:28:39 +03:00
ashubawork
a366a3733f
- fix sanitize restriction message
2023-04-27 14:34:13 +03:00
ashubawork
9b7ed5bcd5
- change esc_url to esc_url_raw
2023-02-08 14:43:51 +02:00
Nikita Sinelnikov
08b44fb842
- fixed #1125 ;
2023-01-20 01:40:44 +02:00
Nikita Sinelnikov
b312b31d1e
- closed #1115 ;
2023-01-05 20:45:41 +02:00
Nikita Sinelnikov
26b54a48c4
- probably fixed #1075 ;
2022-10-10 18:02:10 +03:00
Nikita Sinelnikov
5db8232202
- fixed restriction post displaying when 404 is enabled and old restiction logic isn't active;
2022-10-10 17:42:52 +03:00
Nikita Sinelnikov
a93970aa56
- probably fixed #1078 ;
2022-10-10 17:11:21 +03:00
Nikita Sinelnikov
d34a5faa11
- fixed restriction base on term restriction settings;
2022-09-03 01:56:03 +03:00
Nikita Sinelnikov
72d58f709d
- fixed #1008 ;
...
- fixed #1005 ;
- fixed #1006 ;
- fixed #1010 ;
2022-06-09 17:17:15 +03:00
Nikita Sinelnikov
37a2a8927c
- fixed restriction logic with post title hook;
2021-09-16 15:23:09 +03:00
Nikita Sinelnikov
b3cf26d276
- fixed nav menu item title if it's restricted;
2021-09-16 12:10:11 +03:00
Nikita Sinelnikov
ab83b99779
- fixed nav-menu restriction;
2021-09-15 12:10:16 +03:00
Nikita Sinelnikov
641f2c5a74
- fixed restriction logic cases;
...
- fixed conditions for the restriction logic options;
2021-09-14 18:21:41 +03:00
Nikita Sinelnikov
5e0cf8c9ce
Merge branch 'development/2.2.4'
2021-08-27 14:17:58 +03:00
Nikita Sinelnikov
f1754e4679
- Fixed: Hiding comments feed for pages with active comments
...
- Fixed: Changing the post title to the restricted value while displaying in the loop that uses direct `post_title` variable
- Fixed: PHP errors related to not passed function attributes from 3rd-party plugins or themes when using WP native hooks
2021-08-26 14:53:12 +03:00
Nikita Sinelnikov
bb8398e0a1
- fixed terms query when there isn't taxonomy argument but term_taxonomy_id exists;
2021-08-25 16:17:36 +03:00
Nikita Sinelnikov
c28e0211f1
- fixed restriction logic;
2021-08-25 13:31:38 +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
58bbd3cede
- fixed notices if there aren't restricted post types;
2021-08-23 17:21:30 +03:00
Nikita Sinelnikov
f96e384b35
- fixed nav-menu visibility;
2021-08-23 16:12:55 +03:00
Nikita Sinelnikov
ff89c26628
- fixed PHP fatal error on the page list widget displaying;
2021-08-19 14:09:57 +03:00
Nikita Sinelnikov
d220fcf4f4
Merge branch 'development/2.2.3' of https://github.com/ultimatemember/ultimatemember into development/2.2.3
2021-08-19 12:58:23 +03:00
Nikita Sinelnikov
5d773256b9
- fixed profile form nonce;
...
- fixed profile form getting ID and data;
- fixed class-access.php when restricted taxonomies are disabled;
2021-08-19 12:58:13 +03:00
ashubawork
81eb759113
- fixed a visibility of custom link in a nav menu
2021-08-19 11:38:23 +03:00
Nikita Sinelnikov
733969c84e
- added fixes for incorrect posts;
2021-08-19 01:50:13 +03:00
Nikita Sinelnikov
41deba974a
- optimized restriction handlers;
2021-08-18 14:04:21 +03:00
Nikita Sinelnikov
8805d1fd6f
- fixed Invalid taxonomy issue in query;
2021-08-12 16:38:56 +03:00
Nikita Sinelnikov
c8a09caef4
- fixed posts query in the User Profile;
2021-08-12 15:57:21 +03:00
Nikita Sinelnikov
9d1414f488
- fixed restricted posts/terms query;
2021-08-12 12:53:30 +03:00
Nikita Sinelnikov
15f8f75780
- fixed visibility of a restricted taxonomy page in the nav menu;
2021-08-10 15:34:45 +03:00
Nikita Sinelnikov
0a15e221e1
- added hooks for individual checking post/term if it's restricted;
2021-08-09 14:43:13 +03:00
Nikita Sinelnikov
a61ee881e1
- added filters for extending restricted posts/terms IDs;
2021-08-09 14:38:21 +03:00
Nikita Sinelnikov
3c0e4d458d
- fixed search query and restricted posts. Avoid parsing posts via the search query
2021-08-06 14:52:50 +03:00
Nikita Sinelnikov
f2244a7383
- avoid restriction for the post author;
2021-08-06 14:25:05 +03:00
Nikita Sinelnikov
2d250cb6ee
- fixed 404 for attachments;
2021-08-05 19:16:10 +03:00