[wp-trac] [WordPress Trac] #38990: REST API: admin_email setting description is inaccurate

WordPress Trac noreply at wordpress.org
Thu Dec 1 03:56:56 UTC 2016


#38990: REST API: admin_email setting description is inaccurate
--------------------------------+--------------------------
 Reporter:  johnbillion         |       Owner:  rachelbaker
     Type:  defect (bug)        |      Status:  reopened
 Priority:  normal              |   Milestone:  4.7
Component:  Options, Meta APIs  |     Version:  trunk
 Severity:  normal              |  Resolution:
 Keywords:  needs-patch         |     Focuses:  rest-api
--------------------------------+--------------------------
Changes (by johnbillion):

 * keywords:  has-patch commit dev-reviewed => needs-patch
 * status:  closed => reopened
 * resolution:  fixed =>


Comment:

 Turns out the issue is a little more complex.

 On Multisite, the `admin_email` input field is ''actually'' for an option
 named `new_admin_email` which gets set immediately when the form is saved.
 Only after the user clicks the link in their confirmation email, does the
 actual `admin_email` option get updated.

 The REST API should use this same model to prevent users from accidentally
 changing their email address to something invalid.

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


More information about the wp-trac mailing list