Possible Bug/PHP Version Issue?
-
When I install this plugin on my local WP site, it doesn’t work display the Settings page. I managed to pinpoint the issue to this line:
(#217 of index.php)
$required_capability = $this->get_option_user_capability() || ‘manage_options’;
This simply returns “true” instead of the desired “manage_options” value. I had to change it to this for it to work:
$required_capability = $this->get_option_user_capability() ? $this->get_option_user_capability() : ‘manage_options’;
I’m currently running PHP 5.4.16.
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘Possible Bug/PHP Version Issue?’ is closed to new replies.