Re: Make users able to use brackets in their posts
Individual inequality signs seem to work OK.
Are you trying to allow users to post HTML code? That’s a different beast altogether. If you want to allow them to place HTML *elements* in their status updates, etc (eg so that they can make a piece of text bold by putting strong tags around it), you’ll want to add those tags one by one to the kses filters for individual components. See, for example, buddypress/bp-activity/bp-activity-filters.php, bp_activity_filter_kses(). You can either remove that filter altogether (by dropping
remove_filter( 'bp_get_activity_content_body', 'bp_activity_filter_kses', 1 );
remove_filter( 'bp_get_activity_content', 'bp_activity_filter_kses', 1 );
into a bp-custom.php or functions.php file), or you can put a filter on bp_activity_allowed_tags to allow individual tags through.
If you’re trying to allow your users to post *code*, make sure that you include the code
and pre
tags in your kses filter.