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

    r14107 r14139  
    1010
    1111/** WordPress Administration Bootstrap */
    12 require_once('admin.php');
     12require_once('./admin.php');
    1313
    1414$parent_file = 'edit.php';
     
    186186    }
    187187
    188     include('edit-form-advanced.php');
     188    include('./edit-form-advanced.php');
    189189
    190190    break;
     
    275275    break;
    276276} // end switch
    277 include('admin-footer.php');
     277include('./admin-footer.php');
    278278?>
Note: See TracChangeset for help on using the changeset viewer.