[buddypress-trac] [BuddyPress] #5266: Replace older notification functions with new bp-notifications functions (was: Replace bp_core_mark_notifications_by_X() functions with native bp-notification functions)

buddypress-trac noreply at wordpress.org
Thu Nov 28 02:45:54 UTC 2013


#5266: Replace older notification functions with new bp-notifications functions
---------------------------+------------------
 Reporter:  r-a-y          |       Owner:
     Type:  defect (bug)   |      Status:  new
 Priority:  normal         |   Milestone:  1.9
Component:  Notifications  |     Version:
 Severity:  normal         |  Resolution:
 Keywords:  has-patch      |
---------------------------+------------------
Description changed by r-a-y:

Old description:

> Stemming from ticket:5259#comment:6, we should replace the recently-
> introduced notification wrapper functions
> (`bp_core_mark_notifications_by_X()`) functions for the native bp-
> notifications functions (`bp_notifications_mark_notifications_by_X()`)
> that were specifically written for the new component.
>
> There is no need to introduce wrapper functions when we can just use the
> new ones.

New description:

 Stemming from ticket:5259#comment:6, we should use the new bp-
 notifications functions instead of the older ones in bp-member-
 notifications.php.

 The attached patch also replaces the recently-introduced notification
 wrapper functions (`bp_core_mark_notifications_by_X()`) functions for the
 native ones (`bp_notifications_mark_notifications_by_X()`) that were
 specifically written for the new component.

--

--
Ticket URL: <https://buddypress.trac.wordpress.org/ticket/5266#comment:1>
BuddyPress <http://buddypress.org/>
BuddyPress


More information about the buddypress-trac mailing list