[wp-trac] Re: [WordPress Trac] #6992: Quotes in comment name prevent "awaiting moderation" display

WordPress Trac wp-trac at lists.automattic.com
Tue Nov 4 17:49:38 GMT 2008


#6992: Quotes in comment name prevent "awaiting moderation" display
-----------------------------------------+----------------------------------
 Reporter:  thomasperi                   |        Owner:     
     Type:  defect                       |       Status:  new
 Priority:  normal                       |    Milestone:  2.7
Component:  Comments                     |      Version:     
 Severity:  normal                       |   Resolution:     
 Keywords:  comments, quotes, has-patch  |  
-----------------------------------------+----------------------------------
Changes (by regulatethis):

  * keywords:  comments, quotes => comments, quotes, has-patch

Comment:

 For some reason this diff isn't showing up properly, oh well.

 I fixed this by running $comment_author through htmlspecialchars_decode,
 but only for the purposes of that prepare() call... I wasn't sure if
 $comment_author itself was used anywhere else, so to be safe I didn't
 modify it's value directly.

-- 
Ticket URL: <http://trac.wordpress.org/ticket/6992#comment:2>
WordPress Trac <http://trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list