Changeset 28925
- Timestamp:
- 06/30/2014 02:38:21 PM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-login.php
r28903 r28925 173 173 $messages = ''; 174 174 foreach ( $wp_error->get_error_codes() as $code ) { 175 $severity = $wp_error->get_error_data( $code);176 foreach ( $wp_error->get_error_messages( $code) as $error) {175 $severity = $wp_error->get_error_data( $code ); 176 foreach ( $wp_error->get_error_messages( $code ) as $error_message ) { 177 177 if ( 'message' == $severity ) 178 $messages .= ' ' . $error . "<br />\n";178 $messages .= ' ' . $error_message . "<br />\n"; 179 179 else 180 $errors .= ' ' . $error . "<br />\n";180 $errors .= ' ' . $error_message . "<br />\n"; 181 181 } 182 182 }
Note: See TracChangeset
for help on using the changeset viewer.