Make WordPress Core

Changeset 18781


Ignore:
Timestamp:
09/26/2011 09:15:57 PM (13 years ago)
Author:
nacin
Message:

And fix this variable. props ocean90.

File:
1 edited

Legend:

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

    r18780 r18781  
    23402340        $this->parent_file = $parent_file;
    23412341        $this->parent_base = preg_replace('/\?.*$/', '', $parent_file);
    2342         $this->parent_base = str_replace('.php', '', $current_screen->parent_base);
     2342        $this->parent_base = str_replace('.php', '', $this->parent_base);
    23432343    }
    23442344
Note: See TracChangeset for help on using the changeset viewer.