---
title: OpenID Plugin and WordPress 2.8
date: 2009-06-11T18:59:13+00:00
modified: 2012-08-25T19:10:44+00:00
permalink: https://kaspars.net/blog/openid-plugin-and-wordpress-2-8
post_type: post
author:
  name: Kaspars
  avatar: https://reverse.kaspars.net/gravatar/avatar/92bfcd3a8c3a21a033a6484d32c25a40b113ec6891f674336081513d5c98ef76?s=96&d=mm&r=g
post_tag:
  - Plugin
category:
  - WordPress
---

# OpenID Plugin and WordPress 2.8

Ever since using the nightly versions of WordPress, I got used to doing regular updates and not checking if all plugins work fine afterward.

Therefore only today I discovered that **leaving comments on this blog has been impossible for a while already**. Turns out that changes in the WordPress core have made the *OpenID plugin* unaware of the comment author’s *name* and *e-mail*.

Haven’t found a solution yet.

### The Solution

Open `comments.php` within the OpenID plugin folder and move the *name &amp; email input verification* from line 73:

```
// duplicate name and email check from wp-comments-post.php
openid_require_name_email();
```

right after line 68, like this:

```
// just ignore the error... it just means the user entered a normal URL.
if (array_key_exists('openid_identifier', $_POST)) {
	openid_repost_comment_anonymously($_SESSION['openid_comment_post']);
	// duplicate name and email check from wp-comments-post.php
	openid_require_name_email();
}
```

#### Why this works

We need to check name and e-mail input only if the URL is not an OpenID.