WordPress.org

Make WordPress Core


Ignore:
Timestamp:
04/18/2010 06:14:45 AM (12 years ago)
Author:
nacin
Message:

Use relative paths when including files, avoiding include_path. fixes #12594, props sorich87.

File:
1 edited

Legend:

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

    r13191 r14139  
    88
    99/** WordPress Administration Bootstrap */
    10 require_once('admin.php');
     10require_once('./admin.php');
    1111
    1212if ( !current_user_can('edit_themes') )
     
    8080default:
    8181
    82     require_once('admin-header.php');
     82    require_once('./admin-header.php');
    8383
    8484    update_recently_edited($file);
     
    241241}
    242242
    243 include("admin-footer.php");
     243include("./admin-footer.php");
Note: See TracChangeset for help on using the changeset viewer.