[buddypress-trac] [BuddyPress Trac] #5723: bp_notifications_get_unread_notification_count() doesn't work on some pages

buddypress-trac noreply at wordpress.org
Sat Jun 21 08:55:12 UTC 2014


#5723: bp_notifications_get_unread_notification_count() doesn't work on some pages
--------------------------+-----------------------------
 Reporter:  SGr33n        |      Owner:
     Type:  defect (bug)  |     Status:  new
 Priority:  normal        |  Milestone:  Awaiting Review
Component:  Core          |    Version:
 Severity:  normal        |   Keywords:
--------------------------+-----------------------------
 Hi,

 I just want to report a page where the
 bp_notifications_get_unread_notification_count() functions doesn't really
 work.

 Sorry but I can just explain what I did in order to reproduce.

 We are on the notifications page, where there are 4 unread notifications.
 I made a link to the single activity page, instead of the standard
 /mentions linked by bp_the_notification_description() ... so:

 http://ww2.site.com/activity/p/19/

 instead of:

 http://www.site.com/users/sgr33n/activity/mentions/

 Well, on http://ww2.site.com/activity/p/19/
 bp_notifications_get_unread_notification_count() returns 0 (should return
 3 in the given example). Anyway on all the other pages returns 3 (4
 initial, minus the one I visited).

 Thanks :)

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


More information about the buddypress-trac mailing list