WordPress.org

Make WordPress Core

Changeset 14517


Ignore:
Timestamp:
05/08/2010 07:31:42 PM (10 years ago)
Author:
nacin
Message:

Don't use WP_SITEURL and WP_HOME in multisite. fixes #13191.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-includes/ms-default-filters.php

    r14440 r14517  
    5757if ( ! defined('EDIT_ANY_USER') || ! EDIT_ANY_USER ) // back compat constant.
    5858    add_filter( 'enable_edit_any_user_configuration', '__return_false' );
     59
     60// WP_HOME and WP_SITEURL should not have any effect in MS
     61remove_filter( 'option_siteurl', '_config_wp_siteurl' );
     62remove_filter( 'option_home',    '_config_wp_home'    );
     63
    5964?>
Note: See TracChangeset for help on using the changeset viewer.