mirror of
https://github.com/WordPress/WordPress.git
synced 2025-03-09 07:00:01 +00:00
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:
parent
79c35059ce
commit
dfce49cf02
@ -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 {
|
||||
|
Loading…
x
Reference in New Issue
Block a user