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:
parent
e3ee37d8a2
commit
f04386cca0
@ -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' );
|
||||
|
||||
?>
|
||||
|
Loading…
Reference in New Issue
Block a user