From 67f944caa608afcfc9bd2e245fac5bcffda79a3a Mon Sep 17 00:00:00 2001 From: Sergey Biryukov Date: Sun, 26 May 2019 20:44:52 +0000 Subject: [PATCH] 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 --- wp-includes/class-wp-recovery-mode-email-service.php | 9 ++++++++- wp-includes/version.php | 2 +- 2 files changed, 9 insertions(+), 2 deletions(-) diff --git a/wp-includes/class-wp-recovery-mode-email-service.php b/wp-includes/class-wp-recovery-mode-email-service.php index 24e904277f..193a41483e 100644 --- a/wp-includes/class-wp-recovery-mode-email-service.php +++ b/wp-includes/class-wp-recovery-mode-email-service.php @@ -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( diff --git a/wp-includes/version.php b/wp-includes/version.php index 31c88c8afe..ace3eed0d5 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -13,7 +13,7 @@ * * @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.