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

---

# Deprecated function get_currentuserinfo()

 *  Resolved [Dagmar](https://wordpress.org/support/users/fraudiebels/)
 * (@fraudiebels)
 * [10 years, 1 month ago](https://wordpress.org/support/topic/deprecated-function-get_currentuserinfo/)
 * Hi,
 * just found out that the function `get_currentuserinfo()` has been deprecated 
   in WordPress 4.5.
    ([https://codex.wordpress.org/Function_Reference/get_currentuserinfo](https://codex.wordpress.org/Function_Reference/get_currentuserinfo))
 * AIOSEO (Vers. 2.3.4) still uses this function in _aioseop\_class.php_ on line
   2170. Would be great if you would consider to use the new function `wp_get_current_user()`
   instead in an upcoming update. Thanks.
 * All the best,
    fraudiebels
 * [https://wordpress.org/plugins/all-in-one-seo-pack/](https://wordpress.org/plugins/all-in-one-seo-pack/)

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

 *  [Michael Torbert](https://wordpress.org/support/users/hallsofmontezuma/)
 * (@hallsofmontezuma)
 * WordPress Virtuoso
 * [10 years, 1 month ago](https://wordpress.org/support/topic/deprecated-function-get_currentuserinfo/#post-7269514)
 * Hi Fraudiebels,
 * I’m not sure how we missed this. Thank you for reporting it. This will be in 
   our next update.
 * Michael
 *  Thread Starter [Dagmar](https://wordpress.org/support/users/fraudiebels/)
 * (@fraudiebels)
 * [10 years, 1 month ago](https://wordpress.org/support/topic/deprecated-function-get_currentuserinfo/#post-7269519)
 * Hi Michael,
 * great! Thanks for coming back to me so quickly.
 * fraudiebels
 *  Thread Starter [Dagmar](https://wordpress.org/support/users/fraudiebels/)
 * (@fraudiebels)
 * [10 years, 1 month ago](https://wordpress.org/support/topic/deprecated-function-get_currentuserinfo/#post-7269914)
 * Hi Michael,
 * I see vers. 2.3.4.1 is out and _aioseop\_class.php_ has been changed, but `get_currentuserinfo()`
   is still in there.
 * fraudiebels
 *  [Michael Torbert](https://wordpress.org/support/users/hallsofmontezuma/)
 * (@hallsofmontezuma)
 * WordPress Virtuoso
 * [10 years, 1 month ago](https://wordpress.org/support/topic/deprecated-function-get_currentuserinfo/#post-7269928)
 * Hi fraudiebels,
 * Thank you for the reminder.
 * This will be in the 2.3.4.2 release.
    [https://github.com/semperfiwebdesign/all-in-one-seo-pack/issues/184](https://github.com/semperfiwebdesign/all-in-one-seo-pack/issues/184)
 *  [becky.absolute](https://wordpress.org/support/users/beckyabsolute/)
 * (@beckyabsolute)
 * [10 years ago](https://wordpress.org/support/topic/deprecated-function-get_currentuserinfo/#post-7269949)
 * Any idea when the 2.3.4.2 update will be pushed out?
 *  [Michael Torbert](https://wordpress.org/support/users/hallsofmontezuma/)
 * (@hallsofmontezuma)
 * WordPress Virtuoso
 * [10 years ago](https://wordpress.org/support/topic/deprecated-function-get_currentuserinfo/#post-7269951)
 * Hi Becky
 * We’re working on the next release, will be out soon with the change. Hopefully
   this week.
    Just as a reminder, turn off debug mode and you won’t see the message.
   It won’t actually affect the functionality of the site.
 *  [Michael Torbert](https://wordpress.org/support/users/hallsofmontezuma/)
 * (@hallsofmontezuma)
 * WordPress Virtuoso
 * [10 years ago](https://wordpress.org/support/topic/deprecated-function-get_currentuserinfo/#post-7269952)
 * This has been fixed for 2.3.4.2 and released today.

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

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

 * ![](https://ps.w.org/all-in-one-seo-pack/assets/icon.svg?rev=2443290)
 * [All in One SEO – Powerful SEO Plugin to Boost SEO Rankings & Increase Traffic](https://wordpress.org/plugins/all-in-one-seo-pack/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/all-in-one-seo-pack/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/all-in-one-seo-pack/)
 * [Active Topics](https://wordpress.org/support/plugin/all-in-one-seo-pack/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/all-in-one-seo-pack/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/all-in-one-seo-pack/reviews/)

## Tags

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

 * 7 replies
 * 3 participants
 * Last reply from: [Michael Torbert](https://wordpress.org/support/users/hallsofmontezuma/)
 * Last activity: [10 years ago](https://wordpress.org/support/topic/deprecated-function-get_currentuserinfo/#post-7269952)
 * Status: resolved