Skip to content

Commit b647b13

Browse files
committed
Fix typo in wp-settings.php. Props mictasm, fixes WordPress#7638
git-svn-id: https://develop.svn.wordpress.org/trunk@8772 602fd350-edb4-49c9-b593-d223f7449a82
1 parent 3a66322 commit b647b13

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

wp-settings.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,7 @@ function wp_unregister_GLOBALS() {
101101
$_SERVER['PHP_SELF'] = $PHP_SELF = preg_replace("/(\?.*)?$/",'',$_SERVER["REQUEST_URI"]);
102102

103103
if ( version_compare( '4.3', phpversion(), '>' ) ) {
104-
die( sprintf( /*WP_I18N_OLD_PHP*/'Your server is running PHP version %s but WordPress requires at least 4.3.'/*/WP_I18N_OLD_PHP*/, php_version() ) );
104+
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() ) );
105105
}
106106

107107
if ( !defined('WP_CONTENT_DIR') )

0 commit comments

Comments
 (0)