WordPress.org

Make WordPress Core

Ticket #19364: 19364.diff

File 19364.diff, 1.4 KB (added by zeo, 7 years ago)
  • wp-login.php

     
    7979        do_action( 'login_head' ); ?>
    8080</head>
    8181<body class="login">
     82        <div id="login">
     83                <h1>
    8284<?php   if ( !is_multisite() ) { ?>
    83 <div id="login"><h1><a href="<?php echo esc_url( apply_filters('login_headerurl', 'http://wordpress.org/') ); ?>" title="<?php echo esc_attr( apply_filters('login_headertitle', __( 'Powered by WordPress' ) ) ); ?>"><?php bloginfo('name'); ?></a></h1>
     85                <a href="<?php echo esc_url( apply_filters( 'login_headerurl', __( 'http://wordpress.org' ) ) ); ?>" title="<?php echo esc_attr( apply_filters( 'login_headertitle', __( 'Powered by WordPress' ) ) ); ?>"><?php bloginfo( 'name' ); ?></a>
    8486<?php   } else { ?>
    85 <div id="login"><h1><a href="<?php echo esc_url( apply_filters('login_headerurl', network_home_url() ) ); ?>" title="<?php echo esc_attr( apply_filters('login_headertitle', $current_site->site_name ) ); ?>"><span class="hide"><?php bloginfo('name'); ?></span></a></h1>
    86 <?php   }
    87 
     87                <a href="<?php echo esc_url( apply_filters( 'login_headerurl', network_home_url() ) ); ?>" title="<?php echo esc_attr( apply_filters( 'login_headertitle', $current_site->site_name ) ); ?>"><?php bloginfo( 'name' ); ?></a>
     88<?php   } ?>
     89                </h1>
     90<?php
    8891        $message = apply_filters('login_message', $message);
    8992        if ( !empty( $message ) ) echo $message . "\n";
    9093