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

WordPress Trac wp-trac at lists.automattic.com
Tue Sep 4 02:38:39 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 commit  |
------------------------------+--------------------

Comment (by nacin):

 In [21715]:
 {{{
 #!CommitTicketReference repository="" revision="21715"
 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.
 }}}

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/21316#comment:15>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list