Support » Plugin: Yet Another Related Posts Plugin (YARPP) » PHP Notice: get_currentuserinfo is deprecated since version 4.5.0

  • Resolved Daniel Chase

    (@riseofweb)


    Hello,

    Since you are back, why not fix this outdated code. My debug.log is overflowing with:
    PHP Notice: get_currentuserinfo is deprecated since version 4.5.0! Use wp_get_current_user() instead.

    It is a simple fix. In the file includes/template_builtin.php line 10:
    Change: get_currentuserinfo(); to wp_get_current_user();

    Also, I would find it more helpful if in the changelog you mentioned what was changed.

    Thanks. Love your plugin.

Viewing 4 replies - 1 through 4 (of 4 total)
Viewing 4 replies - 1 through 4 (of 4 total)
  • You must be logged in to reply to this topic.