[wp-trac] [WordPress Trac] #21316: wp_check_php_mysql_versions() is broken in PHP 4
WordPress Trac
wp-trac at lists.automattic.com
Thu Jul 19 20:32:58 UTC 2012
#21316: wp_check_php_mysql_versions() is broken in PHP 4
-----------------------------+--------------------
Reporter: SergeyBiryukov | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: 3.4.2
Component: Upgrade/Install | Version: 3.4
Severity: normal | Resolution:
Keywords: has-patch |
-----------------------------+--------------------
Comment (by nacin):
Conditionally including a file can slow things down because it results in
an extra sysopen call and you don't get any benefit from an opcode cache.
We could do two different things here:
* Remove the functions.php dependency from wp_load_translations_early().
I think it is there for wp_die().
* In wp_check_php_mysql_versions(), check if the php version is < 5, in
which case, die() with a message in English instead.
--
Ticket URL: <http://core.trac.wordpress.org/ticket/21316#comment:3>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list