From 7aa1e02d063f4e1c19d2ade34fb15efa1cffc895 Mon Sep 17 00:00:00 2001 From: Mikael Nordfeldth Date: Sun, 8 Mar 2015 23:29:38 +0100 Subject: [PATCH] Don't use a placeholder value on the nickname field (because the placeholder would be 'Nickname', and it might confuse someone who thinks they can use capital letters...) --- actions/profilesettings.php | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/actions/profilesettings.php b/actions/profilesettings.php index 8805527a9c..7d3143d4b1 100644 --- a/actions/profilesettings.php +++ b/actions/profilesettings.php @@ -104,7 +104,9 @@ class ProfilesettingsAction extends SettingsAction // TRANS: Tooltip for field label in form for profile settings. _('1-64 lowercase letters or numbers, no punctuation or spaces.'), null, false, // "name" (will be set to id), then "required" - !common_config('profile', 'changenick') ? array('disabled'=>'disabled') : array()); + !common_config('profile', 'changenick') + ? array('disabled' => 'disabled', 'placeholder' => null) + : array('placeholder' => null)); $this->elementEnd('li'); $this->elementStart('li'); // TRANS: Field label in form for profile settings. -- 2.39.5