WordPress.org

Make WordPress Core

Changeset 14261


Ignore:
Timestamp:
04/27/2010 09:57:18 PM (8 years ago)
Author:
nacin
Message:

Some default password nag and user-edit div.error style cleanups.

Location:
trunk/wp-admin
Files:
2 edited

Legend:

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

    r14170 r14261  
    856856    echo '<strong>' . __('Notice:') . '</strong> ';
    857857    _e('You&rsquo;re using the auto-generated password for your account. Would you like to change it to something you&rsquo;ll remember easier?');
    858     echo '<br /><br />';
    859     printf( '<a href="%s">'.__('Yes, take me to my profile page').'</a> | ', admin_url('profile.php') . '#password' );
    860     printf( '<a href="%s" id="default-password-nag-no">'.__('No thanks, do not remind me again').'</a>', '?default_password_nag=0' );
     858    echo '</p><p>';
     859    printf( '<a href="%s">' . __('Yes, take me to my profile page') . '</a> | ', admin_url('profile.php') . '#password' );
     860    printf( '<a href="%s" id="default-password-nag-no">' . __('No thanks, do not remind me again') . '</a>', '?default_password_nag=0' );
    861861    echo '</p></div>';
    862862}
  • trunk/wp-admin/user-edit.php

    r14206 r14261  
    154154<?php endif; ?>
    155155<?php if ( isset( $errors ) && is_wp_error( $errors ) ) : ?>
    156 <div class="error">
    157     <ul>
    158     <?php
    159     foreach( $errors->get_error_messages() as $message )
    160         echo "<li>$message</li>";
    161     ?>
    162     </ul>
    163 </div>
     156<div class="error"><p><?php echo implode( "</p>\n<p>", $errors->get_error_messages() ); ?></p></div>
    164157<?php endif; ?>
    165158
Note: See TracChangeset for help on using the changeset viewer.