WordPress.org

Make WordPress Core

Ticket #25365: 25365.4.diff

File 25365.4.diff, 575 bytes (added by adamsilverstein, 4 years ago)
  • src/wp-admin/includes/revision.php

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