Make WordPress Core


Ignore:
Timestamp:
10/25/2016 03:14:31 AM (8 years ago)
Author:
dd32
Message:

Drop the requirement for the entry points to WordPress to be parsable by PHP4.

Previously we ensured that the entry points to WordPress were parsable by PHP4 in order to display a friendly not-supported-php error message.
However, for the last two years the main entry points have not actually parsed, and we've only added extra parse errors since it last worked in 3.9, so it's time we just remove this 'feature'.
The PHP version checks are still there for PHP 5.0/5.1, and so it's inplace when we eventually drop PHP 5.2 support.

See #29489.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-admin/index.php

    r38725 r38899  
    3434$help = '<p>' . __( 'Welcome to your WordPress Dashboard! This is the screen you will see when you log in to your site, and gives you access to all the site management features of WordPress. You can get help for any screen by clicking the Help tab above the screen title.' ) . '</p>';
    3535
    36 // Not using chaining here, so as to be parseable by PHP4.
    3736$screen = get_current_screen();
    3837
Note: See TracChangeset for help on using the changeset viewer.