Make WordPress Core

Changeset 12583


Ignore:
Timestamp:
12/30/2009 10:15:10 AM (14 years ago)
Author:
westi
Message:

Use a more reliable method of locating wp-load.php in the admin bootstrap. Fixes #11120.

File:
1 edited

Legend:

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

    r12551 r12583  
    1515    define('WP_ADMIN', TRUE);
    1616
    17 if ( defined('ABSPATH') )
    18     require_once(ABSPATH . 'wp-load.php');
    19 else
    20     require_once('../wp-load.php');
     17require_once(dirname(dirname(__FILE__)) . '/wp-load.php');
    2118
    2219if ( get_option('db_upgraded') ) {
Note: See TracChangeset for help on using the changeset viewer.