#62237 closed defect (bug) (fixed)
Bundled Themes: avoid triggering translation loading too early
| Reported by: | domainsupport | Owned by: | peterwilsoncc |
|---|---|---|---|
| Priority: | normal | Milestone: | 6.7 |
| Component: | Bundled Theme | Version: | 6.7 |
| Severity: | normal | Keywords: | has-patch commit |
| Cc: | Focuses: |
Description
As per #44937 we are seeing this error notice with Twenty Twenty bundled theme when testing with WordPress v6.7-beta3 ...
[16-Oct-2024 11:08:39 UTC] E_USER_NOTICE: Function _load_textdomain_just_in_time was called incorrectly. Translation loading for the twentytwenty domain was triggered too early. This is usually an indicator for some code in the plugin or theme running too early. Translations should be loaded at the init action or later. Please see Debugging in WordPress for more information. (This message was added in version 6.7.0.) in /wp-includes/functions.php on line 6099
We are also seeing similar notices with Twenty Seventeen and Twenty Nineteen. Do they require additional tickets or can all be dealt with in this ticket?
Oliver
Change History (8)
This ticket was mentioned in PR #7578 on WordPress/wordpress-develop by @swissspidy.
2 years ago
#2
Trac ticket: https://core.trac.wordpress.org/ticket/62237
#3
@
2 years ago
- Summary Twenty Twenty: "Translation loading for the twentytwenty domain was triggered too early" → Bundled Themes: avoid triggering translation loading too early
Note:
See TracTickets
for help on using tickets.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)
Good catch! We can fix this all in the same ticket.