[wp-trac] [WordPress Trac] #50771: WP_Comment protected $children

WordPress Trac noreply at wordpress.org
Sun Jul 26 10:13:48 UTC 2020

#50771: WP_Comment protected $children
 Reporter:  Tkama        |       Owner:  (none)
     Type:  enhancement  |      Status:  new
 Priority:  normal       |   Milestone:  Awaiting Review
Component:  Comments     |     Version:  5.4.2
 Severity:  normal       |  Resolution:
 Keywords:               |     Focuses:
Changes (by SergeyBiryukov):

 * component:  General => Comments


 Thanks for the ticket!

 Replying to [ticket:50771 Tkama]:
 > Now I want to use this nested data, but I can't access it.

 You should be able to access it with the
 WP_Comment::get_children()] method:

Ticket URL: <https://core.trac.wordpress.org/ticket/50771#comment:1>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform

More information about the wp-trac mailing list