[buddypress-trac] [BuddyPress Trac] #5403: Bug in the notifications

buddypress-trac noreply at wordpress.org
Mon Feb 17 16:01:23 UTC 2014


#5403: Bug in the notifications
---------------------------+-----------------------
 Reporter:  elpix          |       Owner:
     Type:  defect (bug)   |      Status:  reopened
 Priority:  low            |   Milestone:
Component:  Notifications  |     Version:  1.9.2
 Severity:  minor          |  Resolution:
 Keywords:                 |
---------------------------+-----------------------

Comment (by lenasterg):

 Or another solution is to replace at line 30 of bp-notifications/bp-
 notifications-buddybar.php the
 '''bp_notifications_get_notifications_for_user()'''

 {{{
 if ( $notifications = bp_notifications_get_notifications_for_user(
 bp_loggedin_user_id() ) ) : ?>
 }}}

 with '''bp_notifications_get_unread_notification_count()''' which will
 return integer.

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


More information about the buddypress-trac mailing list