Skip to:
Content
Pages
Categories
Search
Top
Bottom

Re: Why is BuddyPress stripping my object or embed tags?


peterverkooijen
Participant

@peterverkooijen

Solved it by adding the following under ‘allowedposttags = array’ in kses.php:

'object' => array (
'id' => array (),
'classid' => array (),
'data' => array (),
'type' => array (),
'width' => array (),
'height' => array (),
'allowfullscreen' => array ()),
'param' => array (
'name' => array (),
'value' => array ()),
'embed' => array (
'id' => array (),
'style' => array (),
'src' => array (),
'type' => array (),
'height' => array (),
'width' => array (),
'quality' => array (),
'name' => array (),
'flashvars' => array (),
'allowscriptaccess' => array (),
'allowfullscreen' => array ()),
'script' => array (
'type' => array ()),

Skip to toolbar