[wp-trac] [WordPress Trac] #21184: $comment global var is not set when wp_list_comments is called with callback function

WordPress Trac wp-trac at lists.automattic.com
Wed Jul 25 16:27:49 UTC 2012


#21184: $comment global var is not set when wp_list_comments is called with
callback function
--------------------------+---------------------
 Reporter:  sirzooro      |       Owner:  ryan
     Type:  defect (bug)  |      Status:  closed
 Priority:  normal        |   Milestone:  3.5
Component:  Comments      |     Version:  2.7
 Severity:  normal        |  Resolution:  fixed
 Keywords:  has-patch     |
--------------------------+---------------------
Changes (by ryan):

 * owner:   => ryan
 * status:  new => closed
 * resolution:   => fixed


Comment:

 In [21324]:
 {{{
 #!CommitTicketReference repository="" revision="21324"
 Set the global comment var before invoking callbacks in
 wp_list_comments(). Props sirzooro. fixes #21184
 }}}

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


More information about the wp-trac mailing list