[wp-trac] [WordPress Trac] #36517: Notice of deprecated since 4.5 pops up in core

WordPress Trac noreply at wordpress.org
Wed Apr 13 21:03:22 UTC 2016


#36517: Notice of deprecated since 4.5 pops up in core
--------------------------+------------------------------
 Reporter:  RDall         |       Owner:
     Type:  defect (bug)  |      Status:  new
 Priority:  normal        |   Milestone:  Awaiting Review
Component:  General       |     Version:  4.5
 Severity:  normal        |  Resolution:
 Keywords:  close         |     Focuses:
--------------------------+------------------------------
Changes (by swissspidy):

 * keywords:   => close


Comment:

 `get_currentuserinfo()` was deprecated as part of #19615.

 If a theme is using this function, it needs to be updated to use
 `wp_get_current_user()` instead. The notice mentions `wp-includes` because
 this is the place `get_currentuserinfo()` is located in. However, it's the
 theme developer's responsibility to actually update his code.

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


More information about the wp-trac mailing list