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

    r11764 r14139  
    88
    99/** Load WordPress Administration Bootstrap */
    10 require_once('admin.php');
     10require_once('./admin.php');
    1111
    1212if ( ! current_user_can('manage_links') )
     
    2525
    2626$link = get_default_link_to_edit();
    27 include('edit-link-form.php');
     27include('./edit-link-form.php');
    2828
    29 require('admin-footer.php');
     29require('./admin-footer.php');
    3030?>
Note: See TracChangeset for help on using the changeset viewer.