Skip to content
This repository has been archived by the owner on Mar 7, 2024. It is now read-only.

OpenID parmalinks fix #162

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

OpenID parmalinks fix #162

GoogleCodeExporter opened this issue Mar 14, 2015 · 0 comments

Comments

@GoogleCodeExporter
Copy link

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 subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

1 participant