]> git.mjollnir.org Git - s9y.git/commitdiff
plugin_comments: Hand over author to other plugins, too.
authorbrockhaus <brockhaus>
Fri, 27 Jul 2007 10:49:30 +0000 (10:49 +0000)
committerbrockhaus <brockhaus>
Fri, 27 Jul 2007 10:49:30 +0000 (10:49 +0000)
plugins/serendipity_plugin_comments/serendipity_plugin_comments.php

index e7da85bcff2717693a3db0ff265efdd163ce8dcb..fb1218aec5c68e70bbd74e2b2f8dcbaa80aa5e3e 100644 (file)
@@ -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')) {