Make WordPress Core

Changeset 1190 for trunk/wp-settings.php


Ignore:
Timestamp:
04/27/2004 11:17:16 PM (21 years ago)
Author:
saxmatt
Message:

Cleaning up some includes.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-settings.php

    r1184 r1190  
    2525$tableoptiongroup_options = $table_prefix . 'optiongroup_options';
    2626$tablepostmeta            = $table_prefix . 'postmeta';
     27
    2728define('WPINC', 'wp-includes');
     29
    2830require_once (ABSPATH . WPINC . '/wp-db.php');
    2931
     
    3537$wpdb->show_errors();
    3638
    37 // This is the name of the include directory. No "/" allowed.
    38 
    39 require_once (ABSPATH . WPINC . '/functions.php');
    40 require_once (ABSPATH . 'wp-config-extra.php');
    41 require_once (ABSPATH . WPINC . '/template-functions.php');
    42 require_once (ABSPATH . WPINC . '/class-xmlrpc.php');
    43 require_once (ABSPATH . WPINC . '/class-xmlrpcs.php');
    44 require_once (ABSPATH . WPINC . '/links.php');
    45 require_once (ABSPATH . WPINC . '/kses.php');
     39require (ABSPATH . WPINC . '/functions.php');
     40require (ABSPATH . 'wp-config-extra.php');
     41require (ABSPATH . WPINC . '/template-functions.php');
     42require (ABSPATH . WPINC . '/links.php');
     43require (ABSPATH . WPINC . '/kses.php');
    4644require_once (ABSPATH . WPINC . '/wp-l10n.php');
    4745
    48 //setup the old globals from b2config.php
    49 //
    50 // We should eventually migrate to either calling
    51 // get_settings() wherever these are needed OR
    52 // accessing a single global $all_settings var
    5346if (!strstr($_SERVER['REQUEST_URI'], 'install.php') && !strstr($_SERVER['REQUEST_URI'], 'wp-admin/import')) {
    5447
     
    6255} //end !$_wp_installing
    6356
    64 require_once (ABSPATH . WPINC . '/vars.php');
     57require (ABSPATH . WPINC . '/vars.php');
    6558
    6659
Note: See TracChangeset for help on using the changeset viewer.