Invision Community 4: SEO, prepare for v5 and dormant account notifications Matt November 11, 2024Nov 11
Posted June 6, 20168 yr 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.
June 27, 20168 yr Makes sense - I'll push in the change for 4.1.14 and perform some additional testing.
Archived
This topic is now archived and is closed to further replies.