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

    r13987 r14139  
    88
    99/** WordPress Administration Bootstrap */
    10 require_once('admin.php');
     10require_once('./admin.php');
    1111
    1212if ( !isset($_GET['post_type']) )
     
    157157    $num_pages = $wp_query->max_num_pages;
    158158
    159 require_once('admin-header.php');
     159require_once('./admin-header.php');
    160160
    161161if ( empty($_GET['mode']) )
     
    376376<div class="clear"></div>
    377377
    378 <?php include( 'edit-post-rows.php' ); ?>
     378<?php include( './edit-post-rows.php' ); ?>
    379379
    380380<div class="tablenav">
     
    426426
    427427<?php
    428 include('admin-footer.php');
     428include('./admin-footer.php');
Note: See TracChangeset for help on using the changeset viewer.