Opened 12 years ago
Closed 12 years ago
#4860 closed enhancement (fixed)
Allow Notification callbacks to be methods and not functions only
Reported by: |
|
Owned by: |
|
---|---|---|---|
Milestone: | 1.8 | Priority: | normal |
Severity: | normal | Version: | 1.7 |
Component: | Toolbar & Notifications | Keywords: | has-patch commit |
Cc: |
Description
Hi,
currently, the notification rendering mechanism in BuddyPress needs the notification_callback to be a function and does not render it if we register a method on some object.
We need to change function_exists to is_callable.
here is a patch attached against r6829
Attachments (1)
Change History (4)
Note: See
TracTickets for help on using
tickets.
In 7173: