Skip to content

Commit d6bb737

Browse files
committed
Upgrade/Install: WordPress text shows over logo on tab.
On the upgrade and repair screens, the logo link to wordpress.org was hidden using negative `text-indent`. This method makes the link impossible to click on using a mouse, and causes the text to overlay the image on keyboard focus. On the install screen, if PHP is not running, the styles are not applied, leaving an unstyled link. Remove the links for consistency with other screens following r47745. Props johnbillion, sabernhardt, joedolson. Fixes #63950. git-svn-id: https://develop.svn.wordpress.org/trunk@60898 602fd350-edb4-49c9-b593-d223f7449a82
1 parent 200c293 commit d6bb737

File tree

3 files changed

+2
-3
lines changed

3 files changed

+2
-3
lines changed

src/wp-admin/install.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,6 @@
1616
<title>Error: PHP is not running</title>
1717
</head>
1818
<body class="wp-core-ui">
19-
<p id="logo"><a href="https://wordpress.org/">WordPress</a></p>
2019
<h1>Error: PHP is not running</h1>
2120
<p>WordPress requires that your web server is running PHP. Your server does not have PHP installed, or PHP is turned off.</p>
2221
</body>

src/wp-admin/maint/repair.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
<?php wp_admin_css( 'install', true ); ?>
2222
</head>
2323
<body class="wp-core-ui">
24-
<p id="logo"><a href="<?php echo esc_url( __( 'https://wordpress.org/' ) ); ?>"><?php _e( 'WordPress' ); ?></a></p>
24+
<p id="logo"><?php _e( 'WordPress' ); ?></p>
2525

2626
<?php
2727

src/wp-admin/upgrade.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@
8585
<?php wp_admin_css( 'install', true ); ?>
8686
</head>
8787
<body class="wp-core-ui">
88-
<p id="logo"><a href="<?php echo esc_url( __( 'https://wordpress.org/' ) ); ?>"><?php _e( 'WordPress' ); ?></a></p>
88+
<p id="logo"><?php _e( 'WordPress' ); ?></p>
8989

9090
<?php if ( (int) get_option( 'db_version' ) === $wp_db_version || ! is_blog_installed() ) : ?>
9191

0 commit comments

Comments
 (0)