• Resolved Paul Gilzow

    (@gilzow)


    Just received a support ticket from a user of my plugin (wpDirAuth) that your plugin was causing a conflict. Looked into your code and can see what the problem is.

    In line 97, in the function cdh_admin_load in the file custom-dashboard-help.php, you’re including the file ‘pluggable.php.’ Unfortunately, this blocks all other plugins that load after yours from overriding the functions in that file. If you change line 42 from
    cdh_admin_load()
    to
    add_action('plugins_loaded','cdh_admin_load');
    and then remove lines 96-98, your plugin will continue to function as expected, and will allow other plugins to override the pluggable functions.

    https://ww.wp.xz.cn/plugins/custom-dashboard-help/

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author Jo Landers

    (@jojolanderscom)

    Thank you! I’ll look into incorporating that change into the next version. It looks like it will make this plugin load after all others? But I don’t think there’s any problem with doing that.

    Thread Starter Paul Gilzow

    (@gilzow)

    It looks like it will make this plugin load after all others?

    Your cdh_admin_load function won’t fire until after all the plugins have loaded. I actually had my user change your scripts to what I suggested above and it worked just as it had before the change.

    Plugin Author Jo Landers

    (@jojolanderscom)

    Thanks!

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘plugin causing conflict with other plugins’ is closed to new replies.