WordPress.org

Make WordPress Core

Ticket #20636: 20636.1.patch

File 20636.1.patch, 568 bytes (added by JustinSainton, 2 years ago)
  • wp-login.php

     
    352352 
    353353header('Content-Type: '.get_bloginfo('html_type').'; charset='.get_bloginfo('charset')); 
    354354 
    355 if ( defined('RELOCATE') ) { // Move flag is set 
     355if ( defined('RELOCATE') && RELOCATE ) { // Move flag is set 
    356356        if ( isset( $_SERVER['PATH_INFO'] ) && ($_SERVER['PATH_INFO'] != $_SERVER['PHP_SELF']) ) 
    357357                $_SERVER['PHP_SELF'] = str_replace( $_SERVER['PATH_INFO'], '', $_SERVER['PHP_SELF'] ); 
    358358