Make WordPress Core

Changeset 35156


Ignore:
Timestamp:
10/14/2015 04:59:33 PM (9 years ago)
Author:
jeremyfelt
Message:

MS: Add "Settings" link under "Network Admin" toolbar menu.

Props johnjamesjacoby.
Fixes #34287.

File:
1 edited

Legend:

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

    r35013 r35156  
    434434            'title'  => __( 'Plugins' ),
    435435            'href'   => network_admin_url( 'plugins.php' ),
     436        ) );
     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' ),
    436442        ) );
    437443    }
Note: See TracChangeset for help on using the changeset viewer.