• Hi, first of all, sorry for my english, is from Google ??

    only wanted to comment on the changes made to operate WP-OpenID in WordPress MU, specifically in version 1.5.1.

    Taking version 2.1.9 of plugin, we have modified two files “core.php” and “interface.php”, both in the root of plugin.

    In “core.php” only we have modified the function “set_path” in class “WordPressOpenID”, specifically the 124 line …

    $this->path = '/wp-content/plugins/'.$plugin;

    … with …

    $wppluginsDir = basename(dirname(dirname(__FILE__))); // for "plugins" or "mu-plugins"
    $this->path = '/wp-content/'.$wppluginsDir.'/'.$plugin;

    … with this modification to make it work in the folder “mu-plugins.”

    In the file “interface.php” have changed all calls to the folder “files” of plugin in a folder called “oifiles.” This is because the instruction “mod_rewrite” which redirects, in WordPress MU, all calls to folder “files” to “blogs.dir” of blog running, does fail the loading of the files that are in that folder.

    This change, of course, requires “rename” folder “files” of plugin in “oifiles”.

Viewing 2 replies - 1 through 2 (of 2 total)
  • admittedly, we haven’t done a real good job of testing new versions of the plugin against wpmu. That “files” rewriting thing sounds pretty crappy… I’ll definitely have to take a look at that. Sounds like a bug in wpmu, as I can’t understand why they would have a rewrite rules that grabs *all* folders with that name. Please add a bug to the DiSo issue tracker if there isn’t already one there regarding wpmu compatibility… we definitely don’t want to break that.

    Thread Starter mortay

    (@mortay)

    Thanks for reply!! ??

    I added the “bug” in Google Code!!

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘WP OpenID in WordPress MU’ is closed to new replies.