Support » Plugin: Drag & Drop Featured Image » 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.

    https://wordpress.org/plugins/drag-drop-featured-image/

Viewing 1 replies (of 1 total)
  • Plugin Author Jonathan Lundström

    (@plizzo)

    Hi,

    I noticed that this has been posted about in another thread as well. It’s been like this for well over a year without any issues, but it must of couse be something I’ve done in the code. I’ll look into it as fast as possible!

    Regards,
    Jonathan

Viewing 1 replies (of 1 total)
  • The topic ‘Possible Bug/PHP Version Issue?’ is closed to new replies.