WordPress.org

Make WordPress Core

Changes between Initial Version and Version 1 of Ticket #45932


Ignore:
Timestamp:
01/11/2019 12:50:07 AM (3 years ago)
Author:
spacedmonkey
Comment:

Related: #44458

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #45932 – Description

    initial v1  
    1 It a PHP error handles extremely early in the bootstrap process, say in the wp-config.ph file, the WP_Shutdown_Handler will display an error message. This error message is run through the __ translation functions, but as the functions do not exist yet, these string fail to translated. Other parts of core, like wp-db class call the `wp_load_translations_early` function to fix this issue.
     1It a PHP error handles extremely early in the bootstrap process, say in the wp-config.ph file, the WP_Shutdown_Handler will display an error message. This error message is run through the `__` translation functions, but as the functions do not exist yet, these string fail to translated. Other parts of core, like wp-db class call the `wp_load_translations_early` function to fix this issue.