WordPress.org

Make WordPress Core

Ticket #7638: wp-settings.diff

File wp-settings.diff, 627 bytes (added by mrmist, 6 years ago)

Fixes type

  • .php

    old new  
    101101        $_SERVER['PHP_SELF'] = $PHP_SELF = preg_replace("/(\?.*)?$/",'',$_SERVER["REQUEST_URI"]); 
    102102 
    103103if ( 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 
    107107if ( !defined('WP_CONTENT_DIR') )