WordPress.org

Make WordPress Core

Changeset 15866


Ignore:
Timestamp:
10/20/2010 02:08:29 PM (9 years ago)
Author:
ryan
Message:

Improved self determination. Props PeteMall. see #14435

File:
1 edited

Legend:

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

    r15844 r15866  
    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);
Note: See TracChangeset for help on using the changeset viewer.