Title: Deprecated function get_currentuserinfo
Last modified: August 31, 2016

---

# Deprecated function get_currentuserinfo

 *  Resolved [Luke Mlsna](https://wordpress.org/support/users/bitacre/)
 * (@bitacre)
 * [10 years, 1 month ago](https://wordpress.org/support/topic/deprecated-function-get_currentuserinfo-2/)
 * `get_currentuserinfo()` is deprecated as of 4.5 and throws errors if WP_DEBUG
   is set. Just need to replace one instance with `wp_get_current_user()` in `pretty-
   link/prli-main.php`
 * [https://wordpress.org/plugins/pretty-link/](https://wordpress.org/plugins/pretty-link/)

Viewing 2 replies - 1 through 2 (of 2 total)

 *  [blindpet](https://wordpress.org/support/users/blindpet/)
 * (@blindpet)
 * [10 years, 1 month ago](https://wordpress.org/support/topic/deprecated-function-get_currentuserinfo-2/#post-7281107)
 * Just came to report this, hope it’s resolved soon
 *  Plugin Author [cartpauj](https://wordpress.org/support/users/cartpauj/)
 * (@cartpauj)
 * [10 years, 1 month ago](https://wordpress.org/support/topic/deprecated-function-get_currentuserinfo-2/#post-7281112)
 * Thanks, looks like this is deprecated as of WP 4.5 – it’s not a major issue at
   this point as it still works, but we will be updating the code to use the newer
   wp_get_current_user() method instead.

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘Deprecated function get_currentuserinfo’ is closed to new replies.

 * ![](https://ps.w.org/pretty-link/assets/icon-256x256.png?rev=2503434)
 * [PrettyLinks - Affiliate Links, Link Branding, Link Tracking, Marketing and Stripe Payments Plugin](https://wordpress.org/plugins/pretty-link/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/pretty-link/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/pretty-link/)
 * [Active Topics](https://wordpress.org/support/plugin/pretty-link/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/pretty-link/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/pretty-link/reviews/)

## Tags

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

 * 2 replies
 * 3 participants
 * Last reply from: [cartpauj](https://wordpress.org/support/users/cartpauj/)
 * Last activity: [10 years, 1 month ago](https://wordpress.org/support/topic/deprecated-function-get_currentuserinfo-2/#post-7281112)
 * Status: resolved