WordPress.org

Make WordPress Core


Ignore:
Timestamp:
12/10/2010 06:47:21 PM (10 years ago)
Author:
nacin
Message:

Admin bar script/style improvements. props ocean90, see #15308.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-includes/admin-bar.php

    r16795 r16862  
    122122        // @todo Replace with some favicon lookup.
    123123        //$blavatar = '<img src="' . esc_url( blavatar_url( blavatar_domain( $blog->siteurl ), 'img', 16, $default ) ) . '" alt="Blavatar" width="16" height="16" />';
    124         $blavatar = '<img src="' . esc_url($default) . '" alt="' . esc_attr__( 'Blavatar' ) . '" width="16" height="16" />';
     124        $blavatar = '<img src="' . esc_url($default) . '" alt="' . esc_attr__( 'Blavatar' ) . '" width="16" height="16" class="blavatar"/>';
    125125
    126126        $marker = '';
    127         if ( strlen($blog->blogname) > 15 )
     127        if ( strlen($blog->blogname) > 18 )
    128128            $marker = '...';
    129129
     
    131131            $blogname = $blog->domain;
    132132        else
    133             $blogname = substr( $blog->blogname, 0, 15 ) . $marker;
     133            $blogname = substr( $blog->blogname, 0, 18 ) . $marker;
    134134
    135135        if ( ! isset( $blog->visible ) || $blog->visible === true ) {
Note: See TracChangeset for help on using the changeset viewer.