Make WordPress Core

Changeset 24651


Ignore:
Timestamp:
07/11/2013 12:06:52 AM (11 years ago)
Author:
nacin
Message:

Modify todo in wp_ajax_autosave(). fixes #23665.

File:
1 edited

Legend:

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

    r24544 r24651  
    10761076        }
    10771077
    1078         // When is_wp_error($id), $id overwrites $data in WP_Ajax_Response
    1079         // todo: Needs review. The errors generated in WP_Ajax_Response and parsed with wpAjax.parseAjaxResponse() haven't been used for years.
    10801078        if ( ! is_wp_error($id) ) {
    10811079            /* translators: draft saved date format, see http://php.net/date */
     
    10911089    }
    10921090
     1091    // @todo Consider exposing any errors, rather than having 'Saving draft...'
    10931092    $x = new WP_Ajax_Response( array(
    10941093        'what' => 'autosave',
Note: See TracChangeset for help on using the changeset viewer.