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

Props ramiy.
Fixes #47255.

git-svn-id: https://develop.svn.wordpress.org/trunk@45447 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Sergey Biryukov 2019-05-26 20:43:43 +00:00
parent 59635ee372
commit ae81d63a2a
1 changed files with 8 additions and 1 deletions

View File

@ -62,7 +62,14 @@ final class WP_Recovery_Mode_Email_Service {
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(