Incorrect order due wrong param in wp_list_comments
-
I notice you are still using incorrect types, which causes incorrect ordering:
FILE: /wp-content/plugins/show-all-comments-in-one-page/bt-comments.php wp_list_comments(array( 'reverse_top_level' => null, //(bool) 'reverse_children' => '', //(bool/null)
As these are checked on strict – both require correction:
'reverse_top_level' => false, 'reverse_children' => false,
(it is possible that you code work(ed) on pre 4.5, but on WP 5.2+ results in incorrect order)
- The topic ‘Incorrect order due wrong param in wp_list_comments’ is closed to new replies.