WordPress.org

Make WordPress Core

Ticket #26601: 26601.theme-install.patch

File 26601.theme-install.patch, 822 bytes (added by joedolson, 3 years ago)

Theme installer patch

  • wp-admin/theme-install.php

     
    119119
    120120?>
    121121<div class="wrap">
    122         <h1><?php
     122        <h1 class="wp-heading-inline"><?php
    123123        echo esc_html( $title );
     124        ?></h1>
     125        <?php
    124126
    125127        /**
    126128         * Filters the tabs shown on the Add Themes screen.
     
    135137        if ( ! empty( $tabs['upload'] ) && current_user_can( 'upload_themes' ) ) {
    136138                echo ' <button type="button" class="upload-view-toggle page-title-action hide-if-no-js" aria-expanded="false">' . __( 'Upload Theme' ) . '</button>';
    137139        }
    138         ?></h1>
     140        ?>
     141        <hr class="wp-header-end">
    139142        <div class="error hide-if-js">
    140143                <p><?php _e( 'The Theme Installer screen requires JavaScript.' ); ?></p>
    141144        </div>