Changeset 12939
- Timestamp:
- 02/03/2010 09:38:09 PM (15 years ago)
- Location:
- trunk
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-admin/setup-config.php
r12732 r12939 39 39 require_once(ABSPATH . WPINC . '/functions.php'); 40 40 require_once(ABSPATH . WPINC . '/classes.php'); 41 require_once(ABSPATH . WPINC . '/version.php'); 41 42 42 43 if (!file_exists(ABSPATH . 'wp-config-sample.php')) … … 53 54 wp_die("<p>The file 'wp-config.php' already exists one level above your WordPress installation. If you need to reset any of the configuration items in this file, please delete it first. You may try <a href='install.php'>installing now</a>.</p>"); 54 55 55 if ( version_compare( '4.3', phpversion(), '>' ) )56 wp_die( sprintf( /*WP_I18N_OLD_PHP*/'Your server is running PHP version % s but WordPress requires at least 4.3.'/*/WP_I18N_OLD_PHP*/, phpversion()) );56 if ( version_compare( $required_php_version, phpversion(), '>' ) ) 57 wp_die( sprintf( /*WP_I18N_OLD_PHP*/'Your server is running PHP version %1$s but WordPress requires at least %2$s.'/*/WP_I18N_OLD_PHP*/, phpversion(), $required_php_version ) ); 57 58 58 59 if ( !extension_loaded('mysql') && !file_exists(ABSPATH . 'wp-content/db.php') ) -
trunk/wp-includes/wp-db.php
r12922 r12939 1219 1219 * Retrieve the name of the function that called wpdb. 1220 1220 * 1221 * Requires PHP 4.3 and searches up the list of functions until it reaches1221 * Searches up the list of functions until it reaches 1222 1222 * the one that would most logically had called this method. 1223 1223 * … … 1227 1227 */ 1228 1228 function get_caller() { 1229 // requires PHP 4.3+1230 if ( !is_callable('debug_backtrace') )1231 return '';1232 1233 1229 $bt = debug_backtrace(); 1234 1230 $caller = array();
Note: See TracChangeset
for help on using the changeset viewer.