[wp-trac] [WordPress Trac] #33358: Passwords: Second param of wp_new_user_notification() has been removed

WordPress Trac noreply at wordpress.org
Fri Aug 14 20:44:22 UTC 2015


#33358: Passwords: Second param of wp_new_user_notification() has been removed
-------------------------------------+--------------------------
 Reporter:  ocean90                  |       Owner:  markjaquith
     Type:  defect (bug)             |      Status:  reviewing
 Priority:  normal                   |   Milestone:  4.3
Component:  Users                    |     Version:  trunk
 Severity:  normal                   |  Resolution:
 Keywords:  has-patch needs-testing  |     Focuses:
-------------------------------------+--------------------------

Comment (by markjaquith):

 Replying to [comment:7 valendesigns]:
 > @ocean90 what other values would this param except as valid besides
 `both`?

 We could add `'admin'` as an alias for `''` (empty, which will skip the
 user e-mail). And then for back compat, any other non-empty value means
 `'both'` (as the patch currently does). Doing that now.

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


More information about the wp-trac mailing list