{"id":9157296,"date":"2017-05-22T19:27:24","date_gmt":"2017-05-22T19:27:24","guid":{"rendered":"https:\/\/wordpress.org\/support\/topic\/get_currentuserinfo-is-deprecated-9\/"},"modified":"2017-05-22T19:27:24","modified_gmt":"2017-05-22T19:27:24","slug":"get_currentuserinfo-is-deprecated-9","status":"publish","type":"topic","link":"https:\/\/wordpress.org\/support\/topic\/get_currentuserinfo-is-deprecated-9\/","title":{"rendered":"get_currentuserinfo is deprecated"},"content":{"rendered":"<p>Hi,<br \/>\nWhen I have debug turned on, I get this error while using this plugin:<\/p>\n<p>Notice: get_currentuserinfo is deprecated since version 4.5.0! Use wp_get_current_user() instead.<\/p>\n<p>Is there a fix?<\/p>\n<p>Thanks!<\/p>\n","protected":false},"template":"","class_list":["post-9157296","topic","type-topic","status-publish","hentry"],"jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic\/9157296","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic"}],"about":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/types\/topic"}],"version-history":[{"count":0,"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic\/9157296\/revisions"}],"wp:attachment":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/media?parent=9157296"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}