plugin_comment displays trackbacks *and* pingbacks in trackback only mode now.
This commit is contained in:
@@ -139,7 +139,7 @@ class serendipity_plugin_comments extends serendipity_plugin
|
|||||||
if ($this->get_config('viewmode') == 'comments') {
|
if ($this->get_config('viewmode') == 'comments') {
|
||||||
$viewtype .= ' AND c.type = \'NORMAL\'';
|
$viewtype .= ' AND c.type = \'NORMAL\'';
|
||||||
} elseif ($this->get_config('viewmode') == 'trackbacks') {
|
} elseif ($this->get_config('viewmode') == 'trackbacks') {
|
||||||
$viewtype .= ' AND c.type = \'TRACKBACK\'';
|
$viewtype .= ' AND (c.type = \'TRACKBACK\' OR c.type = \'PINGBACK\')';
|
||||||
}
|
}
|
||||||
|
|
||||||
$q = 'SELECT c.body AS comment,
|
$q = 'SELECT c.body AS comment,
|
||||||
|
|||||||
Reference in New Issue
Block a user