[fr] Les URLs dans les commentaires de ce blog ne sont pas transformés en liens, alors qu'ils le devraient. Appel aux idées pour résoudre ce problème.
[Lazyweb, hear my call!](http://lazyweb.org)
When people type URLs in my comments, they aren’t converted into links. WordPress should do this, but it’s not doing it. I don’t know where to start troubleshooting.
Suggestions and solutions will be thankfully tried out 🙂
- Hoosgot: The Lazyweb is Back! [en] (2007)
- Java and FreeMind on my MacBook [en] (2006)
- The hAtomisation of CTTS [en] (2006)
- The Big 2009 Category Revolution [en] (2009)
- Trying WPMU [en] (2006)
- Wiki Spam on PhpWiki [en] (2004)
- ZoneAlarm with coComment: Here's the Fix [en] (2006)
- Tumblr to Capture Comments? [en] (2008)
- LIFT08: Kevin Marks (Google Open Social: The Social Cloud) [en] (2008)
- Getting Rid of www [en] (2006)
17 thoughts on “Links in WordPress Comments not Linking [en]”
This change that went into 2.0.4 should fix this for you bunny:
The function that does all the funcky stuff is
Right, I’ve upgraded, let’s see if it works:
Dammit. Any other suggestions, westi?
I guess a plugin you are using might be removing some of the default filters as it does other text processing.
What plugins are you using espcially ones that do text processing?
Hit-and-miss, I’ll manage to narrow it down. Here’s another test: http://google.com
Found it! It’s coComment Enhancer’s fault:
Ouch. Not so sure. It’s still deactivated and the link above didn’t transform. Test http://pompage.net
Trying again with the link above. Hope Akismet doesn’t bite me.
This is weird:
Oh! I think I have it. Inline link: http://climbtothestars.org/archives/2006/09/07/links-in-wordpress-comments-not-linking/
New line link:
Right, it now seems it is NOT coComment enhancer’s fault. Sorry.
Re-activated coComment enhancer, and de-activated PHP Markdown Extra. Testing inline: http://climbtothestars.org/archives/2006/09/07/links-in-wordpress-comments-not-linking/
Right. Going to re-activate PHP Markdown Extra so that my posts don’t look ugly, but now we know what’s going on. Make your links inline like this http://climbtothestars.org/archives/2006/09/07/links-in-wordpress-comments-not-linking/ if you want them to link.
Earlier on, westi made me add add_filter(‘get_comment_text’, ‘make_clickable’, 10); in the PHP Markdown Extra plugin. Let’s just see what happens without that line: http://flickr.com
Right. The links in these comments are all stored as URLs in the DB. De-activating PHP Markdown Extra allows some of them to be HTML-ized upon output. Is it a problem with WordPress’s make-clickable (or whatever) function? http://flickr.com
For some weird reason, both links in the last comment were made clickable. PHP Markdown Extra de-activated upon comment submission. Try again: http://flickr.com/
The plugin author tells me “not linking” is the desired behaviour of the plugin. In markdown, you need to surround a URL with < and > for it to be made clickable. Well, thanks to westi I’ve managed to make inline URLs clickable — I guess I’ll try to remove the removal of the make_clickable function in the plugin and see what happens then.