Make WordPress Core

Ticket #30766: 30766.3.patch

File 30766.3.patch, 1.5 KB (added by SergeyBiryukov, 12 years ago)
  • src/wp-admin/css/dashboard.css

     
    352352}
    353353
    354354#dashboard_right_now #wp-version-message .button {
    355         clear: right;
    356355        float: right;
    357356        position: relative;
    358357        top: -5px;
     358        margin-left: 5px;
    359359}
    360360
    361361.mu-storage {
  • src/wp-admin/includes/update.php

     
    221221                $theme_name = sprintf( '<a href="themes.php">%1$s</a>', $theme_name );
    222222        }
    223223
    224         $msg = sprintf( __( 'WordPress %1$s running %2$s theme.' ), get_bloginfo( 'version', 'display' ), $theme_name );
     224        $msg = '';
    225225
    226226        if ( current_user_can('update_core') ) {
    227227                $cur = get_preferred_from_update_core();
    228228
    229229                if ( isset( $cur->response ) && $cur->response == 'upgrade' )
    230                         $msg .= " <a href='" . network_admin_url( 'update-core.php' ) . "' class='button'>" . sprintf( __('Update to %s'), $cur->current ? $cur->current : __( 'Latest' ) ) . '</a>';
     230                        $msg .= "<a href='" . network_admin_url( 'update-core.php' ) . "' class='button'>" . sprintf( __('Update to %s'), $cur->current ? $cur->current : __( 'Latest' ) ) . '</a> ';
    231231        }
    232232
     233        $msg .= sprintf( __( 'WordPress %1$s running %2$s theme.' ), get_bloginfo( 'version', 'display' ), $theme_name );
     234
    233235        echo "<p id='wp-version-message'>$msg</p>";
    234236}
    235237