[RSS Feed/News] Thread title is not included in content spam check

Status
Not open for further replies.

XenForo

Administrative
  • Thread starter
  • Admin
  • #1
When checking a thread for spam, the title is not included in the message that is checked for spam:

\XF\Service\Thread\Creator
PHP:

Code:
public function checkForSpam()
{
    if ($this->thread->discussion_state == 'visible' && $this->user->isSpamCheckRequired())
    {
        $this->postPreparer->checkForSpam();
    }
}

The post preparer service only checks the post (which does not have a title), so the title is missed.

This seems inconsistent (and most likely not what a user...

Read more

ادامه مطلب...
 
Status
Not open for further replies.
Back
Top Bottom