For the future: Always indicate source of where frontend_display is called. Thanks to Karotte.
This commit is contained in:
@ -274,7 +274,8 @@ function serendipity_printComments($comments, $parentid = 0, $depth = 0, $trace
|
||||
$comment['url'] = htmlspecialchars($comment['url'], ENT_QUOTES);
|
||||
}
|
||||
|
||||
serendipity_plugin_api::hook_event('frontend_display', $comment);
|
||||
$addData = array('from' => 'functions_entries:printComments');
|
||||
serendipity_plugin_api::hook_event('frontend_display', $comment, $addData);
|
||||
|
||||
if (isset($comment['no_email']) && $comment['no_email']) {
|
||||
$comment['email'] = false;
|
||||
|
Reference in New Issue
Block a user