[buddypress-trac] [BuddyPress Trac] #7668: Remove loggedin_user duplicate check for messages_check_thread_access()

buddypress-trac noreply at wordpress.org
Thu Jan 25 02:41:22 UTC 2018


#7668: Remove loggedin_user duplicate check for messages_check_thread_access()
-------------------------+-----------------------
 Reporter:  espellcaste  |      Owner:
     Type:  enhancement  |     Status:  new
 Priority:  normal       |  Milestone:  3.0
Component:  Messages     |    Version:
 Severity:  normal       |   Keywords:  has-patch
-------------------------+-----------------------
 On `messages_check_thread_access()`, the function is using a check for the
 logged in user that already happens on the
 `BP_Messages_Thread::check_access`.

 I don't see why, so I'm suggesting to remove it.

--
Ticket URL: <https://buddypress.trac.wordpress.org/ticket/7668>
BuddyPress Trac <http://buddypress.org/>
BuddyPress Trac


More information about the buddypress-trac mailing list