[wp-trac] [WordPress Trac] #23311: Enable internationalization in PHPMailer
WordPress Trac
noreply at wordpress.org
Sun Apr 6 12:42:22 UTC 2025
#23311: Enable internationalization in PHPMailer
-------------------------------------------------+-------------------------
Reporter: iandunn | Owner: swissspidy
Type: enhancement | Status: closed
Priority: normal | Milestone: 6.8
Component: I18N | Version: 3.5
Severity: normal | Resolution: fixed
Keywords: has-patch needs-unit-tests needs- | Focuses:
dev-note |
-------------------------------------------------+-------------------------
Comment (by GaryJ):
{{{
'invalid_hostentry' => __( 'Invalid hostentry: ' ),
}}}
I'd recommend that the default string here be changed to be `Invalid host
entry: ` - a "hostentry" isn't a thing as far as I know, but an ''entry
into a list of hosts'' is.
The use of separate words is also validated by
[https://github.com/PHPMailer/PHPMailer/blob/e7b1334cf21c4d0d36abcb34223efc4a4f65f86f/src/PHPMailer.php#L2178
this code comment] too.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/23311#comment:20>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list