mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-10-06 23:58:03 +00:00
Remove the WordPress logo from the focusable elements on the install/update screens. Fixes #28674. Props stompweb
git-svn-id: https://develop.svn.wordpress.org/trunk@28896 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
@@ -90,7 +90,7 @@ function display_header( $body_classes = '' ) {
|
||||
?>
|
||||
</head>
|
||||
<body class="wp-core-ui<?php echo $body_classes ?>">
|
||||
<h1 id="logo"><a href="<?php echo esc_url( __( 'https://wordpress.org/' ) ); ?>"><?php _e( 'WordPress' ); ?></a></h1>
|
||||
<h1 id="logo"><a href="<?php echo esc_url( __( 'https://wordpress.org/' ) ); ?>" tabindex="-1"><?php _e( 'WordPress' ); ?></a></h1>
|
||||
|
||||
<?php
|
||||
} // end display_header()
|
||||
|
||||
@@ -22,7 +22,7 @@ header( 'Content-Type: text/html; charset=utf-8' );
|
||||
?>
|
||||
</head>
|
||||
<body class="wp-core-ui">
|
||||
<h1 id="logo"><a href="<?php echo esc_url( __( 'https://wordpress.org/' ) ); ?>"><?php _e( 'WordPress' ); ?></a></h1>
|
||||
<h1 id="logo"><a href="<?php echo esc_url( __( 'https://wordpress.org/' ) ); ?>" tabindex="-1"><?php _e( 'WordPress' ); ?></a></h1>
|
||||
|
||||
<?php
|
||||
|
||||
|
||||
@@ -103,7 +103,7 @@ function setup_config_display_header() {
|
||||
|
||||
</head>
|
||||
<body class="wp-core-ui<?php if ( is_rtl() ) echo ' rtl'; ?>">
|
||||
<h1 id="logo"><a href="<?php esc_attr_e( 'https://wordpress.org/' ); ?>"><?php _e( 'WordPress' ); ?></a></h1>
|
||||
<h1 id="logo"><a href="<?php esc_attr_e( 'https://wordpress.org/' ); ?>" tabindex="-1"><?php _e( 'WordPress' ); ?></a></h1>
|
||||
<?php
|
||||
} // end function setup_config_display_header();
|
||||
|
||||
|
||||
@@ -59,7 +59,7 @@ else
|
||||
?>
|
||||
</head>
|
||||
<body class="wp-core-ui">
|
||||
<h1 id="logo"><a href="<?php echo esc_url( __( 'https://wordpress.org/' ) ); ?>"><?php _e( 'WordPress' ); ?></a></h1>
|
||||
<h1 id="logo"><a href="<?php echo esc_url( __( 'https://wordpress.org/' ) ); ?>" tabindex="-1"><?php _e( 'WordPress' ); ?></a></h1>
|
||||
|
||||
<?php if ( get_option( 'db_version' ) == $wp_db_version || !is_blog_installed() ) : ?>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user