Ticket #1476: 1476-pishmishy.patch

File 1476-pishmishy.patch, 1.8 KB (added by pishmishy, 5 years ago)

slight tweaks to previous version - ammends existing WordPress files

  • wp-admin/wp-admin.css

     
    879879        color: #fff; 
    880880} 
    881881 
     882#wpurg { 
     883        background: #cc0000; 
     884        padding: .8em 19em .8em 2em; 
     885        color: #ffffff; 
     886        font-family: Georgia, "Times New Roman", Times, serif; 
     887        text-align: center; 
     888} 
     889 
    882890#wphead { 
    883891        background: #14568a; 
    884892        padding: .8em 19em .8em 2em; 
  • wp-admin/includes/upgrade.php

     
    196196 
    197197        $wp_rewrite->flush_rules(); 
    198198 
     199        update_option('wp_version_notified',''); 
     200        update_option('wp_version_check_results',''); 
     201        update_option('wp_version_check_time',''); 
     202 
    199203        update_option('db_version', $wp_db_version); 
    200204} 
    201205 
  • wp-admin/admin-header.php

     
    11<?php 
     2 
     3include("includes/updates.php"); 
     4 
    25@header('Content-Type: ' . get_option('html_type') . '; charset=' . get_option('blog_charset')); 
    36if (!isset($_GET["page"])) require_once('admin.php'); 
    47if ( $editing ) { 
     
    4649<div id="wphead"> 
    4750<h1><?php bloginfo('name'); ?> <span>(<a href="<?php echo get_option('home') . '/'; ?>"><?php _e('View site &raquo;') ?></a>)</span></h1> 
    4851</div> 
     52<?php if(is_admin()) latest_version(); ?> 
    4953<div id="user_info"><p><?php printf(__('Howdy, <strong>%s</strong>.'), $user_identity) ?> [<a href="<?php echo get_option('siteurl'); ?>/wp-login.php?action=logout" title="<?php _e('Log out of this account') ?>"><?php _e('Sign Out'); ?></a>, <a href="profile.php"><?php _e('My Profile'); ?></a>] </p></div> 
    5054 
    5155<?php