WordPress.org

Make WordPress Core

Ticket #8750: admin-ajax.php.diff

File admin-ajax.php.diff, 483 bytes (added by designsimply, 11 years ago)

Make current_time respect the timezone setting on the draft edit page.

  • wp-admin/admin-ajax.php

     
    795795        $do_lock = true;
    796796
    797797        $data = '';
    798         $message = sprintf( __('Draft Saved at %s.'), date( __('g:i:s a'), current_time( 'timestamp', true ) ) );
     798        $message = sprintf( __('Draft Saved at %s.'), date( __('g:i:s a'), current_time( 'timestamp' ) ) );
    799799
    800800        $supplemental = array();
    801801