Depreciated Code
-
Just fyi, you have depreciated code in your plugin.
get_currentuserinfo()
needs to be replaced with
if(function_exists('wp_get_current_user')) { $current_user = wp_get_current_user(); } else if(function_exists('get_currentuserinfo')) { $current_user = get_currentuserinfo(); }
Best,
Karl
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘Depreciated Code’ is closed to new replies.