mirror of
git://develop.git.wordpress.org/
synced 2025-02-28 02:22:25 +01: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:
parent
4ebfb979b1
commit
1da4d8e087
@ -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