Make WordPress Core

Changeset 45770


Ignore:
Timestamp:
08/08/2019 12:53:21 PM (5 years ago)
Author:
SergeyBiryukov
Message:

Bootstrap/Load: Change "Insufficient Requirements" wp_die() heading to "Requirements Not Met", which is more appropriate for the context it's used in.

Props yoavf.
Fixes #47575.

Location:
trunk/src
Files:
2 edited

Legend:

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

    r45737 r45770  
    262262if ( ! $mysql_compat || ! $php_compat ) {
    263263    display_header();
    264     die( '<h1>' . __( 'Insufficient Requirements' ) . '</h1><p>' . $compat . '</p></body></html>' );
     264    die( '<h1>' . __( 'Requirements Not Met' ) . '</h1><p>' . $compat . '</p></body></html>' );
    265265}
    266266
  • trunk/src/wp-includes/load.php

    r45740 r45770  
    151151        wp_die(
    152152            __( 'Your PHP installation appears to be missing the MySQL extension which is required by WordPress.' ),
    153             __( 'Insufficient Requirements' ),
     153            __( 'Requirements Not Met' ),
    154154            $args
    155155        );
Note: See TracChangeset for help on using the changeset viewer.