[wp-meta] [Making WordPress.org] #3266: Comments call back arguments sequence issue.
Making WordPress.org
noreply at wordpress.org
Tue Nov 14 14:21:07 UTC 2017
#3266: Comments call back arguments sequence issue.
--------------------------+-----------------
Reporter: veerajjadhav | Owner:
Type: defect | Status: new
Priority: normal | Milestone:
Component: General | Keywords:
--------------------------+-----------------
Hi there,
I have an issue regarding the comments callback.
When I used my custom comments callback function I referred "class-walker-
comment.php" file, In this file you have used ( $comment, $depth, $args );
everywhere.
[[Image(https://imgur.com/fU5MVYc)]]
But when When I used the same sequence
[[Image(https://imgur.com/Y09whde)]]
my author avatar and the reply link disappears, So I have to interchange
the sequence in my callback
( $comment, $depth, $args ); => ( $comment, $args, $depth ); then my
author and reply link appeared.
So in the core file the sequence is ( $comment, $depth, $args ); that did
not work for me so i have to interchange the arg like ( $comment, $args,
$depth );
Is this sequence intentional or I am going in wrong direction.
-Thanks
--
Ticket URL: <https://meta.trac.wordpress.org/ticket/3266>
Making WordPress.org <https://meta.trac.wordpress.org/>
Making WordPress.org
More information about the wp-meta
mailing list