[buddypress-trac] [BuddyPress] #2568: [patch] Compose Private Message Filtering

buddypress-trac at lists.automattic.com buddypress-trac at lists.automattic.com
Wed Aug 4 18:44:42 UTC 2010


#2568: [patch] Compose Private Message Filtering
-----------------------+----------------------------------------------------
 Reporter:  jeffsayre  |       Owner:  jeffsayre                             
     Type:  defect     |      Status:  new                                   
 Priority:  major      |   Milestone:  1.2.6                                 
Component:  Core       |    Keywords:  has-patch, privacy, filters, messaging
-----------------------+----------------------------------------------------

Comment(by jeffsayre):

 r-a-y

 Yes, I am aware of the action hook within bp-messages-classes.php. My
 patch allows for filtering before the message is sent as well. Except it
 does so with a new filter hook added to bp-messages.php. It uses the
 recipient list after the two recipient arrays are merged (the autocomplete
 recipient array and the manually entered recipient array).

 I think a filter added to bp-messages.php is easier for most theme
 designers to use as some feel confused by action and filter hooks in class
 files--the code in a class file can scare people. This extends BuddyPress,
 making it more template-designer friendly.

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


More information about the buddypress-trac mailing list