WordPress.org

Make WordPress Core

Changeset 16914


Ignore:
Timestamp:
12/14/10 15:07:43 (3 years ago)
Author:
ryan
Message:

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

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-admin/admin-ajax.php

    r16884 r16914  
    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 ); 
Note: See TracChangeset for help on using the changeset viewer.