Make WordPress Core

Changeset 8053


Ignore:
Timestamp:
06/05/2008 04:39:20 PM (17 years ago)
Author:
ryan
Message:

Use WP_CONTENT_DIR to fix theme editor file loading. Props ionfish. fixes #7097

File:
1 edited

Legend:

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

    r8048 r8053  
    3737        $real_file = get_home_path() . $file;
    3838    } else {
    39         $real_file = ABSPATH . $file;
     39        $real_file = WP_CONTENT_DIR . $file;
    4040    }
    4141
Note: See TracChangeset for help on using the changeset viewer.