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/plugin-editor.php

    r13859 r14139  
    88
    99/** WordPress Administration Bootstrap */
    10 require_once('admin.php');
     10require_once('./admin.php');
    1111
    1212if ( !current_user_can('edit_plugins') )
     
    103103    }
    104104
    105     require_once('admin-header.php');
     105    require_once('./admin-header.php');
    106106
    107107    update_recently_edited(WP_PLUGIN_DIR . '/' . $file);
     
    240240    break;
    241241}
    242 include("admin-footer.php");
     242include("./admin-footer.php");
Note: See TracChangeset for help on using the changeset viewer.