WordPress.org

Make WordPress Core

Ticket #18287: relative-wp-login.diff

File relative-wp-login.diff, 1.0 KB (added by Ipstenu, 9 years ago)

relative URL on wp-login, for MultiSite.

  • wp-login.php

     
    8686<?php   if ( !is_multisite() ) { ?>
    8787<div id="login"><h1><a href="<?php echo apply_filters('login_headerurl', 'http://wordpress.org/'); ?>" title="<?php echo apply_filters('login_headertitle', esc_attr__('Powered by WordPress')); ?>"><?php bloginfo('name'); ?></a></h1>
    8888<?php   } else { ?>
    89 <div id="login"><h1><a href="<?php echo apply_filters('login_headerurl', network_home_url() ); ?>" title="<?php echo apply_filters('login_headertitle', esc_attr($current_site->site_name) ); ?>"><span class="hide"><?php bloginfo('name'); ?></span></a></h1>
     89<div id="login"><h1><a href="<?php echo apply_filters('login_headerurl', bloginfo('url') ); ?>" title="<?php echo apply_filters('login_headertitle', esc_attr($current_site->site_name) ); ?>"><span class="hide"><?php bloginfo('name'); ?></span></a></h1>
    9090<?php   }
    9191
    9292        $message = apply_filters('login_message', $message);