[buddypress-trac] [BuddyPress] #4860: Allow Notification callbacks to be methods and not functions only

buddypress-trac noreply at wordpress.org
Thu Jun 6 23:33:24 UTC 2013


#4860: Allow Notification callbacks to be methods and not functions only
------------------------------+---------------------------
 Reporter:  sbrajesh          |       Owner:  boonebgorges
     Type:  enhancement       |      Status:  closed
 Priority:  normal            |   Milestone:  1.8
Component:  Notifications     |     Version:  1.7
 Severity:  normal            |  Resolution:  fixed
 Keywords:  has-patch commit  |
------------------------------+---------------------------
Changes (by boonebgorges):

 * owner:   => boonebgorges
 * status:  new => closed
 * resolution:   => fixed


Comment:

 In [changeset:"7173"]:
 {{{
 #!CommitTicketReference repository="" revision="7173"
 Use is_callable() to validate notification_callback

 This allows the full gamut of callable formats to be used as notification
 callbacks - eg, array( $my_object, 'my_callback' )

 Fixes #4860

 Props sbrajesh
 }}}

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


More information about the buddypress-trac mailing list