BUG: showComment function
-
UserAccessManager.class.php
As per function _getPost, function showComment needs similar adding to prevent php undefinded index errors with other plugins like woocommerce / other custom post types.
if ($this->getAccessHandler()->isPostableType($sPostType) && $sPostType != ‘post’ && $sPostType != ‘page’) {
$sPostType = ‘post’;
} elseif ($sPostType != ‘post’ && $sPostType != ‘page’) {
return $aComments;
}ver 1.2.6.6
The topic ‘BUG: showComment function’ is closed to new replies.