[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:21:08 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 | Keywords: has-patch
-----------------------------+-----------------------
Since [19760].
`wp_load_translations_early()` includes `functions.php`, which in turn
includes `option.php`. This leads to the error message when running PHP 4:
{{{
Parse error: syntax error, unexpected T_VARIABLE in wp-includes/option.php
on line 225
}}}
In 3.3, a proper error message was shown:
{{{
Your server is running PHP version 4.4.7 but WordPress 3.3.3 requires at
least 5.2.4.
}}}
* http://wordpress.org/support/topic/can-anyone-help-parse-error-syntax-
error
* http://wordpress.org/support/topic/parse-error-when-trying-to-run-
installphp
--
Ticket URL: <http://core.trac.wordpress.org/ticket/21316>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list