has_cap deprecated caused by yCyclista
-
Notice: has_cap was called with an argument that is deprecated since version 2.0! Usage of user levels by plugins and themes is deprecated. Use roles and capabilities instead. in …/wp-includes/functions.php on line 3193
This is caused by line 42 of ycyclista.php . To remove the notice just add a ‘@’ (at) symbol to the beginning of the line:
@add_options_page("yCyclista", "yCyclista", 1, "yCyclista", "ycylista_admin");
Not sure exactly how to actually fix it.
- The topic ‘has_cap deprecated caused by yCyclista’ is closed to new replies.