Update plugin.php
This commit is contained in:
parent
b921662fd8
commit
b4caeb435a
|
@ -55,7 +55,7 @@ class pluginDisqus extends Plugin {
|
||||||
if ( !$url->notFound() &&
|
if ( !$url->notFound() &&
|
||||||
( $url->whereAmI()=='page' &&
|
( $url->whereAmI()=='page' &&
|
||||||
(($this->getValue('enablePosts') && $page->published()) ||
|
(($this->getValue('enablePosts') && $page->published()) ||
|
||||||
($this->getValue('enablePages') && $page->static()))
|
($this->getValue('enablePages') && $page->isStatic()))
|
||||||
) &&
|
) &&
|
||||||
$page->allowComments() ) {
|
$page->allowComments() ) {
|
||||||
$html = '<div id="disqus_thread"></div>';
|
$html = '<div id="disqus_thread"></div>';
|
||||||
|
|
Loading…
Reference in New Issue