From e40572be40eb247a02c126934063115b9d746e23 Mon Sep 17 00:00:00 2001 From: nacin Date: Tue, 27 Apr 2010 21:57:18 +0000 Subject: [PATCH] Some default password nag and user-edit div.error style cleanups. git-svn-id: http://svn.automattic.com/wordpress/trunk@14261 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-admin/includes/user.php | 6 +++--- wp-admin/user-edit.php | 9 +-------- 2 files changed, 4 insertions(+), 11 deletions(-) diff --git a/wp-admin/includes/user.php b/wp-admin/includes/user.php index 1ccf341af3..a64ce07fa4 100644 --- a/wp-admin/includes/user.php +++ b/wp-admin/includes/user.php @@ -855,9 +855,9 @@ function default_password_nag() { echo '

'; echo '' . __('Notice:') . ' '; _e('You’re using the auto-generated password for your account. Would you like to change it to something you’ll remember easier?'); - echo '

'; - printf( ''.__('Yes, take me to my profile page').' | ', admin_url('profile.php') . '#password' ); - printf( ''.__('No thanks, do not remind me again').'', '?default_password_nag=0' ); + echo '

'; + printf( '' . __('Yes, take me to my profile page') . ' | ', admin_url('profile.php') . '#password' ); + printf( '' . __('No thanks, do not remind me again') . '', '?default_password_nag=0' ); echo '

'; } diff --git a/wp-admin/user-edit.php b/wp-admin/user-edit.php index f30ae45609..8687799227 100644 --- a/wp-admin/user-edit.php +++ b/wp-admin/user-edit.php @@ -153,14 +153,7 @@ include ('admin-header.php'); -
- -
+

\n

", $errors->get_error_messages() ); ?>