Make WordPress Core

Ticket #46898: 46898.4.diff

File 46898.4.diff, 1.7 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..e66c80eb9e 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###. 
    235236                        }
    236237
    237238                        /* translators: %s: plugin name */
    238                         $cause = sprintf( __( 'This was caused by the %s plugin.' ), $name );
     239                        $cause = sprintf( __( 'This was caused by the plugin: %s.' ), $name );
    239240                } else {
    240241                        $theme = wp_get_theme( $extension['slug'] );
    241242                        $name  = $theme->exists() ? $theme->display( 'Name' ) : $extension['slug'];
    242243
    243244                        /* translators: %s: theme name */
    244                         $cause = sprintf( __( 'This was caused by the %s theme.' ), $name );
     245                        $cause = sprintf( __( 'This was caused by the theme: %s.' ), $name );
    245246                }
    246247
    247248                return $cause;