Make WordPress Core


Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/2.8/wp-settings.php

    r11268 r11661  
    6161    $blog_id = 1;
    6262
    63 // Fix for IIS, which doesn't set REQUEST_URI
    64 if ( empty( $_SERVER['REQUEST_URI'] ) ) {
     63// Fix for IIS when running with PHP ISAPI
     64if ( empty( $_SERVER['REQUEST_URI'] ) || ( php_sapi_name() != 'cgi-fcgi' && preg_match( '/^Microsoft-IIS\//', $_SERVER['SERVER_SOFTWARE'] ) ) ) {
    6565
    6666    // IIS Mod-Rewrite
     
    317317    require_once(ABSPATH . WPINC . '/kses.php');
    318318    require_once(ABSPATH . WPINC . '/pluggable.php');
     319    require_once(ABSPATH . WPINC . '/formatting.php');
    319320    wp_redirect($link);
    320321    die(); // have to die here ~ Mark
     
    529530require (ABSPATH . WPINC . '/vars.php');
    530531
     532// make taxonomies available to plugins and themes
     533// @plugin authors: warning: this gets registered again on the init hook
     534create_initial_taxonomies();
     535
    531536// Check for hacks file if the option is enabled
    532537if ( get_option('hack_file') ) {
Note: See TracChangeset for help on using the changeset viewer.