Title: get_currentuserinfo error
Last modified: September 1, 2016

---

# get_currentuserinfo error

 *  [netomax](https://wordpress.org/support/users/netomax/)
 * (@netomax)
 * [9 years, 9 months ago](https://wordpress.org/support/topic/get_currentuserinfo-error-1/)
 * Hi,
 * I noticed that in WP 4.6 with a neww theme I used I get this error:
    “Notice:
   get_currentuserinfo() is deprecated since version 4.5.0! Use wp_get_current_user()”
   I have found that get_currentuserinfo() is used in the the file /inc/class-comment-
   email-links line 49. I replaced it on my site, and now have no more notice showing.
 * If this can help 🙂
 * Hubert
 * [https://wordpress.org/plugins/yoast-comment-hacks/](https://wordpress.org/plugins/yoast-comment-hacks/)

The topic ‘get_currentuserinfo error’ is closed to new replies.

 * ![](https://ps.w.org/yoast-comment-hacks/assets/icon.svg?rev=3359924)
 * [Comment Experience by Progress Planner](https://wordpress.org/plugins/yoast-comment-hacks/)
 * [Support Threads](https://wordpress.org/support/plugin/yoast-comment-hacks/)
 * [Active Topics](https://wordpress.org/support/plugin/yoast-comment-hacks/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/yoast-comment-hacks/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/yoast-comment-hacks/reviews/)

## Tags

 * [get_currentuserinfo](https://wordpress.org/support/topic-tag/get_currentuserinfo/)

 * 0 replies
 * 1 participant
 * Last reply from: [netomax](https://wordpress.org/support/users/netomax/)
 * Last activity: [9 years, 9 months ago](https://wordpress.org/support/topic/get_currentuserinfo-error-1/)
 * Status: not resolved