[buddypress-trac] [BuddyPress Trac] #7843: "The page isn't redirecting properly" when clicking activity

buddypress-trac noreply at wordpress.org
Sun May 20 18:18:51 UTC 2018


#7843: "The page isn't redirecting properly" when clicking activity
--------------------------+---------------------
 Reporter:  jameshh93     |       Owner:  (none)
     Type:  defect (bug)  |      Status:  new
 Priority:  normal        |   Milestone:  3.0.1
Component:  Activity      |     Version:  3.0.0
 Severity:  major         |  Resolution:
 Keywords:  has-patch     |
--------------------------+---------------------
Changes (by r-a-y):

 * keywords:  needs-patch => has-patch


Comment:

 The problem is with the `bp_activity_user_can_read()` function.  It
 doesn't check for unauthenticated users.

 In `01.patch`, I suggest setting the default return value to `true` and
 doing checks for conditions that require `false `values.  I've also added
 a check for spammed activity items, which is missing from v3.0.

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


More information about the buddypress-trac mailing list