WordPress.org

Make WordPress Core

Ticket #14435: 14435.7.diff

File 14435.7.diff, 556 bytes (added by PeteMall, 9 years ago)

Fixed menu/submenu highlighting for network admin screen.

  • wp-admin/menu-header.php

     
    1313 * @name $self
    1414 * @var string
    1515 */
    16 $self = preg_replace('|^.*/wp-admin/|i', '', $_SERVER['PHP_SELF']);
     16$self = preg_replace('|^.*/wp-admin/network/|i', '', $_SERVER['PHP_SELF']);
     17$self = preg_replace('|^.*/wp-admin/|i', '', $self);
    1718$self = preg_replace('|^.*/plugins/|i', '', $self);
    1819$self = preg_replace('|^.*/mu-plugins/|i', '', $self);
    1920