Merge branch 'master' of github.com:dignajar/bludit
This commit is contained in:
commit
130dbb22e8
|
@ -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