[wp-trac] [WordPress Trac] #44293: Discrepancy between documentation and implementation of wp_new_user_notification()

WordPress Trac noreply at wordpress.org
Wed Jan 16 04:26:53 UTC 2019


#44293: Discrepancy between documentation and implementation of
wp_new_user_notification()
-------------------------------------------------+-------------------------
 Reporter:  360zen                               |       Owner:  pento
     Type:  defect (bug)                         |      Status:  closed
 Priority:  normal                               |   Milestone:  5.1
Component:  Users                                |     Version:  4.3
 Severity:  minor                                |  Resolution:  fixed
 Keywords:  good-first-bug has-patch dev-        |     Focuses:
  feedback needs-unit-tests needs-refresh        |
-------------------------------------------------+-------------------------
Changes (by pento):

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


Comment:

 In [changeset:"44611" 44611]:
 {{{
 #!CommitTicketReference repository="" revision="44611"
 Users: Add extra checking to `wp_new_user_notification()`.

 Prevent a notification from being sent when an unrecognised value is
 passed in the `$notify` parameter.

 Props cthreelabs, 360zen.
 Fixes #44293.
 }}}

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


More information about the wp-trac mailing list