[buddypress-trac] [BuddyPress] #3113: Add $settings_link variable to the various email notification filters.

buddypress-trac at lists.automattic.com buddypress-trac at lists.automattic.com
Tue Mar 15 14:45:52 UTC 2011


#3113: Add $settings_link variable to the various email notification filters.
-------------------------+-------------------------------------------------
  Reporter:  nerrad      |      Owner:
      Type:              |     Status:  new
  enhancement            |  Milestone:  Awaiting Review
  Priority:  normal      |    Version:
 Component:  Messaging   |   Keywords:  notifications, filters, settings
Resolution:              |  link
-------------------------+-------------------------------------------------

Comment (by nerrad):

 Probably should show an example for reference:

 Currently in bp-messages-notifications.php we have:

 {{{
  #!php
 $email_content = apply_filters(
 'messages_notification_new_message_message', $email_content, $sender_name,
 $subject, $content, $message_link );
 }}}

 If we could change this to:

 {{{
 #!php
 $email_content = apply_filters(
 'messages_notification_new_message_message', $email_content, $sender_name,
 $subject, $content, $message_link, $settings_link );
 }}}

 Repeat for the other filters listed above. That would get the desired
 results and enable developers to better filter the text for directing
 email notification recipients to their settings page.

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


More information about the buddypress-trac mailing list