Please change your code and use wp_get_current_user()
-
<b>Notice</b>: get_currentuserinfo is deprecated since version 4.5.0! Use wp_get_current_user() instead. in <b>/var/docs/mywebsite.tst/public/wp-includes/functions.php</b> on line <b>3828</b><br />
//global $current_user; //get_currentuserinfo(); $current_user = wp_get_current_user();
Version 6.5.2 of plugin in file google-analyticator.php line 1288
get_currentuserinfo is deprecated !
Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
- The topic ‘Please change your code and use wp_get_current_user()’ is closed to new replies.