WordPress.org

Make WordPress Core

Changes between Initial Version and Version 2 of Ticket #21316


Ignore:
Timestamp:
07/19/2012 08:30:09 PM (6 years ago)
Author:
SergeyBiryukov
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #21316 – Description

    initial v2  
    11Since [19760].
    22
    3 `wp_load_translations_early()` includes `functions.php`, which in turn includes `option.php`. This leads to the error message when running PHP 4:
     3`wp_load_translations_early()` includes `functions.php`, which in turn includes `option.php`. This leads to the parse error when running PHP 4 (due to the `clone` keyword being used there):
    44{{{
    55Parse error: syntax error, unexpected T_VARIABLE in wp-includes/option.php on line 225
    66}}}
     7http://core.trac.wordpress.org/browser/tags/3.4.1/wp-includes/option.php#L224
     8
    79In 3.3, a proper error message was shown:
    810{{{