Make WordPress Core

Opened 15 years ago

Closed 15 years ago

Last modified 15 years ago

#9063 closed defect (bug) (worksforme)

Comment_text ads two href-codes?

Reported by: finzend's profile finzend Owned by:
Milestone: Priority: normal
Severity: normal Version: 2.7
Component: Comments Keywords:
Focuses: Cc:

Description

It seems that in WP2.7 the comment_text function creates two(!) a-tags to create a link. So when somebody comments with an url, ie www.youtube.com, it will be showed/processed as [a href="http://www.youtube.com"][/a][a href="http://www.youtube.com"]www.youtube.com[/a]

It's not a real error (everything works fine) but it's a waste of extra html code;)

Change History (3)

#1 @mrmist
15 years ago

The only way that I could reproduce this was to actually type the extra code into the comment as I left it. (Default theme)

#2 @FFEMTcJ
15 years ago

  • Keywords reporter-feedback added; link url comments comment_text removed
  • Resolution set to worksforme
  • Status changed from new to closed

#3 @mrmist
15 years ago

  • Keywords reporter-feedback removed
  • Milestone 2.7.2 deleted
Note: See TracTickets for help on using tickets.