Make WordPress Core

Changeset 27066


Ignore:
Timestamp:
02/02/2014 06:18:44 AM (11 years ago)
Author:
nacin
Message:

Ensure the last separator is removed from the user and network admin menus.

props johnjamesjacoby.
fixes #25425.

Location:
trunk/src/wp-admin
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-admin/network/menu.php

    r23619 r27066  
    5959$submenu[ 'upgrade.php' ][15] = array( __( 'Upgrade Network' ), 'manage_network', 'upgrade.php' );
    6060
    61 $menu[99] = array( '', 'read', 'separator-last', '', 'wp-menu-separator-last' );
     61$menu[99] = array( '', 'exist', 'separator-last', '', 'wp-menu-separator' );
    6262
    6363require_once(ABSPATH . 'wp-admin/includes/menu.php');
  • trunk/src/wp-admin/user/menu.php

    r19712 r27066  
    1414$menu[70] = array( __('Profile'), 'exist', 'profile.php', '', 'menu-top menu-icon-users', 'menu-users', 'div' );
    1515
    16 $menu[99] = array( '', 'exist', 'separator-last', '', 'wp-menu-separator-last' );
     16$menu[99] = array( '', 'exist', 'separator-last', '', 'wp-menu-separator' );
    1717
    1818$_wp_real_parent_file['users.php'] = 'profile.php';
Note: See TracChangeset for help on using the changeset viewer.