<?php

function hide_if_no_customize() {
	if ( $GLOBALS['is_IE'] && is_multisite() &&
		preg_match( '/MSIE (\d+)\./', $_SERVER['HTTP_USER_AGENT'], $matches ) && $matches[1] < 10 ) {

		$home = preg_replace( '|^.+://|', '', get_home_url( get_current_blog_id() ) );
		$adminurl = preg_replace( '|^.+://|', '', admin_url() );

		if ( stripos( $adminurl, $home ) !== 0 ) {
			// domain mismatch
		}
	}
}

