WordPress.org

Ready to get started?Download WordPress

Forums

Second opinion before opening a ticket in bug tracker (1 post)

  1. shirazdrum
    Member
    Posted 1 year ago #

    Ever since the 3.4 release, bloginfo('name') cannot be used to change the hover title of the logo in wp-login.php whether it's called directly from the functions.php or when it's used as a plugin.

    Example:

    function foo() {
        return bloginfo('name');
    }
    
    add_filter('login_headertitle', 'foo');

    Outputs the site name in the left top corner of the page instead of a hover title.

    The only way that it works is to use plain text like so:

    function foo() {
        return 'My Site Title';
    }

    Which is very inconvenient considering that the code has to change for every client site.

    I'd appreciate a second opinion.

Topic Closed

This topic has been closed to new replies.

About this Topic