WordPress.org

Ready to get started?Download WordPress

Forums

OpenID
Solution for conflict with other plugins... (3 posts)

  1. jameslafferty
    Member
    Posted 2 years ago #

    The issue is the call to restore_include_path on line 35 of open_id.php. By doing something like this:

    $old_include_path = get_include_path();
    set_include_path( $openid_include_path . PATH_SEPARATOR . $old_include_path );
    require_once 'common.php';
    require_once 'consumer.php';
    require_once 'admin_panels.php';
    require_once 'comments.php';
    require_once 'login.php';
    require_once 'server.php';
    require_once 'store.php';
    set_include_path( $old_include_path);

    instead, you can avoid conflicts with any plugins that might depend on their own changes to the include path. Please hit me back if I can be of any help.

    Cheers,

    James

    http://wordpress.org/extend/plugins/openid/

  2. Will Norris
    Member
    Plugin Author

    Posted 2 years ago #

    I just removed the restore_include_path calls entirely, which should fix these problems: https://github.com/diso/wordpress-openid/commit/6529cf33377c6bcb573555986a4f989970b44839

    thanks!

  3. jameslafferty
    Member
    Posted 2 years ago #

    Awesome, Will, and happy New Year!

    J.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags