Closed swissspidy closed 2 weeks ago
Hi @swissspidy Is the just-in-time method new on the latest WordPress versions, or is it ancient?
Thid functionality is available since WordPress 4.6, so ancient :-)
https://make.wordpress.org/core/2016/07/06/i18n-improvements-in-4-6/
Thank you Pascal, we should have done this a long time ago.
PR Checklist
PR Type
What kind of change does this PR introduce?
Summary
This PR can be summarized in the following changelog entry:
Description
An explanation of what is done in this PR
load_plugin_textdomain()
in favor of leveraging just-in-time translation loading.Test instructions
This PR can be tested by following these steps:
Quality assurance
Fixes #27199