[Plugin: WP Code Prettify] Patch for depricated has_cap argument
-
Hello!
Thanks for your plugin, it’s really great!
One small thing is that it’s throwing and error message when used with newer versions of WP. The problem is that the $user->has_cap method is being called with depricated int argument while setting up the settings page (wp-code-prettify-page.php at line 156).Here is a tiny patch for that file that solves the problem:
http://4web.bg/wp-content/plugins/wp-code-prettify/patch.txt
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘[Plugin: WP Code Prettify] Patch for depricated has_cap argument’ is closed to new replies.