• Hello,

    I have custom plugins installed that leverage the plugins_api filter. Your plugin breaks them by only returning false instead of the object passed. The code can be found in the sendpress/classes/class-sendpress-pro-manager.php.

    Below is the function in question:
    function plugins_api( $res, $action, $args ){
    if( $action === ‘plugin_information’ && isset($args->slug) &&$args->slug === ‘sendpress-pro’ ){
    return $args;
    }
    return false;
    }

    If the plugin slug don’t match, instead of return $res, you return false, thus overwriting the $res that may have been modified by the plugin called previously. If you could fix this bug I’d appreciate it. Thanks.

    https://wordpress.org/plugins/sendpress/

Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
  • The topic ‘Plugins_api Bug’ is closed to new replies.