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

WordPress Trac noreply at wordpress.org
Thu Sep 6 17:49:10 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.9
Component:  Privacy       |     Version:  4.9.6
 Severity:  normal        |  Resolution:
 Keywords:  has-patch     |     Focuses:
--------------------------+---------------------

Comment (by desrosj):

 The only problem with not deprecating one or both calls to this filter is
 that the developer is never informed that they are (at no fault of their
 own) using it incorrectly. Passing additional information to the filter
 corrects the mistake somewhat silently. A deprecated call will inform
 developers of the bug and give a clear path to proceed.

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


More information about the wp-trac mailing list