WordPress.org

Make WordPress Core


Ignore:
Timestamp:
05/02/2010 06:39:31 PM (9 years ago)
Author:
nacin
Message:

Fix admin.php?import=x pages, which can re-include itself in certain environments. fixes #13184 for trunk.

File:
1 edited

Legend:

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

    r14237 r14334  
    88
    99@header('Content-Type: ' . get_option('html_type') . '; charset=' . get_option('blog_charset'));
    10 if (!isset($_GET["page"])) require_once('./admin.php');
     10if ( ! defined( 'WP_ADMIN' ) )
     11    require_once( './admin.php' );
    1112
    1213get_admin_page_title();
Note: See TracChangeset for help on using the changeset viewer.