New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

OpenID parmalinks fix #162

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

Comments

Projects
None yet
1 participant
@GoogleCodeExporter

GoogleCodeExporter commented Mar 14, 2015

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