Fix the error: get_currentuserinfo() is deprecated in WordPress
After updating to latest WordPress version 4.5 i stumbled over a lot of plugins which are throwing the error get_currentuserinfo() is deprecated. (One of the mentioned plugins is mailpoet 2.7.1 which is not updated, yet) The exact error message is:…