Ticket #38079: 38079.2.patch
File 38079.2.patch, 1.4 KB (added by , 6 years ago) |
---|
-
wp-login.php
174 174 if ( !empty( $message ) ) 175 175 echo $message . "\n"; 176 176 177 // In case a plugin uses $error rather than the $wp_errors object 177 /** 178 * Fires after the login logo. 179 * 180 * @since 4.7 181 */ 182 do_action( 'after_login_logo' ); 183 184 // In case a plugin uses $error rather than the $wp_errors object. 178 185 if ( !empty( $error ) ) { 179 186 $wp_error->add('error', $error); 180 187 unset($error); … … 201 208 * @param string $errors Login error message. 202 209 */ 203 210 echo '<div id="login_error">' . apply_filters( 'login_errors', $errors ) . "</div>\n"; 211 212 /** 213 * Fires after the login error message. 214 * 215 * @since 4.7 216 */ 217 do_action( 'after_login_error' ); 204 218 } 205 219 if ( ! empty( $messages ) ) { 206 220 /** … … 211 225 * @param string $messages Login messages. 212 226 */ 213 227 echo '<p class="message">' . apply_filters( 'login_messages', $messages ) . "</p>\n"; 228 229 /** 230 * Fires after the login message. 231 * 232 * @since 4.7 233 */ 234 do_action( 'after_login_message' ); 214 235 } 215 236 } 216 237 } // End of login_header() … … 358 379 359 380 /** 360 381 * Filters the message body of the password reset mail. 361 * 382 * 362 383 * If the filtered message is empty, the password reset email will not be sent. 363 384 * 364 385 * @since 2.8.0