[wp-trac] [WordPress Trac] #29489: wp_check_php_mysql_versions() is broken in PHP 4

WordPress Trac noreply at wordpress.org
Wed Sep 3 15:58:00 UTC 2014


#29489: wp_check_php_mysql_versions() is broken in PHP 4
-----------------------------+-----------------------------
 Reporter:  SergeyBiryukov   |      Owner:
     Type:  defect (bug)     |     Status:  new
 Priority:  normal           |  Milestone:  Awaiting Review
Component:  Upgrade/Install  |    Version:  trunk
 Severity:  normal           |   Keywords:
  Focuses:                   |
-----------------------------+-----------------------------
 Previously: #21316

 We no longer get a proper error message when trying to install on PHP4.
 Here's a rundown of parse errors:

 `http://trunk.wordpress/` or `http://trunk.wordpress/wp-admin/install.php`
 * `syntax error, unexpected T_OBJECT_OPERATOR in wp-includes/functions.php
 on line 3668` ([source:tags/3.9.2/src/wp-includes/functions.php#L3547
 ref])
 * `syntax error, unexpected T_VARIABLE in wp-includes/option.php on line
 241` ([source:tags/3.9.2/src/wp-includes/option.php#L240 ref])
 * `syntax error, unexpected T_VARIABLE in wp-includes/option.php on line
 367` ([source:tags/3.9.2/src/wp-includes/option.php#L366 ref])

 `http://trunk.wordpress/wp-admin/index.php`
 * `syntax error, unexpected T_OBJECT_OPERATOR in wp-admin/index.php on
 line 103` ([source:tags/3.9.2/src/wp-admin/index.php#L103 ref])

 `http://trunk.wordpress/wp-admin/setup-config.php` works as expected:
 * `Your server is running PHP version 4.4.7 but WordPress 4.0-RC1-src
 requires at least 5.2.4.`

 The first three points are a regression, it worked fine in 3.9.

--
Ticket URL: <https://core.trac.wordpress.org/ticket/29489>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list