From 465650292acc3a2589d2cacfd28c3b4f702dd813 Mon Sep 17 00:00:00 2001 From: Andrew Nacin Date: Fri, 7 Jan 2011 16:39:18 +0000 Subject: [PATCH] Revert _admin_bar_preferences() and add a class to the table row to allow it to be hidden. Forcing the use of CSS at least attempts to ensure that the developer will recognize that the saving aspect isn't handled. Handle this in the future across all settings screens. Reverts [17161]. fixes #16004. git-svn-id: https://develop.svn.wordpress.org/trunk@17234 602fd350-edb4-49c9-b593-d223f7449a82 --- wp-admin/user-edit.php | 11 +++++++++++ wp-includes/admin-bar.php | 23 ----------------------- 2 files changed, 11 insertions(+), 23 deletions(-) diff --git a/wp-admin/user-edit.php b/wp-admin/user-edit.php index c3276d6930..c2bf3509fe 100644 --- a/wp-admin/user-edit.php +++ b/wp-admin/user-edit.php @@ -213,6 +213,17 @@ if ( !( IS_PROFILE_PAGE && !$user_can_edit ) ) : ?> More information'); ?> + + +
+
+ + + - - -
-
- - - - \ No newline at end of file