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-comments.php

    r13770 r14139  
    88
    99/** WordPress Administration Bootstrap */
    10 require_once('admin.php');
     10require_once('./admin.php');
    1111
    1212if ( !current_user_can('edit_posts') )
     
    106106    $title = __('Edit Comments');
    107107
    108 require_once('admin-header.php');
     108require_once('./admin-header.php');
    109109
    110110$mode = ( empty($_GET['mode']) ) ? 'detail' : esc_attr($_GET['mode']);
     
    469469wp_comment_reply('-1', true, 'detail');
    470470wp_comment_trashnotice();
    471 include('admin-footer.php'); ?>
     471include('./admin-footer.php'); ?>
Note: See TracChangeset for help on using the changeset viewer.