Content Permission: HTML code in custom error message
-
If you need to insert html tags in your custom error message, you have to edit this file: plugins/members/includes/content-permissions.php
Search this line:
return apply_filters( 'members_post_error_message', $return );
and replace with:
return htmlspecialchars_decode( 'members_post_error_message', $return );
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘Content Permission: HTML code in custom error message’ is closed to new replies.