mirror of
https://github.com/WordPress/WordPress.git
synced 2025-02-16 19:46:21 +00:00
Bootstrap/Load: Finalize recovery mode email language.
Props TimothyBlynJacobs, miss_jwo, desrosj. Fixes #46898. Built from https://develop.svn.wordpress.org/trunk@45181 git-svn-id: http://core.svn.wordpress.org/trunk@44990 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
41022dc6f2
commit
65da064055
@ -125,26 +125,27 @@ final class WP_Recovery_Mode_Email_Service {
|
|||||||
$message = __(
|
$message = __(
|
||||||
'Howdy,
|
'Howdy,
|
||||||
|
|
||||||
Your site recently crashed on ###LOCATION### and may not be working as expected.
|
Your site recently crashed and may not be working as expected.
|
||||||
###CAUSE###
|
###CAUSE###
|
||||||
Click the link below to initiate recovery mode and fix the problem.
|
Please click the link below to initiate recovery mode and fix the problem.
|
||||||
|
|
||||||
This link expires in ###EXPIRES###.
|
This link expires in ###EXPIRES###.
|
||||||
|
|
||||||
###LINK### ###DETAILS###
|
###LINK### ###DETAILS###
|
||||||
|
|
||||||
|
--The WordPress Team
|
||||||
|
https://wordpress.org/
|
||||||
'
|
'
|
||||||
);
|
);
|
||||||
$message = str_replace(
|
$message = str_replace(
|
||||||
array(
|
array(
|
||||||
'###LINK###',
|
'###LINK###',
|
||||||
'###LOCATION###',
|
|
||||||
'###EXPIRES###',
|
'###EXPIRES###',
|
||||||
'###CAUSE###',
|
'###CAUSE###',
|
||||||
'###DETAILS###',
|
'###DETAILS###',
|
||||||
),
|
),
|
||||||
array(
|
array(
|
||||||
$url,
|
$url,
|
||||||
'TBD',
|
|
||||||
human_time_diff( time() + $rate_limit ),
|
human_time_diff( time() + $rate_limit ),
|
||||||
$cause ? "\n{$cause}\n" : "\n",
|
$cause ? "\n{$cause}\n" : "\n",
|
||||||
$details,
|
$details,
|
||||||
@ -235,13 +236,13 @@ This link expires in ###EXPIRES###.
|
|||||||
}
|
}
|
||||||
|
|
||||||
/* translators: %s: plugin name */
|
/* translators: %s: plugin name */
|
||||||
$cause = sprintf( __( 'This was caused by the %s plugin.' ), $name );
|
$cause = sprintf( __( 'This was caused by the following plugin: %s.' ), $name );
|
||||||
} else {
|
} else {
|
||||||
$theme = wp_get_theme( $extension['slug'] );
|
$theme = wp_get_theme( $extension['slug'] );
|
||||||
$name = $theme->exists() ? $theme->display( 'Name' ) : $extension['slug'];
|
$name = $theme->exists() ? $theme->display( 'Name' ) : $extension['slug'];
|
||||||
|
|
||||||
/* translators: %s: theme name */
|
/* translators: %s: theme name */
|
||||||
$cause = sprintf( __( 'This was caused by the %s theme.' ), $name );
|
$cause = sprintf( __( 'This was caused by the following theme: %s.' ), $name );
|
||||||
}
|
}
|
||||||
|
|
||||||
return $cause;
|
return $cause;
|
||||||
|
@ -13,7 +13,7 @@
|
|||||||
*
|
*
|
||||||
* @global string $wp_version
|
* @global string $wp_version
|
||||||
*/
|
*/
|
||||||
$wp_version = '5.2-beta2-45180';
|
$wp_version = '5.2-beta2-45181';
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.
|
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user