Make WordPress Core

Changeset 2703 for trunk/wp-settings.php


Ignore:
Timestamp:
07/11/2005 10:39:50 PM (19 years ago)
Author:
ryan
Message:

Role/capability system. Round one. Props: Owen Winkler

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-settings.php

    r2701 r2703  
    7575
    7676$wpdb->hide_errors();
    77 if ( !update_user_cache() && (!strstr($_SERVER['PHP_SELF'], 'install.php') && !defined('WP_INSTALLING')) ) {
     77if ( !update_category_cache() && (!strstr($_SERVER['PHP_SELF'], 'install.php') && !defined('WP_INSTALLING')) ) {
    7878    if ( strstr($_SERVER['PHP_SELF'], 'wp-admin') )
    7979        $link = 'install.php';
     
    8686require (ABSPATH . WPINC . '/functions-formatting.php');
    8787require (ABSPATH . WPINC . '/functions-post.php');
     88require (ABSPATH . WPINC . '/capabilities.php');
    8889require (ABSPATH . WPINC . '/classes.php');
    8990require (ABSPATH . WPINC . '/template-functions-general.php');
     
    161162$wp_rewrite = new WP_Rewrite();
    162163$wp = new WP();
     164$wp_roles = new WP_Roles();
    163165
    164166// Everything is loaded and initialized.
Note: See TracChangeset for help on using the changeset viewer.