get_currentuserinfo error
-
Hi,
I noticed that in WP 4.6 with a neww theme I used I get this error:
“Notice: get_currentuserinfo() is deprecated since version 4.5.0! Use wp_get_current_user()”
I have found that get_currentuserinfo() is used in the the file /inc/class-comment-email-links line 49.
I replaced it on my site, and now have no more notice showing.If this can help ??
Hubert
- The topic ‘get_currentuserinfo error’ is closed to new replies.