Make WordPress Core

Changeset 5542


Ignore:
Timestamp:
05/25/2007 07:16:21 AM (17 years ago)
Author:
ryan
Message:

Admin includes reorg. see #4334

Location:
trunk
Files:
14 added
2 deleted
6 edited
3 moved

Legend:

Unmodified
Added
Removed
  • trunk/wp-admin/admin-ajax.php

    r5118 r5542  
    11<?php
    22require_once('../wp-config.php');
    3 require_once('admin-functions.php');
    4 require_once('admin-db.php');
     3require_once('wp-includes/admin.php');
    54
    65define('DOING_AJAX', true);
  • trunk/wp-admin/admin.php

    r4887 r5542  
    1010}
    1111
    12 require_once(ABSPATH . 'wp-admin/admin-functions.php');
    13 require_once(ABSPATH . 'wp-admin/admin-db.php');
    14 require_once(ABSPATH . WPINC . '/registration.php');
     12require_once(ABSPATH . 'wp-admin/includes/admin.php');
    1513
    1614auth_redirect();
     
    9290        require_once(ABSPATH . 'wp-admin/admin-header.php');
    9391
    94     require_once(ABSPATH . 'wp-admin/upgrade-functions.php');
     92    require_once(ABSPATH . 'wp-admin/includes/upgrade.php');
    9593
    9694    define('WP_IMPORTING', true);
  • trunk/wp-admin/includes/upgrade.php

    r5539 r5542  
    33if ( file_exists(ABSPATH . 'wp-content/install.php') )
    44    require (ABSPATH . 'wp-content/install.php');
    5 require_once(ABSPATH . '/wp-admin/admin-functions.php');
    6 require_once(ABSPATH . '/wp-admin/admin-db.php');
    7 require_once(ABSPATH . '/wp-admin/upgrade-schema.php');
    8 require_once(ABSPATH . WPINC . '/registration.php');
     5require_once(ABSPATH . '/wp-admin/includes/admin.php');
     6require_once(ABSPATH . '/wp-admin/includes/schema.php');
    97
    108if ( !function_exists('wp_install') ) :
  • trunk/wp-admin/includes/upload.php

    r5538 r5542  
    11<?php
     2
    23function wp_upload_display( $dims = false, $href = '' ) {
    34    global $post;
  • trunk/wp-admin/install.php

    r4766 r5542  
    77
    88require_once('../wp-config.php');
    9 require_once('./upgrade-functions.php');
     9require_once('./includes/upgrade.php');
    1010
    1111if (isset($_GET['step']))
  • trunk/wp-admin/upgrade.php

    r5056 r5542  
    66require('../wp-config.php');
    77timer_start();
    8 require_once(ABSPATH . '/wp-admin/upgrade-functions.php');
     8require_once(ABSPATH . '/wp-admin/includes/upgrade.php');
    99
    1010if (isset($_GET['step']))
  • trunk/wp-admin/upload.php

    r5368 r5542  
    1717    wp_die(__("You are not allowed to be here"));
    1818
    19 require_once('upload-functions.php');
     19require_once('includes/upload.php');
    2020if ( !$tab )
    2121    $tab = 'browse-all';
  • trunk/xmlrpc.php

    r5537 r5542  
    4040}
    4141
    42 include_once(ABSPATH . 'wp-admin/admin-functions.php');
     42include_once(ABSPATH . 'wp-admin/includes/admin.php');
    4343include_once(ABSPATH . WPINC . '/class-IXR.php');
    4444
     
    490490            return(new IXR_Error(401, __("Sorry, you do not have the right to add a category.")));
    491491        }
    492 
    493         // We need this to make use of the wp_insert_category()
    494         // funciton.
    495         require_once(ABSPATH . "wp-admin/admin-db.php");
    496492
    497493        // If no slug was provided make it empty so that
Note: See TracChangeset for help on using the changeset viewer.