Health Check is a WordPress plugin that will perform a number of checks on your WordPress install to detect common configuration errors and known issues.
GNU General Public License v2.0
175
stars
56
forks
source link
Function _load_textdomain_just_in_time was called incorrectly #477
Using the plugin with WordPress 6.7 results with enable debug-mode in this message:
Notice: Function _load_textdomain_just_in_time was called incorrectly. Translation loading for the health-check 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](https://developer.wordpress.org/advanced-administration/debug/debug-wordpress/) for more information. (This message was added in version 6.7.0.) in /var/www/clients/client1/web3/web/wp-includes/functions.php on line 6114
Using the plugin with WordPress 6.7 results with enable debug-mode in this message:
See: https://make.wordpress.org/core/2024/10/21/i18n-improvements-6-7/
Details with the add_filter-Helper from this page:
Reason should be the loading of translatable text here: https://github.com/WordPress/health-check/blob/trunk/HealthCheck/Tools/class-health-check-files-integrity.php#L20 but also in multiple other files without any surrounding hook.