Make WordPress Core

Ticket #46898: 46898.2.diff

File 46898.2.diff, 1.2 KB (added by TimothyBlynJacobs, 5 years ago)
  • src/wp-includes/class-wp-recovery-mode-email-service.php

    diff --git a/src/wp-includes/class-wp-recovery-mode-email-service.php b/src/wp-includes/class-wp-recovery-mode-email-service.php
    index 040585db27..4275bd2fcc 100644
    a b final class WP_Recovery_Mode_Email_Service { 
    125125                $message = __(
    126126                        'Howdy,
    127127
    128 Your site recently crashed on ###LOCATION### and may not be working as expected.
     128Your site recently crashed and may not be working as expected.
    129129###CAUSE###
    130 Click the link below to initiate recovery mode and fix the problem.
     130Please click the link below to initiate recovery mode and fix the problem.
    131131
    132132This link expires in ###EXPIRES###.
    133133
    134134###LINK### ###DETAILS###
     135
     136--The WordPress Team
     137https://wordpress.org/
    135138'
    136139                );
    137140                $message = str_replace(
    138141                        array(
    139142                                '###LINK###',
    140                                 '###LOCATION###',
    141143                                '###EXPIRES###',
    142144                                '###CAUSE###',
    143145                                '###DETAILS###',
    144146                        ),
    145147                        array(
    146148                                $url,
    147                                 'TBD',
    148149                                human_time_diff( time() + $rate_limit ),
    149150                                $cause ? "\n{$cause}\n" : "\n",
    150151                                $details,
    This link expires in ###EXPIRES###. 
    246247
    247248                return $cause;
    248249        }
     250
     251        private function get_location() {
     252
     253        }
    249254}