Support » Plugin: Clean Login » get_currentuserinfo() is deprecated

  • Resolved christer_f

    (@christer_f)


    Hi Guys,
    Thanks for a very useful plugin. Since I run with debugging switched on in my development environment, I noticed deprecation warnings for get_currentuserinfo() which should be replaced by wp_get_current_user(). I locally fixed this in the three places where you use this function in the plugin, and the warnings disappeared.

    https://wordpress.org/plugins/clean-login/

Viewing 4 replies - 1 through 4 (of 4 total)
Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘get_currentuserinfo() is deprecated’ is closed to new replies.