*Fireswhenanetworkcannotbefoundbasedontherequesteddomainandpath.**Atthetimeofthisaction,theonlyrecourseistoredirectsomewhere*andexit.Ifyouwanttodeclareaparticularnetwork,dosoearlier.**@since4.4.0**@paramstring$domainThedomainusedtosearchforanetwork.*@paramstring$pathThepathusedtosearchforapath.*/do_action('ms_network_not_found',$domain,$path);returnfalse;}elseif($path===$current_site->path){$current_blog=get_site_by_path($domain,$path);}else{// Search the network path + one more path segment (on top of the network path).$current_blog=get_site_by_path($domain,$path,substr_count($current_site->path,'/'));}}else{

}// The network declared by the site trumps any constants.if($current_blog&&$current_blog->site_id!=$current_site->id){$current_site=WP_Network::get_instance($current_blog->site_id);}// No network has been found, bail.if(empty($current_site)){/** This action is documented in wp-includes/ms-settings.php */do_action('ms_network_not_found',$domain,$path);returnfalse;}// During activation of a new subdomain, the requested site does not yet exist.if(empty($current_blog)&&wp_installing()){$current_blog=newstdClass;$current_blog->blog_id=$blog_id=1;$current_blog->public=1;