Make WordPress Core


Ignore:
Timestamp:
07/27/2007 09:28:01 PM (17 years ago)
Author:
markjaquith
Message:

ABSPATH already has a trailing slash. Props Nazgul. fixes #4607

File:
1 edited

Legend:

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

    r5542 r5820  
    3636}
    3737
    38 require(ABSPATH . '/wp-admin/menu.php');
     38require(ABSPATH . 'wp-admin/menu.php');
    3939
    4040// Handle plugin admin pages.
     
    4545        do_action('load-' . $page_hook);
    4646        if (! isset($_GET['noheader']))
    47             require_once(ABSPATH . '/wp-admin/admin-header.php');
     47            require_once(ABSPATH . 'wp-admin/admin-header.php');
    4848
    4949        do_action($page_hook);
     
    5959
    6060        if (! isset($_GET['noheader']))
    61             require_once(ABSPATH . '/wp-admin/admin-header.php');
     61            require_once(ABSPATH . 'wp-admin/admin-header.php');
    6262
    6363        include(ABSPATH . PLUGINDIR . "/$plugin_page");
Note: See TracChangeset for help on using the changeset viewer.