Commit Graph

148 Commits

Author SHA1 Message Date
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
Nikita Sinelnikov 290c3ad662 - fixed displaying ability to switch between users; 2021-08-05 17:13:05 +03:00
Nikita Sinelnikov 351e2ecb2d - fixed singular media page restrictions; 2021-08-05 17:06:39 +03:00
Nikita Sinelnikov a06072563a - added hook for ignore changing post title in the_title() function if the post is restricted; 2021-08-05 13:55:31 +03:00
Nikita Sinelnikov 2de04584e9 - fixed global access settings; 2021-08-04 14:07:15 +03:00
Nikita Sinelnikov a715660469 - fixed terms query; 2021-08-04 11:51:17 +03:00
Nikita Sinelnikov 49cf1d7f8d - 2.2.2 release; 2021-08-03 08:52:34 +03:00
Nikita Sinelnikov e5d5077c3f - fixed restrict access; 2021-08-02 13:46:14 +03:00
Nikita Sinelnikov c765d03ce4 - 2.2.1 prepare to the release; 2021-07-30 14:20:11 +03:00
yuriinalivaiko ce19c1fbdc Fix PHP notice that appears if parameter $id in the method UM()->access()->filter_restricted_post_title( $title, $id ) is empty. 2021-07-30 13:03:51 +03:00