activity_allowedtags no longer working like before after Buddypress upgrade
-
I was using this piece of code to display some things in the Buddypress activity stream. It was all fine until I upgraded to version 1.9.2 yesterday.
$activity_allowedtags[‘div’][‘style’][‘width’] = array();
Earlier, <div class=”average” style=”width:80%”></div> was showing correctly in the stream. Since yesterday, all that shows is <div class=”average”></div>. The style and width tags are getting removed.
I’d be grateful if someone can help me out with this. I’ve tried various combinations including $activity_allowedtags[‘div’][‘style’] = array(‘width’ => array()); with no results.
I’m using WordPress version 3.8.1.
- The topic ‘activity_allowedtags no longer working like before after Buddypress upgrade’ is closed to new replies.