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

WordPress Trac noreply at wordpress.org
Tue Aug 4 07:45:55 UTC 2015


#33254: Access undefined $current_user in update_option_new_admin_email().
--------------------------------+-----------------------------
 Reporter:  Toro_Unit           |      Owner:
     Type:  defect (bug)        |     Status:  new
 Priority:  normal              |  Milestone:  Awaiting Review
Component:  Networks and Sites  |    Version:  trunk
 Severity:  normal              |   Keywords:
  Focuses:  multisite           |
--------------------------------+-----------------------------
 in update_option_new_admin_email.

 {{{
         $content = str_replace( '###USERNAME###',
 $current_user->user_login, $content );
 }}}

 But undefined value $current_user.

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


More information about the wp-trac mailing list