WordPress.org

Make WordPress Core

Ticket #7435: wp_comment_reply filter call.2.diff

File wp_comment_reply filter call.2.diff, 528 bytes (added by caesarsgrunt, 7 years ago)

Modifies the wp_comment_reply(...) function's wp_comment_reply filter to pass on the variables passed to it.

  • wp-admin/includes/template.php

     
    10701070        global $current_user; 
    10711071 
    10721072        // allow plugin to replace the popup content 
    1073         $content = apply_filters( 'wp_comment_reply', '' ); 
     1073        $content = apply_filters( 'wp_comment_reply', '', array('position'=>$position, 'checkbox'=>$checkbox, 'mode'=>$mode) ); 
    10741074         
    10751075        if ( ! empty($content) ) { 
    10761076                echo $content;