Invision Community 4: SEO, prepare for v5 and dormant account notifications By Matt Monday at 02:04 PM
CodingJungle Posted June 6, 2016 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.
bfarber Posted June 27, 2016 Posted June 27, 2016 Makes sense - I'll push in the change for 4.1.14 and perform some additional testing.
Recommended Posts
Archived
This topic is now archived and is closed to further replies.