wp_list_comments()
in a query loop.
[36157] fixed a problem, introduced in 4.4, that caused custom pagination parameters passed to `wp_list_comments()`. However, the fix introduced in that changeset was limited to the `is_singular()` context, so that the bug remained when `wp_list_comments()` is used within a non-singular `WP_Query` loop. We fix this by removing the `is_singular()` check and using the more general `get_the_ID()` to identify the correct post_id to use for the secondary comment query. Merges [36324] to the 4.4 branch. Props boonebgorges. Fixes #35402. git-svn-id: https://develop.svn.wordpress.org/branches/4.4@36360 602fd350-edb4-49c9-b593-d223f7449a82
Description
No description provided
Languages
PHP
76.7%
CSS
10.9%
JavaScript
9.2%
Modelica
2.4%
HTML
0.6%
Other
0.2%