WordPress.org

Make WordPress Core

Changeset 13458


Ignore:
Timestamp:
02/27/10 16:35:41 (5 years ago)
Author:
nacin
Message:

Use ABSPATH because we can. props miqrogroove see #12411

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-admin/import/opml.php

    r13457 r13458  
    2020switch ($step) { 
    2121    case 0: { 
    22         include_once('../admin-header.php'); 
     22        include_once( ABSPATH . '/wp-admin/admin-header.php' ); 
    2323        if ( !current_user_can('manage_links') ) 
    2424            wp_die(__('Cheatin’ uh?')); 
     
    7272        check_admin_referer('import-bookmarks'); 
    7373 
    74         include_once('../admin-header.php'); 
     74        include_once( ABSPATH . '/wp-admin/admin-header.php' ); 
    7575        if ( !current_user_can('manage_links') ) 
    7676            wp_die(__('Cheatin’ uh?')); 
     
    109109 
    110110            /** Load OPML Parser */ 
    111             include_once('../link-parse-opml.php'); 
     111            include_once( ABSPATH . '/wp-admin/link-parse-opml.php' ); 
    112112 
    113113            $link_count = count($names); 
Note: See TracChangeset for help on using the changeset viewer.