[wp-trac] [WordPress Trac] #62981: Issue with Translations in Plugin/Theme – Early Call to _load_textdomain_just_in_time
WordPress Trac
noreply at wordpress.org
Mon Feb 17 17:46:53 UTC 2025
#62981: Issue with Translations in Plugin/Theme – Early Call to
_load_textdomain_just_in_time
--------------------------+-----------------------------
Reporter: bulls_shark | Owner: (none)
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: General | Version: 6.7.2
Severity: major | Keywords: needs-refresh
Focuses: |
--------------------------+-----------------------------
I am receiving an error in WordPress version 6.7.0, which is displayed in
the Query Monitor. The error states that the function
_load_textdomain_just_in_time was called too early, possibly due to faulty
code in the plugin or theme being used.
Function _load_textdomain_just_in_time was called incorrectly. Loading the
translation for the domain 'riode' was triggered too early. This is
usually an indication of code in the plugin or theme running too early.
Translations should be loaded with the 'init' action or later. (This
message was introduced in version 6.7.0.)
Relevant Files and Functions:
wp-includes/l10n.php:1370
get_translations_for_domain() in wp-includes/l10n.php:1408
translate() in wp-includes/l10n.php:194
esc_html__() in wp-includes/l10n.php:339
Best regrats
--
Ticket URL: <https://core.trac.wordpress.org/ticket/62981>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list