WordPress.org

Make WordPress Core

Ticket #42632: 42632.patch

File 42632.patch, 1.8 KB (added by rishishah, 3 years ago)

I have removed tabindex="-1" from all login and setup files.

  • src/wp-admin/install.php

     
    7777        ?>
    7878</head>
    7979<body class="wp-core-ui<?php echo $body_classes ?>">
    80 <p id="logo"><a href="<?php echo esc_url( __( 'https://wordpress.org/' ) ); ?>" tabindex="-1"><?php _e( 'WordPress' ); ?></a></p>
     80<p id="logo"><a href="<?php echo esc_url( __( 'https://wordpress.org/' ) ); ?>"><?php _e( 'WordPress' ); ?></a></p>
    8181
    8282<?php
    8383} // end display_header()
  • src/wp-admin/setup-config.php

     
    107107        <?php wp_admin_css( 'install', true ); ?>
    108108</head>
    109109<body class="<?php echo implode( ' ', $body_classes ); ?>">
    110 <p id="logo"><a href="<?php echo esc_url( __( 'https://wordpress.org/' ) ); ?>" tabindex="-1"><?php _e( 'WordPress' ); ?></a></p>
     110<p id="logo"><a href="<?php echo esc_url( __( 'https://wordpress.org/' ) ); ?>"><?php _e( 'WordPress' ); ?></a></p>
    111111<?php
    112112} // end function setup_config_display_header();
    113113
  • src/wp-login.php

     
    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 ); ?>" title="<?php echo esc_attr( $login_header_title ); ?>"><?php echo $login_header_text; ?></a></h1>
    185185        <?php
    186186
    187187        unset( $login_header_url, $login_header_title );