Make WordPress Core

Ticket #34625: 34625.4.diff

File 34625.4.diff, 1.1 KB (added by lukecavanagh, 8 years ago)

Updated Basic Patch

  • src/wp-login.php

     
    100100                $login_header_url   = network_home_url();
    101101                $login_header_title = get_network()->site_name;
    102102        } else {
    103                 $login_header_url   = __( 'https://wordpress.org/' );
    104                 $login_header_title = __( 'Powered by WordPress' );
     103                $login_header_url   = home_url();
     104                $login_header_title = get_bloginfo( 'name' );
    105105        }
    106106
    107107        /**
     
    158158        do_action( 'login_header' );
    159159        ?>
    160160        <div id="login">
    161                 <h1><a href="<?php echo esc_url( $login_header_url ); ?>" title="<?php echo esc_attr( $login_header_title ); ?>" tabindex="-1"><?php bloginfo( 'name' ); ?></a></h1>
     161                <h1><a href="<?php echo esc_url( $login_header_url ); ?>" tabindex="-1"><?php echo esc_html( $login_header_title ); ?></a></h1>
    162162        <?php
    163163
    164164        unset( $login_header_url, $login_header_title );
     
    358358
    359359        /**
    360360         * Filters the message body of the password reset mail.
    361          * 
     361         *
    362362         * If the filtered message is empty, the password reset email will not be sent.
    363363         *
    364364         * @since 2.8.0