Make WordPress Core

Changeset 13844


Ignore:
Timestamp:
03/27/2010 07:22:05 AM (15 years ago)
Author:
nacin
Message:

Password nag string cleanup. Could be good to also increase the line-height on div.updated/error at some point.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-admin/includes/user.php

    r13827 r13844  
    851851        return;
    852852
    853     echo '<div class="error default-password-nag"><p>';
    854     printf(__("Notice: you're using the auto-generated password for your account. Would you like to change it to something you'll remember easier?<br />
    855               <a href='%s'>Yes, Take me to my profile page</a> | <a href='%s' id='default-password-nag-no'>No Thanks, Do not remind me again.</a>"), admin_url('profile.php') . '#password', '?default_password_nag=0');
     853    echo '<div class="error default-password-nag"><p><strong>' . __('Notice:') . '</strong> ';
     854    printf(__("You're using the auto-generated password for your account. Would you like to change it to something you'll remember easier?<br/>
     855        <a href='%s'>Yes, take me to my profile page</a> | <a href='%s' id='default-password-nag-no'>No thanks, do not remind me again</a>"), admin_url('profile.php') . '#password', '?default_password_nag=0');
    856856    echo '</p></div>';
    857857}
Note: See TracChangeset for help on using the changeset viewer.