OpenID parmalinks fix #162

Open
GoogleCodeExporter opened this Issue Mar 14, 2015 · 0 comments

Comments

Projects
None yet
1 participant
@GoogleCodeExporter
Revision 843 of OpenID plugin seems to break some installations, see e.g.
http://code.google.com/p/diso/issues/detail?id=149 . Here's a fix:

--- a/common.php
+++ b/common.php
@@ -615,7 +615,7 @@ function openid_service_url($service, $scheme = null) {
        if (!defined('OPENID_SSL') || !OPENID_SSL) $scheme = null;
        $url = site_url('/', $scheme);

-       if ($wp_rewrite->using_permalinks()) {
+       if ($wp_rewrite->using_index_permalinks()) {
                $url .= 'index.php/openid/' . $service;
        } else {
                $url .= '?openid=' . $service;

Original issue reported on code.google.com by axu...@gmail.com on 17 Mar 2010 at 12:49

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment