﻿id,summary,reporter,owner,description,type,status,priority,milestone,component,version,severity,resolution,keywords,cc
18464,Relax network wildcard restrictions,nacin,ryan,"The network wildcard restrictions added in #15170 are useful for scaling up big networks.

But there's a very small number of networks that have greater than 10,000 blogs. Let's aim for the majority here and scrap the wildcard restrictions when we're dealing with smaller networks.

Here's a function we can use to replace our current ad-hoc checks against get_user_count() and get_blog_count():

{{{
function wp_is_large_network( $using = 'sites' ) {
	if ( 'users' == $using ) {
		$count = get_user_count();
		return apply_filters( 'wp_is_large_network', $count > 10000, 'users', $count );
	}

	$count = get_blog_count();
	return apply_filters( 'wp_is_large_network', $count > 10000, 'sites', $count );
}
}}}",enhancement,closed,normal,3.3,Network Admin,,normal,fixed,,shawnkhall heymrpro@…
