Skip to:
Content
Pages
Categories
Search
Top
Bottom

Re: Adding an image to a topic?

@_ck_

Participant

MDA tried to put in code that prevented malformed image tags. Since bbPress uses raw html and not bbcode by default, it’s always something to consider. However you can run a minimal plugin to allow any and all images quite easily:

add_filter( 'bb_allowed_tags', 'allow_images_allowed_tags' );
function allow_images_allowed_tags( $tags ) {$tags['img'] = array('src' => array(), 'title' => array(), 'alt' => array()); return $tags; }

That’s all that’s needed to permit the image tag.

Skip to toolbar