WordPress.org

Make WordPress Core

Ticket #8675: 8675.diff

File 8675.diff, 693 bytes (added by DD32, 6 years ago)
  • wp-login.php

     
    5858 
    5959<div id="login"><h1><a href="<?php echo apply_filters('login_headerurl', 'http://wordpress.org/'); ?>" title="<?php echo apply_filters('login_headertitle', __('Powered by WordPress')); ?>"><?php bloginfo('name'); ?></a></h1> 
    6060<?php 
    61         if ( !empty( $message ) ) echo apply_filters('login_message', $message) . "\n"; 
     61        $message = apply_filters('login_message', $message); 
     62        if ( !empty( $message ) ) echo $message . "\n"; 
    6263 
    6364        // Incase a plugin uses $error rather than the $errors object 
    6465        if ( !empty( $error ) ) {