[buddypress-trac] [BuddyPress Trac] #6506: Should not try to redirect in bp_has_message_threads

buddypress-trac noreply at wordpress.org
Mon Jun 15 21:01:32 UTC 2015


#6506: Should not try to redirect in bp_has_message_threads
-----------------------------------+------------------------------
 Reporter:  johnjamesjacoby        |       Owner:  johnjamesjacoby
     Type:  defect (bug)           |      Status:  closed
 Priority:  normal                 |   Milestone:  2.4
Component:  Component - Messaging  |     Version:  1.0
 Severity:  normal                 |  Resolution:  fixed
 Keywords:  commit                 |
-----------------------------------+------------------------------
Changes (by johnjamesjacoby):

 * owner:   => johnjamesjacoby
 * status:  new => closed
 * resolution:   => fixed


Comment:

 In [changeset:"9946"]:
 {{{
 #!CommitTicketReference repository="" revision="9946"
 Messages: Remove unused redirect in `bp_has_message_threads()`.

 This change prevents a debug notice for themes with built-in BuddyPress
 support, by removing a tightly-scoped redirect attempt that only occurs
 after page output has already started. It also removes a superfluous
 `bp_moderate` capability check from the message notices screen function,
 as that function is only hooked in if the user has `bp_moderate`
 previously.

 Fixes #6506 (in trunk, for 2.4)
 }}}

--
Ticket URL: <https://buddypress.trac.wordpress.org/ticket/6506#comment:11>
BuddyPress Trac <http://buddypress.org/>
BuddyPress Trac


More information about the buddypress-trac mailing list