[RSS Feed/News] Widget with profile posts cause N+1 additional queries to database

Status
Not open for further replies.

XenForo

Administrative
  • Thread starter
  • Admin
  • #1
This applies also to another places in XF where bb code renders and where user is passed as context, if PermissionCombination isn't cached.
In XF\BbCode\Renderer\Html::setupRenderOptions(), calls method XF\Entity\User::isLinkTrusted() what causes fetching permission cache for required user. Profile post finder in XF\Widget\NewProfilePosts don't requests relation PermissionCombination for our user, what causes additional query for isLinkTrusted() call...

Read more

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