[Resolved] [Plugin: WP Code Prettify] Patch for depricated has_cap argument
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:
- The topic ‘[Resolved] [Plugin: WP Code Prettify] Patch for depricated has_cap argument’ is closed to new replies.