Opened 14 years ago
Closed 13 years ago
#4860 closed enhancement (fixed)
Allow Notification callbacks to be methods and not functions only
| Reported by: | sbrajesh | Owned by: | boonebgorges |
|---|---|---|---|
| Priority: | normal | Milestone: | 1.8 |
| Component: | Toolbar & Notifications | Version: | 1.7 |
| Severity: | normal | 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.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)
In 7173: