[wp-trac] [WordPress Trac] #44314: `user_confirmed_action_email_content` filter run on two different strings

WordPress Trac noreply at wordpress.org
Tue Jun 19 05:55:45 UTC 2018


#44314: `user_confirmed_action_email_content` filter run on two different strings
--------------------------+---------------------
 Reporter:  desrosj       |       Owner:  (none)
     Type:  defect (bug)  |      Status:  new
 Priority:  normal        |   Milestone:  4.9.7
Component:  Privacy       |     Version:  4.9.6
 Severity:  normal        |  Resolution:
 Keywords:  needs-patch   |     Focuses:
--------------------------+---------------------
Changes (by DrewAPicture):

 * keywords:  has-patch => needs-patch


Comment:

 I don't think we should break back-compat here ''particularly'' because
 this was introduced in a point release.

 I think the best option here is to probably introduce a third `$context`
 parameter so that callbacks can differentiate between the different ways
 the filter is being evaluated.

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


More information about the wp-trac mailing list