Update plugin.php
This commit is contained in:
parent
6e66fc28a4
commit
613d6103a0
@ -49,9 +49,9 @@ class pluginDisqus extends Plugin {
|
||||
}
|
||||
|
||||
if ( !$Url->notFound() &&
|
||||
(
|
||||
($this->getDbField('enablePosts') && $Page->status()=='published') ||
|
||||
($this->getDbField('enablePages') && $Page->status()=='static')
|
||||
( $Url->whereAmI()=='page' &&
|
||||
(($this->getDbField('enablePosts') && $Page->status()=='published') ||
|
||||
($this->getDbField('enablePages') && $Page->status()=='static'))
|
||||
) &&
|
||||
$page->allowComments() ) {
|
||||
$html = '<div id="disqus_thread"></div>';
|
||||
|
Loading…
Reference in New Issue
Block a user