[buddypress-trac] [BuddyPress Trac] #9169: Correct behavior of bp_email_set_content_type filter.

buddypress-trac noreply at wordpress.org
Tue Jun 4 22:47:38 UTC 2024


#9169: Correct behavior of bp_email_set_content_type filter.
------------------------------+---------------------
 Reporter:  dcavins           |       Owner:  DJPaul
     Type:  defect (bug)      |      Status:  closed
 Priority:  normal            |   Milestone:  14.0.0
Component:  Emails            |     Version:  12.5.0
 Severity:  normal            |  Resolution:  fixed
 Keywords:  has-patch commit  |
------------------------------+---------------------
Changes (by dcavins):

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


Comment:

 In [changeset:"13905" 13905]:
 {{{
 #!CommitTicketReference repository="" revision="13905"
 Ensure that bp_email_set_content_type filter is run.

 This patch sets the email type explicitly when the `BP_Email` class is
 constructed. This ensures that
 the filter is run.

 It is still possible to set the type after
 instantiation using the `set_content_type()` method.

 Props vapvarun.

 Fixes #9169.
 }}}

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


More information about the buddypress-trac mailing list