diff --git a/wp-admin/menu.php b/wp-admin/menu.php
index eef258b074..a9291d2662 100644
--- a/wp-admin/menu.php
+++ b/wp-admin/menu.php
@@ -19,7 +19,7 @@ foreach ($menu as $item) {
?>
-
My Profile
+ My Profile
">View site
Logout ()
diff --git a/wp-admin/profile.php b/wp-admin/profile.php
index c160ac95fb..c3b5f1ec4a 100644
--- a/wp-admin/profile.php
+++ b/wp-admin/profile.php
@@ -35,13 +35,10 @@ for ($i=0; $iquery($query);
if (!$result) {
die ("ERROR: couldn't update your profile... please contact the webmaster !
$query
");
}
-
- ?>
-
-
- Profile updated!
- If this window doesn't close itself, close it yourself :p
-
-
- user_login)
header ('Location: profile.php');
- $profile = 1;
- include('admin-header.php');
+ include_once('admin-header.php');
?>
-
-
View Profile “
user_idmode) {
@@ -192,8 +177,6 @@ break;
case 'IErightclick':
- $profile = 1;
- include ('admin-header.php');
$bookmarklet_tbpb = ($use_trackback) ? '&trackback=1' : '';
$bookmarklet_tbpb .= ($use_pingback) ? '&pingback=1' : '';
@@ -230,8 +213,7 @@ break;
default:
- $profile = 1;
- include ('admin-header.php');
+ include_once('admin-header.php');
$profiledata=get_userdata($user_ID);
$bookmarklet_tbpb = ($use_trackback) ? '&trackback=1' : '';
@@ -239,7 +221,12 @@ default:
$bookmarklet_height= ($use_trackback) ? 480 : 440;
?>
-
+
+
+
+
+
+