[wp-trac] [WordPress Trac] #14261: comment_text() needs to pass some IDs

WordPress Trac wp-trac at lists.automattic.com
Sun Sep 26 17:06:45 UTC 2010

#14261: comment_text() needs to pass some IDs
 Reporter:  nacin         |       Owner:                
     Type:  defect (bug)  |      Status:  new           
 Priority:  normal        |   Milestone:  3.1           
Component:  Comments      |     Version:                
 Severity:  normal        |    Keywords:  gsoc has-patch

Comment(by nacin):

 Replying to [comment:2 simonwheatley]:
 > N.B. You can get the comment ID from the {{{$comment}}} global.

 We'd need to here. If $comment_ID = 0, we only set $comment via
 get_comment(), but don't update $comment_ID. So we'll have to change
 $comment_ID to $comment->ID.

 I like the patch in #14856 but I don't really see a problem with getting
 this in on its own.

Ticket URL: <http://core.trac.wordpress.org/ticket/14261#comment:4>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software

More information about the wp-trac mailing list