mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-06-30 23:30:05 +00:00
Fix notice in ajax response. Props garyc40. fixes #15810
git-svn-id: https://develop.svn.wordpress.org/trunk@16914 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
@@ -664,7 +664,7 @@ case 'replyto-comment' :
|
||||
$x = new WP_Ajax_Response();
|
||||
|
||||
ob_start();
|
||||
if ( 'dashboard' == $mode ) {
|
||||
if ( 'dashboard' == $_REQUEST['mode'] ) {
|
||||
require_once( ABSPATH . 'wp-admin/includes/dashboard.php' );
|
||||
_wp_dashboard_recent_comments_row( $comment );
|
||||
} else {
|
||||
|
||||
Reference in New Issue
Block a user