[buddypress-trac] [BuddyPress Trac] #6663: Allow plugins to format profile-related notifications.

buddypress-trac noreply at wordpress.org
Wed Oct 14 23:05:11 UTC 2015


#6663: Allow plugins to format profile-related notifications.
----------------------------------+------------------------------
 Reporter:  dcavins               |       Owner:  dcavins
     Type:  enhancement           |      Status:  accepted
 Priority:  normal                |   Milestone:  Awaiting Review
Component:  Component - XProfile  |     Version:  2.3.3
 Severity:  normal                |  Resolution:
 Keywords:  has-patch             |
----------------------------------+------------------------------
Changes (by dcavins):

 * owner:   => dcavins
 * status:  new => accepted


Comment:

 Hi @r-a-y-

 Using `profile` for the `component_name` in the notification _would_ avoid
 the first issue at about line 200 (and a note in the format callback would
 help devs know what to use). The second piece at about line 600 comes from
 the keys in `$bp->active_components`. (It's weird that the
 `active_components` uses `profile` for its key, but `$bp` doesn't, ha ha.)

 Thanks for your input!

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


More information about the buddypress-trac mailing list