WordPress.org

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

    r7998 r7999  
    88        load_template( TEMPLATEPATH . '/header.php');
    99    else
    10         load_template( ABSPATH . 'wp-content/themes/default/header.php');
     10        load_template( WP_CONTENT_DIR . '/themes/default/header.php');
    1111}
    1212
     
    1717        load_template( TEMPLATEPATH . '/footer.php');
    1818    else
    19         load_template( ABSPATH . 'wp-content/themes/default/footer.php');
     19        load_template( WP_CONTENT_DIR . '/themes/default/footer.php');
    2020}
    2121
     
    2828        load_template( TEMPLATEPATH . '/sidebar.php');
    2929    else
    30         load_template( ABSPATH . 'wp-content/themes/default/sidebar.php');
     30        load_template( WP_CONTENT_DIR . '/themes/default/sidebar.php');
    3131}
    3232
Note: See TracChangeset for help on using the changeset viewer.