Hangi dosyada get_currentuserinfo kullanılıyorsa onu wp_get_current_user() olarak değiştireceksiniz hocam bu kadar basit.