User level code deprecated – is this an error?
-
Hi
I have just commenced using Debug Bar and am seeing an error on sites with current WordPress 4.2.2:
wp-admin/menu-header.php:155 – Usage of user levels by plugins and themes is deprecated. Use roles and capabilities instead.
require_once(‘wp-admin/admin-header.php’), require(‘wp-admin/menu-header.php’), _wp_menu_output, current_user_canIs this a true error? Or just that the method is deprecated? It’s in the Codex:
https://codex.www.ads-software.com/Function_Reference/current_user_canDo I need to take any action?
Your advice would be appreciated.
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘User level code deprecated – is this an error?’ is closed to new replies.