X-Git-Url: https://scripts.mit.edu/gitweb/autoinstalls/wordpress.git/blobdiff_plain/7688c6ba71852cd89123b62b2d57683535e4702a..e9d988989fe37ab8c5f903e47fbe36e6e00dc51f:/wp-admin/admin-header.php diff --git a/wp-admin/admin-header.php b/wp-admin/admin-header.php index a75fe7bb..ac793409 100644 --- a/wp-admin/admin-header.php +++ b/wp-admin/admin-header.php @@ -1,54 +1,196 @@ >
-%2$s'), 'profile.php', $user_identity); +if ( is_multisite() && is_super_admin() ) { + if ( !is_network_admin() ) + $links[10] = '| ' . __('Network Admin') . ( ! empty( $total_update_count ) ? ' (' . number_format_i18n( $total_update_count ) . ')' : '' ) . ''; + else + $links[10] = '| ' . __('Site Admin') . ''; +} +$links[15] = '| ' . __('Log Out') . ''; + +$links = apply_filters('admin_user_info_links', $links, $current_user); +ksort($links); + +echo implode(' ', $links); +?>