[wp-trac] [WordPress Trac] #33254: Access undefined $current_user in update_option_new_admin_email().

WordPress Trac noreply at wordpress.org
Tue Aug 4 11:38:55 UTC 2015


#33254: Access undefined $current_user in update_option_new_admin_email().
--------------------------------+------------------------
 Reporter:  Toro_Unit           |       Owner:  ocean90
     Type:  defect (bug)        |      Status:  closed
 Priority:  low                 |   Milestone:  4.3
Component:  Networks and Sites  |     Version:  4.2
 Severity:  trivial             |  Resolution:  fixed
 Keywords:  has-patch commit    |     Focuses:  multisite
--------------------------------+------------------------
Changes (by ocean90):

 * owner:   => ocean90
 * status:  new => closed
 * resolution:   => fixed


Comment:

 In [changeset:"33569"]:
 {{{
 #!CommitTicketReference repository="" revision="33569"
 Multisite mails: Initialize `$current_user` before accessing
 `$current_user->user_login`.

 props Toro_Unit.
 see #31217.
 fixes #33254.
 }}}

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


More information about the wp-trac mailing list