[wp-trac] [WordPress Trac] #9063: Comment_text ads two href-codes?

WordPress Trac wp-trac at lists.automattic.com
Sat Feb 7 09:07:27 GMT 2009


#9063: Comment_text ads two href-codes?
--------------------------+-------------------------------------------------
 Reporter:  finzend       |       Owner:                                
     Type:  defect (bug)  |      Status:  new                           
 Priority:  normal        |   Milestone:  2.7.1                         
Component:  Comments      |     Version:  2.7                           
 Severity:  normal        |    Keywords:  link url comments comment_text
--------------------------+-------------------------------------------------
 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;)

-- 
Ticket URL: <http://trac.wordpress.org/ticket/9063>
WordPress Trac <http://trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list