Make WordPress Core

Ticket #47759: 47759.diff

File 47759.diff, 1.5 KB (added by audrasjb, 6 years ago)

Unlink WordPress logo in setup screens

  • src/wp-admin/css/install.css

    diff --git a/src/wp-admin/css/install.css b/src/wp-admin/css/install.css
    index 72caf9e..87888bf 100644
    a b label { 
    8181}
    8282
    8383#logo {
    84         margin: 6px 0 14px 0;
    85         padding: 0 0 7px 0;
    86         border-bottom: none;
    87         text-align: center
    88 }
    89 #logo a {
     84        margin: -130px auto 25px;
     85        padding: 0 0 25px 0;
     86        width: 84px;
     87        height: 84px;
     88        overflow: hidden;
    9089        background-image: url(../images/w-logo-blue.png?ver=20131202);
    9190        background-image: none, url(../images/wordpress-logo.svg?ver=20131107);
    9291        background-size: 84px;
    9392        background-position: center top;
    9493        background-repeat: no-repeat;
    9594        color: #444; /* same as login.css */
    96         height: 84px;
    9795        font-size: 20px;
    9896        font-weight: 400;
    99         line-height: 1.3;
    100         margin: -130px auto 25px;
    101         padding: 0;
     97        line-height: 1.3em;
    10298        text-decoration: none;
    103         width: 84px;
     99        text-align: center;
    104100        text-indent: -9999px;
    105101        outline: none;
    106         overflow: hidden;
    107         display: block;
    108102}
    109103
    110104.step {
  • src/wp-admin/setup-config.php

    diff --git a/src/wp-admin/setup-config.php b/src/wp-admin/setup-config.php
    index 10a74e0..fae0956 100644
    a b function setup_config_display_header( $body_classes = array() ) { 
    113113        <?php wp_admin_css( 'install', true ); ?>
    114114</head>
    115115<body class="<?php echo implode( ' ', $body_classes ); ?>">
    116 <p id="logo"><a href="<?php echo esc_url( __( 'https://wordpress.org/' ) ); ?>"><?php _e( 'WordPress' ); ?></a></p>
     116<p id="logo"><?php _e( 'WordPress' ); ?></p>
    117117        <?php
    118118} // end function setup_config_display_header();
    119119