Changeset 24651
- Timestamp:
- 07/11/2013 12:06:52 AM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-admin/includes/ajax-actions.php
r24544 r24651 1076 1076 } 1077 1077 1078 // When is_wp_error($id), $id overwrites $data in WP_Ajax_Response1079 // todo: Needs review. The errors generated in WP_Ajax_Response and parsed with wpAjax.parseAjaxResponse() haven't been used for years.1080 1078 if ( ! is_wp_error($id) ) { 1081 1079 /* translators: draft saved date format, see http://php.net/date */ … … 1091 1089 } 1092 1090 1091 // @todo Consider exposing any errors, rather than having 'Saving draft...' 1093 1092 $x = new WP_Ajax_Response( array( 1094 1093 'what' => 'autosave',
Note: See TracChangeset
for help on using the changeset viewer.