From aabadf322262c955a79a560a58854d78065ee3a5 Mon Sep 17 00:00:00 2001 From: Dion Hulse Date: Sun, 28 Feb 2010 10:23:55 +0000 Subject: [PATCH] Add some filters to the Admin header. Fixes #11332 git-svn-id: https://develop.svn.wordpress.org/trunk@13497 602fd350-edb4-49c9-b593-d223f7449a82 --- wp-admin/admin-header.php | 17 ++++++++++++++--- 1 file changed, 14 insertions(+), 3 deletions(-) diff --git a/wp-admin/admin-header.php b/wp-admin/admin-header.php index e51f89c273..93dac4bf7d 100644 --- a/wp-admin/admin-header.php +++ b/wp-admin/admin-header.php @@ -97,11 +97,22 @@ if ( function_exists('mb_strlen') ) {

>

+ +
-

%2$s'), 'profile.php', $user_identity) ?> - | -

+

%2$s'), 'profile.php', $user_identity); +if ( ! $is_opera ) + $links[10] = ''; +$links[15] = '| ' . __('Log Out') . ''; + +$links = apply_filters('admin_user_info_links', $links, $current_user); +ksort($links); + +echo implode(' ', $links); +?>