WordPress 2.7 RSS Comments link error

There is a bug in WordPress 2.7 that results in many RSS feed readers being unable to read the RSS feed for comments.  In summary, WordPress 2.7 does not properly escape (format) ampersands in the link element.

To correct this error, in function comment_link() in file wp-includes/feed.php change line 255 from:

    echo get_comment_link();

to:

    echo clean_url(get_comment_link());

 

I understand that this fix will be included in the next release of WordPress, but I have included it here because the problem seems to have come up on a number of support forums without a solution.

The problem does not arise if you use one of the alternative formats for ‘permalinks’ that does not use ampersands.

38 Comments

cymnanencehokFebruary 10th, 2009 at 4:50 am

Nice template. Where can i download it?

CliveFebruary 10th, 2009 at 9:12 am

Hi cymnanencehok,

The template is a custom one based closely on librio, which can be downloaded at http://wordpress.org/extend/themes/librio.

Regards,

Clive

pragjaropayFebruary 11th, 2009 at 8:43 pm

stimulating and informative, but would make something more on this topic?

inhismEstagmaFebruary 15th, 2009 at 10:39 pm

Your site doesn’t correctly work in safari browser

TashaffoppyFebruary 17th, 2009 at 6:13 am

Your are Great. And so is your site! Awesome content. Good job guys! Interesting article, adding it to my favourites!

undurcedideFebruary 18th, 2009 at 4:27 am

Top News

KeeroheaddyMarch 4th, 2009 at 9:42 am

I like http://www.clive-publishing.com and category this very interesting.
Best Regards Bachelor

Jeff Paul Internet BusinessMarch 13th, 2009 at 10:13 am

I was just looking around for material on internet marketing and stumbled on your post. Nice post. I’m still looking for materials for my research.

PatchMarch 17th, 2009 at 1:01 am

Chanced upon your site while searching for a solution. It appears that the same error is occurring for embedded rss content as well. I used the default rss widget in the sidebar and all links from the feed that contains an ampersand are not working properly. I tested the same feed in a blogger blog and it works just fine so it’s likely an issue with Wordpress. Any solutions for this?

nicoleMarch 17th, 2009 at 11:57 pm

thank you for this interesting ticket, if only people understand what you say :) it is nice to visit this interesting blog :)

CliveMarch 20th, 2009 at 8:33 pm

Hi Patch,
The cause of the problem is probably the same. Are you using the latest version of WordPress, 2.7.1? I’ll take a look at the code when I have a moment.
Cheers,
Clive

PEPApril 4th, 2009 at 10:44 am

Very interesting site. Hope it will always be alive!

CliveApril 7th, 2009 at 9:00 pm

Hi inhismEstagma,
I’ve now checked my site in Safari 4 beta and all seem well. What version/platform were you using when you had trouble?
Clive

Steve PattersonJune 7th, 2009 at 2:44 pm

this didn’t work for me, thanks though. Mine was already like that.

Make Money on the InternetJune 12th, 2009 at 6:29 am

Great post! I’ve been reading a lot about [xxxx xxxx] and his products. I’ve been using his system for quite some time now.

ed hardyOctober 5th, 2009 at 8:06 am

Thanks for sharing informations.Looking forward to more stuff.

Russian GirlsOctober 24th, 2009 at 3:56 pm

A friend sent by e-mail a link to this page and I do not regret that I have read your information.

goldcoinsgainOctober 30th, 2009 at 10:33 am

Hi this is very interesting and this is very impressed by me.

powerlevelingNovember 2nd, 2009 at 7:14 am

it’s very nice!!

AndyDecember 11th, 2009 at 11:01 am

One of the many improvements in WordPress 2.7 is the updated configuration of the visual editor. It was optimized to support caching better and to load faster.

london colocation

JatnikaDecember 29th, 2009 at 12:58 pm

You are a very smart person!

rH3uYcBX

bad credit loansDecember 30th, 2009 at 9:30 am

Good Morning!!! http://www.clive-publishing.com is one of the best informational websites of its kind. I take advantage of reading it every day. All the best.

North America escort agencyDecember 31st, 2009 at 8:26 pm

It is certainly interesting for me to read the blog. Thank author for it. I like such topics and everything connected to them. I definitely want to read a bit more on that blog soon.

boatinglifeontheoceanJanuary 1st, 2010 at 1:52 pm

Hello. I thought that it would be funny to start a post about New Years resolutions. I personally resolute to stop smoking. What about you?

_____________________________________________________________________________________________________________________
mens boat shoes are a must have for this season.

tqgdOWCJanuary 9th, 2010 at 4:33 am

Hi! vFkwrc

online stock trading adviceJanuary 11th, 2010 at 1:00 am

Hey, I found your blog in a new directory of blogs. I dont know how your blog came up, must have been a typo, anyway cool blog, I bookmarked you. :)

I’m Out! :)

real estate mutual fundsJanuary 12th, 2010 at 12:22 am

Hey very nice blog!!….I’m an instant fan, I have bookmarked you and I’ll be checking back on a regular….See ya

wedding dressesJanuary 13th, 2010 at 10:31 am

Hi! vFkwrc

polokeanJanuary 15th, 2010 at 7:28 am

Another great list. I’m meeting more friendly and helpful bloggers each week. Great Idea ;)

emeliajinesJanuary 18th, 2010 at 3:20 am

So Come on? Is that really the best that you can do?

CliveJanuary 18th, 2010 at 6:01 pm

Always good to get constructive comments!

bridging financeJanuary 23rd, 2010 at 4:32 am

Good post, I will mention it on my blog.. Cheers

FinanceJanuary 23rd, 2010 at 4:36 am

I really enjoyed the article. Its always nice when you read something that is not only informative but entertaining

VJanuary 23rd, 2010 at 6:48 pm

thanks !! very helpful post!

rH3uYcBX

seo companyJanuary 23rd, 2010 at 11:35 pm

Great article! It’s often hard to find such well put together information that makes sense!

NothingToLoseJanuary 25th, 2010 at 4:41 pm

Pretty interesting blog you’ve got here. Thank you for it. I like such topics and everything that is connected to them. BTW, why don’t you change design :) .

Tiger TurfFebruary 12th, 2010 at 6:08 pm

Very true, great post… Keem ‘em coming!

Leave a comment

Your comment

Maximum 2 links per comment. Do not use BBCode.

CAPTCHA image