Make WordPress Core

Changeset 45181


Ignore:
Timestamp:
04/12/2019 08:48:05 PM (5 years ago)
Author:
SergeyBiryukov
Message:

Bootstrap/Load: Finalize recovery mode email language.

Props TimothyBlynJacobs, miss_jwo, desrosj.
Fixes #46898.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-includes/class-wp-recovery-mode-email-service.php

    r45077 r45181  
    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        );
     
    138141            array(
    139142                '###LINK###',
    140                 '###LOCATION###',
    141143                '###EXPIRES###',
    142144                '###CAUSE###',
     
    145147            array(
    146148                $url,
    147                 'TBD',
    148149                human_time_diff( time() + $rate_limit ),
    149150                $cause ? "\n{$cause}\n" : "\n",
     
    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 following plugin: %s.' ), $name );
    239240        } else {
    240241            $theme = wp_get_theme( $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 following theme: %s.' ), $name );
    245246        }
    246247
Note: See TracChangeset for help on using the changeset viewer.