WordPress.org

Make WordPress Core

Ticket #23182: network-menu.php.patch

File network-menu.php.patch, 652 bytes (added by phill_brown, 8 years ago)

Fixes UI issue showing a non-required separator

  • menu.php

     
    1010/* translators: Network menu item */
    1111$menu[2] = array(__('Dashboard'), 'manage_network', 'index.php', '', 'menu-top menu-top-first menu-icon-dashboard', 'menu-dashboard', 'div');
    1212
    13 $menu[4] = array( '', 'read', 'separator1', '', 'wp-menu-separator' );
     13$menu[4] = array( '', 'manage_network', 'separator1', '', 'wp-menu-separator' );
    1414
    1515/* translators: Sites menu item */
    1616$menu[5] = array(__('Sites'), 'manage_sites', 'sites.php', '', 'menu-top menu-icon-site', 'menu-site', 'div');