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:
parent
59635ee372
commit
ae81d63a2a
@ -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(
|
||||
|
Loading…
Reference in New Issue
Block a user