Make WordPress Core

Ticket #15308: misc-admin-bar-quirks.15308.diff

File misc-admin-bar-quirks.15308.diff, 1.2 KB (added by filosofo, 14 years ago)
  • wp-includes/admin-bar.php

     
    202202        if ( empty( $actions ) )
    203203                return;
    204204
    205         $wp_admin_bar->add_menu( array( 'id' => 'new-content', 'title' => __( 'New Content' ), 'href' => '', ) );
     205        $wp_admin_bar->add_menu( array( 'id' => 'new-content', 'title' => __( 'Add New' ), 'href' => '', ) );
    206206
    207207        foreach ( $actions as $link => $action ) {
    208208                $wp_admin_bar->add_menu( array( 'parent' => 'new-content', 'id' => $action[2], 'title' => $action[0], 'href' => admin_url($link) ) );
  • wp-includes/css/admin-bar.dev.css

     
    125125        line-height:28px;
    126126        text-decoration:none !important;
    127127}
     128#wpadminbar .quicklinks li ul li a {
     129        width:160px;
     130}
    128131#wpadminbar .quicklinks a:hover {
    129132        text-shadow:#333 0px -1px 0px;
    130133}
     
    226229        height: 28px;
    227230        padding: 0 1.15em 0 0.7em;
    228231}
    229 #wpadminbar li.ab-me > a:hover,
    230232#wpadminbar li.ab-blog > a:hover {
    231233        background-position: 67% 59.8%;
    232234}