From a9dd6f86c7f0701adb7e74402add5976fea0f6da Mon Sep 17 00:00:00 2001 From: brockhaus Date: Fri, 27 Jul 2007 11:22:30 +0000 Subject: [PATCH] plugin_comments: Hand over author to other plugins, too. --- .../serendipity_plugin_comments.php | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/plugins/serendipity_plugin_comments/serendipity_plugin_comments.php b/plugins/serendipity_plugin_comments/serendipity_plugin_comments.php index e7da85b..fb1218a 100644 --- a/plugins/serendipity_plugin_comments/serendipity_plugin_comments.php +++ b/plugins/serendipity_plugin_comments/serendipity_plugin_comments.php @@ -21,8 +21,8 @@ class serendipity_plugin_comments extends serendipity_plugin $propbag->add('name', COMMENTS); $propbag->add('description', PLUGIN_COMMENTS_BLAHBLAH); $propbag->add('stackable', true); - $propbag->add('author', 'Garvin Hicking/Tadashi Jokagi/Judebert'); - $propbag->add('version', '1.10'); + $propbag->add('author', 'Garvin Hicking, Tadashi Jokagi, Judebert, G. Brockhaus'); + $propbag->add('version', '1.11'); $propbag->add('requirements', array( 'serendipity' => '0.8', 'smarty' => '2.6.7', @@ -189,7 +189,8 @@ class serendipity_plugin_comments extends serendipity_plugin } $entry = array('comment' => $comment, 'email' => $row['comment_email'], - 'url' => $row['comment_url']); + 'url' => $row['comment_url'], + 'author' => $row['user']); // Let's help the BBCOde plugin a bit: if (class_exists('serendipity_event_bbcode')) { -- 2.39.5