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/themes.php

    r14046 r14139  
    88
    99/** WordPress Administration Bootstrap */
    10 require_once('admin.php');
     10require_once('./admin.php');
    1111
    1212if ( !current_user_can('switch_themes') )
     
    4343wp_enqueue_script( 'theme-preview' );
    4444
    45 require_once('admin-header.php');
     45require_once('./admin-header.php');
    4646if ( is_multisite() && current_user_can('edit_themes') ) {
    4747    ?><div id="message0" class="updated"><p><?php _e('Administrator: new themes must be activated in the <a href="ms-themes.php">Themes Admin</a> page before they appear here.'); ?></p></div><?php
     
    314314</div>
    315315
    316 <?php require('admin-footer.php'); ?>
     316<?php require('./admin-footer.php'); ?>
Note: See TracChangeset for help on using the changeset viewer.