[wp-trac] [WordPress Trac] #45595: Filter 'sanitize_email' provides 2 times the same param

WordPress Trac noreply at wordpress.org
Wed Jan 16 06:15:45 UTC 2019


#45595: Filter 'sanitize_email' provides 2 times the same param
--------------------------+-----------------------------
 Reporter:  ChriCo        |       Owner:  SergeyBiryukov
     Type:  defect (bug)  |      Status:  closed
 Priority:  normal        |   Milestone:  5.1
Component:  Formatting    |     Version:  5.0
 Severity:  normal        |  Resolution:  fixed
 Keywords:  has-patch     |     Focuses:
--------------------------+-----------------------------
Changes (by pento):

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


Comment:

 In [changeset:"44620" 44620]:
 {{{
 #!CommitTicketReference repository="" revision="44620"
 Docs: Improve the `sanitize_email` filter.

 - Remove duplicate parameter names.
 - Fix the wrong value being passed in the second parameter.
 - Correct the type of the `$message` parameter.

 Props ChriCo.
 Fixes #45595.
 }}}

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


More information about the wp-trac mailing list