[wp-trac] [WordPress Trac] #43695: $depth and $args are switched when using custom callback in wp_list_comments()
WordPress Trac
noreply at wordpress.org
Sat Apr 7 19:25:08 UTC 2018
#43695: $depth and $args are switched when using custom callback in
wp_list_comments()
--------------------------+------------------------------
Reporter: vincurekf | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Comments | Version: 4.9.5
Severity: normal | Resolution:
Keywords: | Focuses: docs, template
--------------------------+------------------------------
Comment (by soulseekah):
Welcome to Trac!
> The fix is easy, just switch those variables
For back-compatibility reasons this would be a bad idea.
Docs? Probably a good idea.
Although https://codex.wordpress.org/Function_Reference/wp_list_comments
lists an example (`mytheme_comment`).
Either way: https://codex.wordpress.org/Codex:Contributing
--
Ticket URL: <https://core.trac.wordpress.org/ticket/43695#comment:1>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list