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/link-category.php

    r9967 r14139  
    1111
    1212/** Load WordPress Administration Bootstrap */
    13 require_once('admin.php');
     13require_once('./admin.php');
    1414
    1515wp_reset_vars(array('action', 'cat'));
     
    6868    $cat_ID = (int) $_GET['cat_ID'];
    6969    $category = get_term_to_edit($cat_ID, 'link_category');
    70     include('edit-link-category-form.php');
    71     include('admin-footer.php');
     70    include('./edit-link-category-form.php');
     71    include('./admin-footer.php');
    7272    exit;
    7373break;
Note: See TracChangeset for help on using the changeset viewer.