Make WordPress Core

Ticket #25365: 25365.3.diff

File 25365.3.diff, 575 bytes (added by adamsilverstein, 10 years ago)

refresh against trunk

  • src/wp-admin/includes/revision.php

     
    165165
    166166        foreach ( $revisions as $revision ) {
    167167                $modified = strtotime( $revision->post_modified );
    168                 $modified_gmt = strtotime( $revision->post_modified_gmt );
     168                $modified_gmt = strtotime( $revision->post_modified_gmt . ' UTC' );
    169169                if ( $can_restore ) {
    170170                        $restore_link = str_replace( '&', '&', wp_nonce_url(
    171171                                add_query_arg(