1
0

For the future: Always indicate source of where frontend_display is called. Thanks to Karotte.

This commit is contained in:
Garvin Hicking
2007-07-08 20:07:41 +00:00
parent d419461f16
commit 7f7afb21a2
4 changed files with 8 additions and 4 deletions

@ -196,7 +196,8 @@ class serendipity_plugin_comments extends serendipity_plugin
$entry['comment'] = preg_replace('@((\[.*)[\n\r]+(.*\]))+@imsU', '\2\3', $entry['comment']);
$entry['comment'] = preg_replace('@((\[.+\].*)[\r\n]+(.*\[/.+\]))+@imsU', '\2\3', $entry['comment']);
}
serendipity_plugin_api::hook_event('frontend_display', $entry);
$addData = array('from' => 'serendipity_plugin_comments:generate_content');
serendipity_plugin_api::hook_event('frontend_display', $entry, $addData);
printf(
'<div class="plugin_comment_wrap">' . PLUGIN_COMMENTS_ABOUT . '</div>',