Only "unfiltered_html" users can insert images correctly. bbP 2.2.4, WP 3.5.1
-
I don’t know if this is a known issue. At least there’s nothing mysterious about it. So I was just hoping to hear what bbP core developers think of it.
Because WP doesn’t include img tags in the standard $allowedtags array, only users with the quite powerful “unfiltered_html” capability will not see their img tags stripped out after having so nicely inserted them in their forum post with the new media manager.
This can be fixed of course by adding the img tag to the $allowedtags array. Including the “class” attribute, because this is used to position and style the image.
But is there any plans to have this fix included within bbP? And if so, if not, I assume that allowing the class attribute of the img tag would also mean only allowing the specific class names that bbP/WP uses, so user’s can’t just insert any class name they’d fancy.
- You must be logged in to reply to this topic.