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

git-svn-id: https://develop.svn.wordpress.org/trunk@14517 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Andrew Nacin 2010-05-08 19:31:42 +00:00
parent e3ee37d8a2
commit f04386cca0
1 changed files with 5 additions and 0 deletions

View File

@ -56,4 +56,9 @@ if ( ! defined('POST_BY_EMAIL') || ! POST_BY_EMAIL ) // back compat constant.
add_filter( 'enable_post_by_email_configuration', '__return_false' );
if ( ! defined('EDIT_ANY_USER') || ! EDIT_ANY_USER ) // back compat constant.
add_filter( 'enable_edit_any_user_configuration', '__return_false' );
// WP_HOME and WP_SITEURL should not have any effect in MS
remove_filter( 'option_siteurl', '_config_wp_siteurl' );
remove_filter( 'option_home', '_config_wp_home' );
?>