WordPress.org

Make WordPress Core

Ticket #6489: admin-ajax.php.diff

File admin-ajax.php.diff, 546 bytes (added by janbrasna, 5 years ago)
  • admin-ajax.php

    old new  
    717717 
    718718        $do_autosave = (bool) $_POST['autosave']; 
    719719        $do_lock = true; 
    720720 
    721721        $data = ''; 
    722         $message = sprintf( __('Draft Saved at %s.'), date( __('g:i:s a'), current_time( 'timestamp', true ) ) ); 
     722        $message = sprintf( __('Draft Saved at %s.'), date_i18n( __('g:i:s a'), current_time( 'timestamp' ), 'gmt' ) ); 
    723723 
    724724        $supplemental = array(); 
    725725 
    726726        $id = $revision_id = 0; 
    727727        if($_POST['post_ID'] < 0) {