[wp-meta] [Making WordPress.org] #3266: Comments call back arguments sequence issue.

Making WordPress.org noreply at wordpress.org
Tue Nov 14 18:48:14 UTC 2017


#3266: Comments call back arguments sequence issue.
--------------------------+----------------------
 Reporter:  veerajjadhav  |       Owner:
     Type:  defect        |      Status:  closed
 Priority:  normal        |   Milestone:
Component:  General       |  Resolution:  invalid
 Keywords:                |
--------------------------+----------------------
Changes (by Otto42):

 * status:  new => closed
 * resolution:   => invalid


Comment:

 @veerajjadhav This is the meta.trac, where we keep tickets for tracking
 issues on the WordPress.org website itself. For issues in WordPress
 itself, the core.trac is the proper place to bring them up.

 However, as this seems to be a support issue, then the Support Forums at
 https://wordpress.org/support are probably best for this type of problem.

 But, to save time and answer your question, the order of $comment, $depth,
 $args is the correct order for that function call. If you examine the
 start_el function in that class, around line 197, you will find that the
 call to $this->comment() passes the function those parameters in that
 order.

 If you are finding that you need a different order, then perhaps your
 custom class is mixing the parameters up somehow or otherwise calling them
 in the wrong order. Check your other function definitions, and maybe you
 mixed them up in the start_el() function or something to that effect.

--
Ticket URL: <https://meta.trac.wordpress.org/ticket/3266#comment:1>
Making WordPress.org <https://meta.trac.wordpress.org/>
Making WordPress.org


More information about the wp-meta mailing list