mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2025-10-16 12:05:38 +00:00
When hierarchical=true, `WP_Comment_Query` will always fetch comments according to the comment hierarchy, even if 'thread_comments' is disabled for the site. This can cause problems when comment threading is disabled after threaded comments have been recorded on the site; comments will no longer be returned in a strictly chronological order. We address the issue by refraining from querying hierarchically when comment threading is disabled. Props jmdodd. Fixes #35378. git-svn-id: https://develop.svn.wordpress.org/trunk@36226 602fd350-edb4-49c9-b593-d223f7449a82 |
||
|---|---|---|
| .. | ||
| phpunit | ||
| qunit | ||