[wp-trac] [WordPress Trac] #57873: PHPMailer: Update to v6.8.0
WordPress Trac
noreply at wordpress.org
Mon Mar 6 18:48:52 UTC 2023
#57873: PHPMailer: Update to v6.8.0
--------------------------------+---------------------
Reporter: ayeshrajans | Owner: (none)
Type: enhancement | Status: new
Priority: normal | Milestone: 6.3
Component: External Libraries | Version: trunk
Severity: normal | Resolution:
Keywords: has-patch | Focuses:
--------------------------------+---------------------
Comment (by SergeyBiryukov):
Replying to [comment:3 jrf]:
> Also: the Hindi translation has been updated - do we need to ping the
Polyglots team to get the translation used by WP updated as well ?
Looking at the two related commits
([https://github.com/PHPMailer/PHPMailer/commit/98a2f2c80303496562b201c3d90d6cf3918bc113
98a2f2c] and
[https://github.com/PHPMailer/PHPMailer/commit/1d330c7ec2f4adead7ec49761018a0d09c8d4bd3
1d330c7]), it appears that translations for these strings were added or
updated:
{{{
$PHPMAILER_LANG = [
'buggy_php' => 'Your version of PHP is affected by a bug that may
result in corrupted messages.' .
' To fix it, switch to sending using SMTP, disable the
mail.add_x_header option in' .
' your php.ini, switch to MacOS or Linux, or upgrade your PHP to
version 7.0.17+ or 7.1.3+.',
...
'invalid_header' => 'Invalid header name or value',
'invalid_hostentry' => 'Invalid hostentry: ',
'invalid_host' => 'Invalid host: ',
...
'signing' => 'Signing Error: ',
];
}}}
As far as I can tell, most of the strings in the `$PHPMAILER_LANG` array
are debugging messages used when a PHP exception is thrown. These strings
are not exposed for translation in WordPress core, nor does it provide its
own strings for that purpose, so I don't think these updates are relevant
for the Polyglots team.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/57873#comment:8>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list