Make WordPress Core


Ignore:
Timestamp:
01/04/2011 08:36:06 AM (15 years ago)
Author:
nacin
Message:

Update indicator for the Network Admin link. fixes #16063.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-admin/admin-header.php

    r17016 r17217  
    152152if ( is_multisite() && is_super_admin() ) {
    153153    if ( !is_network_admin() )
    154         $links[10] = '| <a href="' . network_admin_url() . '" title="' . esc_attr__('Network Admin') . '">' . __('Network Admin') . '</a>';
     154        $links[10] = '| <a href="' . network_admin_url() . '" title="' . ( ! empty( $update_title ) ? $update_title : esc_attr__('Network Admin') ) . '">' . __('Network Admin') . ( ! empty( $total_update_count ) ? ' (' . number_format_i18n( $total_update_count ) . ')' : '' ) . '</a>';
    155155    else
    156156        $links[10] = '| <a href="' . get_dashboard_url( get_current_user_id() ) . '" title="' . esc_attr__('Site Admin') . '">' . __('Site Admin') . '</a>';
     
    171171<div id="wpbody">
    172172<?php
    173 unset($title_class, $blog_name);
     173unset($title_class, $blog_name, $total_update_count, $update_title);
    174174
    175175require(ABSPATH . 'wp-admin/menu-header.php');
Note: See TracChangeset for help on using the changeset viewer.