Jetpack Backup: WordPress 6.8 compatibility - _load_textdomain_just_in_time doing it wrong notice being logged #42395
Labels
[Package] Backup
[Plugin] Backup
A plugin that allows users to save every change and get back online quickly with one-click restores.
[Pri] Normal
[Status] Auto-allocated
[Type] Bug
When a feature is broken and / or not performing as intended
Issue
In testing with WordPress 6.8-beta2, I noticed a
_load_textdomain_just_in_time
'doing it wrong' notice being logged for Jetpack Backup (and the notice doesn't appear to be visible in 6.7.0 or 6.7.1/6.7.2 despite the message, for US English (visible for other translations though) ):The following stack trace is logged by adding extra debugging in the l10n.php file:
Steps to replicate
On a self-hosted test site, with Jetpack Backup installed and active:
PHP Notice: Function _load_textdomain_just_in_time was called <strong>incorrectly</strong>. Translation loading for the <code>jetpack-backup</code> domain was triggered too early.
Also replicable in WP 6.7.2 with a translation such as Deutsch, if WordPress is reinstalled using the new language.
Other relevant links
WordPress 6.8 compatibility parent issue: #39818
The text was updated successfully, but these errors were encountered: