Changeset 21422
- Timestamp:
- 08/05/2012 06:32:39 PM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-admin/admin.php
r21183 r21422 52 52 */ 53 53 $c = get_blog_count(); 54 // If 50 or fewer sites, run every time. Else, run "about ten percent" of the time. Shh, don't check that math. 54 55 if ( $c <= 50 || ( $c > 50 && mt_rand( 0, (int)( $c / 50 ) ) == 1 ) ) { 55 56 require_once( ABSPATH . WPINC . '/http.php' );
Note: See TracChangeset
for help on using the changeset viewer.