WordPress.org

Make WordPress Core

Ticket #16049: admin-bar.php.2.patch

File admin-bar.php.2.patch, 839 bytes (added by GaryJ, 4 years ago)

Change … to …

  • wp-includes/admin-bar.php

     
    116116 
    117117                $blogname = empty( $blog->blogname ) ? $blog->domain : $blog->blogname; 
    118118                if ( strlen( $blogname ) > 15 ) 
    119                         $blogname = substr( $blogname, 0, 15 ) . '…'; 
    120  No newline at end of file 
     119                        $blogname = substr( $blogname, 0, 15 ) . '…'; 
     120 No newline at end of file 
    121121 
    122122                $wp_admin_bar->add_menu( array( 'parent' => 'my-blogs', 'id' => 'blog-' . $blog->userblog_id, 'title' => $blavatar . $blogname,  'href' => get_admin_url($blog->userblog_id), ) );