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

    r13209 r14139  
    88
    99/** WordPress Administration Bootstrap */
    10 require_once('admin.php');
     10require_once('./admin.php');
    1111
    1212wp_enqueue_script('list-revisions');
     
    5050    if ( $left_revision->ID == $right_revision->ID ) {
    5151        $redirect = get_edit_post_link( $left_revision->ID );
    52         include( 'js/revisions-js.php' );
     52        include( './js/revisions-js.php' );
    5353        break;
    5454    }
     
    143143    $parent_file = $submenu_file = 'edit.php';
    144144
    145 require_once( 'admin-header.php' );
     145require_once( './admin-header.php' );
    146146
    147147?>
     
    219219<?php
    220220
    221 require_once( 'admin-footer.php' );
     221require_once( './admin-footer.php' );
Note: See TracChangeset for help on using the changeset viewer.