forked from WordPress/WordPress
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Don't include functions.php in wp_load_translations_early()
to avoid a parse error in a PHP4 environment (caused by use of the clone keyword in option.php). Manually include functions.php in the rare situations where it is not already included by the time we need to load translations early. Remove the functions.php dependency by switching the wp_die() calls to die(), in wp_check_php_mysql_versions(). props SergeyBiryukov, see #21316, for trunk. git-svn-id: http://core.svn.wordpress.org/trunk@21715 1a063a9b-81f0-0310-95a4-ce76da25c4cd
- Loading branch information
Showing
3 changed files
with
10 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters