Make WordPress Core


Ignore:
Timestamp:
05/27/2008 05:55:24 PM (14 years ago)
Author:
ryan
Message:

Allow wp-content to exist outside of webroot. Props sambauers. see #6938

File:
1 edited

Legend:

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

    r7979 r7999  
    1616
    1717$file = validate_file_to_edit($file, $plugin_files);
    18 $real_file = get_real_file_to_edit( PLUGINDIR . "/$file");
     18$real_file = WP_PLUGIN_DIR . '/' . $file;
    1919
    2020switch($action) {
     
    6969    require_once('admin-header.php');
    7070
    71     update_recently_edited(PLUGINDIR . "/$file");
     71    update_recently_edited(WP_PLUGIN_DIR . '/' . $file);
    7272
    7373    if ( ! is_file($real_file) )
Note: See TracChangeset for help on using the changeset viewer.