[wp-trac] [WordPress Trac] #27006: New user "Send this password to the new user by email" toggle option value not remembered

WordPress Trac noreply at wordpress.org
Sun Feb 9 11:59:51 UTC 2014


#27006: New user "Send this password to the new user by email" toggle option value
not remembered
--------------------------------------+-----------------------------
 Reporter:  setsailmedia              |       Owner:  chriseverson
     Type:  defect (bug)              |      Status:  assigned
 Priority:  normal                    |   Milestone:  3.9
Component:  Users                     |     Version:  3.1
 Severity:  normal                    |  Resolution:
 Keywords:  good-first-bug has-patch  |     Focuses:  administration
--------------------------------------+-----------------------------
Changes (by SergeyBiryukov):

 * version:  3.8.1 => 3.1
 * milestone:  Awaiting Review => 3.9


Comment:

 Introduced in [16518].

 For consistency with "Skip Confirmation Email" checkbox in Multisite, we
 should probably just add `value="1"`:
 [source:tags/3.8.1/src/wp-admin/user-new.php#L418].

 `edit_user()` just checks if `$_POST['send_password']` is set, not the
 actual value:
 [source:tags/3.8.1/src/wp-admin/includes/user.php#L179]

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


More information about the wp-trac mailing list