Patch applied manually
// user can read the page
if ( $this->areCommentsEnabled === self::COMMENTS_ENABLED &&
$output->getUser()->probablyCan( 'read', $title ) ) {
return $title;
Patch applied manually
// user can read the page
if ( $this->areCommentsEnabled === self::COMMENTS_ENABLED &&
$output->getUser()->probablyCan( 'read', $title ) ) {
return $title;