Make WordPress Core


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

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

File:
1 edited

Legend:

Unmodified
Added
Removed
  • 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.