Make WordPress Core

Changeset 60898


Ignore:
Timestamp:
10/04/2025 12:45:11 AM (22 hours ago)
Author:
joedolson
Message:

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.

Location:
trunk/src/wp-admin
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-admin/install.php

    r60805 r60898  
    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>
  • trunk/src/wp-admin/maint/repair.php

    r60106 r60898  
    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
  • trunk/src/wp-admin/upgrade.php

    r60363 r60898  
    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() ) : ?>
Note: See TracChangeset for help on using the changeset viewer.