get_currentuserinfo is deprecated
-
Hi,
File: core/class-wrp-variations-admin.php
Row: 219Please replace with wp_get_currentuserinfo(), i tried the simple switch but it’s not working, i guess because it’s all static?? I see the plugin is being called in the init hook, so not really sure why replacing it doesn’t work.
Also, everything runs allways. Maybe it’s a good idea only to run certain parts when Woo is active?
Now with every page load my debug log is filling up with PHP notices.
Thanks.
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘get_currentuserinfo is deprecated’ is closed to new replies.