Make WordPress Core


Ignore:
Timestamp:
11/26/2008 01:51:25 PM (16 years ago)
Author:
azaozz
Message:

Screen icons

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-admin/update-core.php

    r9698 r9903  
    8989function core_upgrade_preamble() {
    9090    $updates = get_core_updates();
    91    
    92     echo '<div class="wrap">';
    93     echo '<h2>' . __('Upgrade WordPress') . '</h2>';
    94 
     91?>
     92    <div class="wrap">
     93    <?php screen_icon(); ?>
     94    <h2><?php _e('Upgrade WordPress'); ?></h2>
     95<?php
    9596    if ( !isset($updates[0]->response) || 'latest' == $updates[0]->response ) {
    9697        echo '<h3>';
     
    147148        return;
    148149    }
    149 
    150     echo '<div class="wrap">';
    151     echo '<h2>' . __('Upgrade WordPress') . '</h2>';
     150?>
     151    <div class="wrap">
     152    <?php screen_icon(); ?>
     153    <h2><?php _e('Upgrade WordPress'); ?></h2>
     154<?php
    152155    if ( $wp_filesystem->errors->get_error_code() ) {
    153156        foreach ( $wp_filesystem->errors->get_error_messages() as $message )
Note: See TracChangeset for help on using the changeset viewer.