Make WordPress Core

Ticket #45498: 45498.patch

File 45498.patch, 496 bytes (added by milana_cap, 7 years ago)
  • src/wp-includes/class-walker-comment.php

     
    176176
    177177                if ( ! empty( $args['callback'] ) ) {
    178178                        ob_start();
    179                         call_user_func( $args['callback'], $comment, $args, $depth );
     179                        call_user_func( $args['callback'], $comment, $depth, $args );
    180180                        $output .= ob_get_clean();
    181181                        return;
    182182                }