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.
Built from https://develop.svn.wordpress.org/trunk@60898


git-svn-id: http://core.svn.wordpress.org/trunk@60234 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
joedolson
2025-10-04 00:47:31 +00:00
parent 8387bdda6e
commit d51564e552
4 changed files with 3 additions and 4 deletions

View File

@@ -16,7 +16,6 @@ if ( false ) {
<title>Error: PHP is not running</title>
</head>
<body class="wp-core-ui">
<p id="logo"><a href="https://wordpress.org/">WordPress</a></p>
<h1>Error: PHP is not running</h1>
<p>WordPress requires that your web server is running PHP. Your server does not have PHP installed, or PHP is turned off.</p>
</body>

View File

@@ -21,7 +21,7 @@ header( 'Content-Type: text/html; charset=utf-8' );
<?php wp_admin_css( 'install', true ); ?>
</head>
<body class="wp-core-ui">
<p id="logo"><a href="<?php echo esc_url( __( 'https://wordpress.org/' ) ); ?>"><?php _e( 'WordPress' ); ?></a></p>
<p id="logo"><?php _e( 'WordPress' ); ?></p>
<?php

View File

@@ -85,7 +85,7 @@ header( 'Content-Type: ' . get_option( 'html_type' ) . '; charset=' . get_option
<?php wp_admin_css( 'install', true ); ?>
</head>
<body class="wp-core-ui">
<p id="logo"><a href="<?php echo esc_url( __( 'https://wordpress.org/' ) ); ?>"><?php _e( 'WordPress' ); ?></a></p>
<p id="logo"><?php _e( 'WordPress' ); ?></p>
<?php if ( (int) get_option( 'db_version' ) === $wp_db_version || ! is_blog_installed() ) : ?>

View File

@@ -16,7 +16,7 @@
*
* @global string $wp_version
*/
$wp_version = '6.9-alpha-60897';
$wp_version = '6.9-alpha-60898';
/**
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.