[wp-trac] [WordPress Trac] #19615: Deprecate get_currentuserinfo()

WordPress Trac noreply at wordpress.org
Fri Jan 15 10:46:40 UTC 2016


#19615: Deprecate get_currentuserinfo()
------------------------------+-------------------------
 Reporter:  scribu            |       Owner:  swissspidy
     Type:  enhancement       |      Status:  closed
 Priority:  normal            |   Milestone:  4.5
Component:  Users             |     Version:
 Severity:  normal            |  Resolution:  fixed
 Keywords:  has-patch commit  |     Focuses:  docs
------------------------------+-------------------------

Comment (by swissspidy):

 In [changeset:"36313"]:
 {{{
 #!CommitTicketReference repository="" revision="36313"
 Users: Always return `$current_user` in `wp_get_current_user()`, never a
 boolean.

 Fixes unit tests affected by [36311].

 See #19615.
 }}}

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


More information about the wp-trac mailing list