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/includes/file.php

    r7921 r7999  
    4747        return trailingslashit(WP_TEMP_DIR);
    4848
    49     $temp = ABSPATH . 'wp-content/';
     49    $temp = WP_CONTENT_DIR . '/';
    5050    if ( is_dir($temp) && is_writable($temp) )
    5151        return $temp;
Note: See TracChangeset for help on using the changeset viewer.