[wp-trac] [WordPress Trac] #44382: Filter the subject within _wp_privacy_send_request_confirmation_notification

WordPress Trac noreply at wordpress.org
Sun Jun 17 18:22:51 UTC 2018


#44382: Filter the subject within
_wp_privacy_send_request_confirmation_notification
-----------------------------+------------------------------
 Reporter:  garrett-eclipse  |       Owner:  (none)
     Type:  defect (bug)     |      Status:  new
 Priority:  normal           |   Milestone:  Awaiting Review
Component:  Privacy          |     Version:  trunk
 Severity:  normal           |  Resolution:
 Keywords:                   |     Focuses:  privacy
-----------------------------+------------------------------

Comment (by birgire):

 Yes, it looks like it's missing.

 [attachment:44382.diff] is a suggestion that adds the filter
 {{{user_request_confirmed_email_subject}}} for the subject of the user
 request confirmation email.

 It also moves the {{{$subject}}} assigning down, to have it near the new
 filter, similar to  {{{wp_send_user_request()}}}. It looks save to me. I
 will though most likely revert this to keep the patch as simple as
 possible. Just wanted to get some opinion on this ;-)

 @garrett-eclipse What do you think about that?

 PS: A related ticket is #44265, that adds an email subject filter within
 {{{_wp_privacy_send_erasure_fulfillment_notification()}}}

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/44382#comment:2>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list