Ticket #40736: 40736.patch
File 40736.patch, 736 bytes (added by , 7 years ago) |
---|
-
src/wp-includes/ms-functions.php
102 102 * @return int Number of active users on the network. 103 103 */ 104 104 function get_user_count( $network_id = null ) { 105 return get_network_option( $network_id, 'user_count' );105 return (int) get_network_option( $network_id, 'user_count' ); 106 106 } 107 107 108 108 /** … … 118 118 * @return int Number of active sites on the network. 119 119 */ 120 120 function get_blog_count( $network_id = null ) { 121 return get_network_option( $network_id, 'blog_count' );121 return (int) get_network_option( $network_id, 'blog_count' ); 122 122 } 123 123 124 124 /**