347 | | // @todo Replace with some favicon lookup. |
348 | | //$blavatar = '<img src="' . esc_url( blavatar_url( blavatar_domain( $blog->siteurl ), 'img', 16, $blue_wp_logo_url ) ) . '" alt="Blavatar" width="16" height="16" />'; |
349 | | $blavatar = '<img src="' . esc_url($blue_wp_logo_url) . '" alt="' . esc_attr__( 'Blavatar' ) . '" width="16" height="16" class="blavatar"/>'; |
| 348 | /* If more than 15 sites exist, show only the first 15 sites and a "More Sites" link. */ |
| 349 | if ( ++$i > apply_filters( 'wp_admin_bar_my_sites_limit', 15 ) ) { |
| 350 | $wp_admin_bar->add_menu( array( |
| 351 | 'parent' => 'my-sites', |
| 352 | 'id' => 'more-sites', |
| 353 | 'title' => __( 'More Sites' ), |
| 354 | 'href' => admin_url( 'my-sites.php' ), |
| 355 | ) ); |
| 356 | break; |
| 357 | } |