I get the following php notice when I install this plugin
"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"
I get the following php notice when I install this plugin
"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"
Hi, nbseminary san
Thank you for your report.
I will fix this notice for the next version.
If in a hurry, try to edit "/wp-content/plugins/wp-syntaxhighlighter/wp-syntaxhighlighter.php",
and replace strings in 231 line,
add_options_page('WP SyntaxHighlighter Options', 'WP SyntaxHighlighter', 10, 'wp-syntaxhighlighter-options', 'wp_sh_options_panel');
with
add_options_page('WP SyntaxHighlighter Options', 'WP SyntaxHighlighter', 'administrator', 'wp-syntaxhighlighter-options', 'wp_sh_options_panel');
In next version, I will replace it with
add_options_page('WP SyntaxHighlighter Options', 'WP SyntaxHighlighter', 'manage_options', 'wp-syntaxhighlighter-options', 'wp_sh_options_panel');
I think 'manage_options' is better than 'administrator'.
I released ver. 1.3.6.
This version has a fix about this problem.
You must log in to post.