Changeset 3985 for trunk/wp-settings.php
- Timestamp:
- 07/05/2006 10:00:03 PM (19 years ago)
- File:
-
- 1 edited
-
trunk/wp-settings.php (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-settings.php
r3951 r3985 6 6 7 7 if ( isset($_REQUEST['GLOBALS']) ) 8 die('GLOBALS overwrite attempt detected');8 wp_die('GLOBALS overwrite attempt detected'); 9 9 10 10 // Variables that shouldn't be unset … … 48 48 49 49 if ( !(phpversion() >= '4.1') ) 50 die( 'Your server is running PHP version ' . phpversion() . ' but WordPress requires at least 4.1' );50 wp_die( 'Your server is running PHP version ' . phpversion() . ' but WordPress requires at least 4.1' ); 51 51 52 52 if ( !extension_loaded('mysql') ) 53 die( 'Your PHP installation appears to be missing the MySQL which is required for WordPress.' );53 wp_die( 'Your PHP installation appears to be missing the MySQL which is required for WordPress.' ); 54 54 55 55 function timer_start() { … … 112 112 else 113 113 $link = 'wp-admin/install.php'; 114 die(sprintf(__("It doesn't look like you've installed WP yet. Try running <a href='%s'>install.php</a>."), $link));114 wp_die(sprintf(__("It doesn't look like you've installed WP yet. Try running <a href='%s'>install.php</a>."), $link)); 115 115 } 116 116
Note: See TracChangeset
for help on using the changeset viewer.