mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-04-05 13:14:29 +00:00
a7dbb948c5cc6bb1fa483b217167170ce2610eeb
WP_Comment::get_children().
`WP_Comment_Query::fill_descendants()` queries for a comment tree in a way that minimizes database overhead, and places the located descendants with their proper parents. However, it doesn't touch leaf nodes - comments with no children - so future calls to `get_children()` on those comment objects result in unnecessary database queries. To prevent this, `fill_descendants()` now sets a `populated_children` flag on all located `WP_Comment` objects. See #8071. git-svn-id: https://develop.svn.wordpress.org/trunk@34730 602fd350-edb4-49c9-b593-d223f7449a82
Description
No description provided
Languages
PHP
80.5%
CSS
9.4%
JavaScript
8.5%
SCSS
0.9%
HTML
0.7%