WordPress.org

Make WordPress Core

Ticket #42537: 42537.diff

File 42537.diff, 612 bytes (added by chetan200891, 2 years ago)

Created patch to remove title attribute.

  • wp-login.php

    diff --git a/wp-login.php b/wp-login.php
    index b5d0e4a..9472360 100644
    a b function login_header( $title = 'Log In', $message = '', $wp_error = '' ) { 
    181181        do_action( 'login_header' );
    182182        ?>
    183183        <div id="login">
    184                 <h1><a href="<?php echo esc_url( $login_header_url ); ?>" title="<?php echo esc_attr( $login_header_title ); ?>" tabindex="-1"><?php echo $login_header_text; ?></a></h1>
     184                <h1><a href="<?php echo esc_url( $login_header_url ); ?>" tabindex="-1"><?php echo $login_header_text; ?></a></h1>
    185185        <?php
    186186
    187187        unset( $login_header_url, $login_header_title );