WordPress.org

Make WordPress Core

Ticket #25365: 25365.2.diff

File 25365.2.diff, 574 bytes (added by adamsilverstein, 5 years ago)

only revisions this time

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

     
    130130
    131131        foreach ( $revisions as $revision ) {
    132132                $modified = strtotime( $revision->post_modified );
    133                 $modified_gmt = strtotime( $revision->post_modified_gmt );
     133                $modified_gmt = strtotime( $revision->post_modified_gmt . ' UTC' );
    134134                if ( $can_restore ) {
    135135                        $restore_link = str_replace( '&', '&', wp_nonce_url(
    136136                                add_query_arg(