[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:32:04 UTC 2015
#33254: Access undefined $current_user in update_option_new_admin_email().
--------------------------------+------------------------
Reporter: Toro_Unit | Owner:
Type: defect (bug) | Status: new
Priority: low | Milestone: 4.3
Component: Networks and Sites | Version: 4.2
Severity: trivial | Resolution:
Keywords: has-patch commit | Focuses: multisite
--------------------------------+------------------------
Comment (by dd32):
+1 looks good to me.
I have a feeling the code was supposed to be using `global $current_user`
originally, but I have no issue with using the helper method instead.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/33254#comment:2>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list