Fix notice in ajax response. Props garyc40. fixes #15810

git-svn-id: http://svn.automattic.com/wordpress/trunk@16914 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
ryan 2010-12-14 15:07:43 +00:00
parent 79c35059ce
commit dfce49cf02
1 changed files with 1 additions and 1 deletions

View File

@ -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 {