I18N: Remove PHP function name from translatable string in WP_Recovery_Mode_Email_Service.

Props ramiy.
Fixes #47255.
Built from https://develop.svn.wordpress.org/trunk@45447


git-svn-id: http://core.svn.wordpress.org/trunk@45258 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
Sergey Biryukov 2019-05-26 20:44:52 +00:00
parent ead1a54576
commit 67f944caa6
2 changed files with 9 additions and 2 deletions

View File

@ -62,7 +62,14 @@ final class WP_Recovery_Mode_Email_Service {
return true; return true;
} }
return new WP_Error( 'email_failed', __( 'The email could not be sent. Possible reason: your host may have disabled the mail() function.' ) ); return new WP_Error(
'email_failed',
sprintf(
/* translators: %s: mail() */
__( 'The email could not be sent. Possible reason: your host may have disabled the %s function.' ),
'mail()'
)
);
} }
$err_message = sprintf( $err_message = sprintf(

View File

@ -13,7 +13,7 @@
* *
* @global string $wp_version * @global string $wp_version
*/ */
$wp_version = '5.3-alpha-45446'; $wp_version = '5.3-alpha-45447';
/** /**
* 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.