WordPress.org

Make WordPress Core

Changeset 18780


Ignore:
Timestamp:
09/26/11 21:11:46 (3 years ago)
Author:
nacin
Message:

Use correct variable. see #18690.

File:
1 edited

Legend:

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

    r18779 r18780  
    23382338 
    23392339    function set_parentage( $parent_file ) { 
    2340         $current_screen->parent_file = $parent_file; 
    2341         $current_screen->parent_base = preg_replace('/\?.*$/', '', $parent_file); 
    2342         $current_screen->parent_base = str_replace('.php', '', $current_screen->parent_base); 
     2340        $this->parent_file = $parent_file; 
     2341        $this->parent_base = preg_replace('/\?.*$/', '', $parent_file); 
     2342        $this->parent_base = str_replace('.php', '', $current_screen->parent_base); 
    23432343    } 
    23442344 
Note: See TracChangeset for help on using the changeset viewer.