Make WordPress Core

Ticket #34287: 34287.01.patch

File 34287.01.patch, 507 bytes (added by johnjamesjacoby, 10 years ago)

Add "Settings" toolbar menu-item in wp_admin_bar_my_sites_menu()

  • src/wp-includes/admin-bar.php

    diff --git src/wp-includes/admin-bar.php src/wp-includes/admin-bar.php
    index fbe341f..e0dc549 100644
     
    434434                        'title'  => __( 'Plugins' ),
    435435                        'href'   => network_admin_url( 'plugins.php' ),
    436436                ) );
     437                $wp_admin_bar->add_menu( array(
     438                        'parent' => 'network-admin',
     439                        'id'     => 'network-admin-o',
     440                        'title'  => __( 'Settings' ),
     441                        'href'   => network_admin_url( 'settings.php' ),
     442                ) );
    437443        }
    438444
    439445        // Add site links