From d2c179f49e2c45ddb7255bcea3d9f9ec04bf51ca Mon Sep 17 00:00:00 2001 From: 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: http://svn.automattic.com/wordpress/trunk@17234 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- 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