[wp-trac] Re: [WordPress Trac] #4863: Bug in get_comment function from wp-includes/comment.php

WordPress Trac wp-trac at lists.automattic.com
Wed Aug 29 15:51:24 GMT 2007


#4863: Bug in get_comment function from wp-includes/comment.php
-------------------------------------+--------------------------------------
 Reporter:  BogdanGhervan            |        Owner:  westi   
     Type:  defect                   |       Status:  assigned
 Priority:  low                      |    Milestone:  2.3     
Component:  General                  |      Version:          
 Severity:  normal                   |   Resolution:          
 Keywords:  get_comment comment.php  |  
-------------------------------------+--------------------------------------
Changes (by westi):

  * owner:  anonymous => westi
  * status:  new => assigned

Comment:

 Hmm i suspect the intention here was for it to be $_comment->comment_ID
 that the cache was set on.

 I think we need to check that the comment actually existed before we set
 the cache as well.

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


More information about the wp-trac mailing list