Title: Depricated function get_currentuserinfo()
Last modified: September 30, 2020

---

# Depricated function get_currentuserinfo()

 *  Resolved [Max Shostak](https://wordpress.org/support/users/shostakmaksim/)
 * (@shostakmaksim)
 * [5 years, 8 months ago](https://wordpress.org/support/topic/depricated-function-get_currentuserinfo/)
 * Hi there I undate WordPress to 5.5.1 and have such an error get_currentuserinfo
   is Depricated from 4.5 use wp_get_current_user()
 * Please fix it in nearest updates
    -  This topic was modified 5 years, 8 months ago by [Max Shostak](https://wordpress.org/support/users/shostakmaksim/).

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

 *  Plugin Author [Bhavin Thummar](https://wordpress.org/support/users/bhavinthummar/)
 * (@bhavinthummar)
 * [5 years, 8 months ago](https://wordpress.org/support/topic/depricated-function-get_currentuserinfo/#post-13476933)
 * Hello [@shostakmaksim](https://wordpress.org/support/users/shostakmaksim/)
 * Thank you to informing to us.
 * We will check it and let you know when it will be fixed.
    -  This reply was modified 5 years, 8 months ago by [Bhavin Thummar](https://wordpress.org/support/users/bhavinthummar/).
      Reason: Not resolved yet
 *  Plugin Author [Bhavin Thummar](https://wordpress.org/support/users/bhavinthummar/)
 * (@bhavinthummar)
 * [5 years, 8 months ago](https://wordpress.org/support/topic/depricated-function-get_currentuserinfo/#post-13482523)
 * Hello,
 * We have checked the code of my plugin. We are not used the “get_currentuserinfo”
   in our addon file. Also, We had alread used the “wp_get_current_user” function
   in our plugin.
 * So please can you send the screenshot of the error so We can find the the line
   number and the file name where the error is genereated in your website.
 * Thank you.
 *  Thread Starter [Max Shostak](https://wordpress.org/support/users/shostakmaksim/)
 * (@shostakmaksim)
 * [5 years, 8 months ago](https://wordpress.org/support/topic/depricated-function-get_currentuserinfo/#post-13482741)
 * I check the plugin and it is seems that it have custom changes with version higher
   than expected 2.1.5.
    Sorry for the inconvenience
 *  Plugin Author [Bhavin Thummar](https://wordpress.org/support/users/bhavinthummar/)
 * (@bhavinthummar)
 * [5 years, 8 months ago](https://wordpress.org/support/topic/depricated-function-get_currentuserinfo/#post-13482954)
 * Hello,
 * Thanks for the comment and confirmation.
 * So everything is up to date at our side.
 * If you feel it is working according to your requirement then please review it.
 * Thank you.

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

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

 * ![](https://ps.w.org/hide-admin-menu/assets/icon-256x256.png?rev=1744951)
 * [Hide Admin Menu](https://wordpress.org/plugins/hide-admin-menu/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/hide-admin-menu/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/hide-admin-menu/)
 * [Active Topics](https://wordpress.org/support/plugin/hide-admin-menu/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/hide-admin-menu/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/hide-admin-menu/reviews/)

## Tags

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

 * 4 replies
 * 2 participants
 * Last reply from: [Bhavin Thummar](https://wordpress.org/support/users/bhavinthummar/)
 * Last activity: [5 years, 8 months ago](https://wordpress.org/support/topic/depricated-function-get_currentuserinfo/#post-13482954)
 * Status: resolved