WordPress.org

Make WordPress Core

Ticket #15810: garyc40-15810.patch

File garyc40-15810.patch, 443 bytes (added by garyc40, 5 years ago)

there's a patch for that

  • wp-admin/admin-ajax.php

    diff --git wp-admin/admin-ajax.php wp-admin/admin-ajax.php
    index 374d393..cef3981 100644
    case 'replyto-comment' : 
    664664        $x = new WP_Ajax_Response(); 
    665665 
    666666        ob_start(); 
    667                 if ( 'dashboard' == $mode ) { 
     667                if ( 'dashboard' == $_REQUEST['mode'] ) { 
    668668                        require_once( ABSPATH . 'wp-admin/includes/dashboard.php' ); 
    669669                        _wp_dashboard_recent_comments_row( $comment ); 
    670670                } else {