CodingJungle Posted June 6, 2016 Share Posted June 6, 2016 public static function parseStatic( $value, $bbcode=FALSE, $attachIds=NULL, $member=NULL, $area=FALSE, $filterProfanity=TRUE, $cleanHtml=TRUE, $htmlPurifierConfig=NULL ) { $obj = new self( $bbcode, $attachIds, $member, $area, $filterProfanity, $cleanHtml, $htmlPurifierConfig ); return $obj->parse( $value ); } shouldn't this be calling static instead of self? due to LSB, hooks are ignored here, so you can't "overload" and add in custom bbc or use modified functions. Link to comment Share on other sites More sharing options...
bfarber Posted June 27, 2016 Share Posted June 27, 2016 Makes sense - I'll push in the change for 4.1.14 and perform some additional testing. Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.