Deprecate $network_id argument in get_blog_count(). props jeremyfelt. fixes #25129.

Built from https://develop.svn.wordpress.org/trunk@25113


git-svn-id: http://core.svn.wordpress.org/trunk@25094 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
Sergey Biryukov 2013-08-24 02:42:10 +00:00
parent 656139c09e
commit fdef243bf6

View File

@ -136,10 +136,13 @@ function get_user_count() {
*
* @since MU 1.0
*
* @param int $id Optional. A site_id.
* @param int $network_id Deprecated, not supported.
* @return int
*/
function get_blog_count( $id = 0 ) {
function get_blog_count( $network_id = 0 ) {
if ( func_num_args() )
_deprecated_argument( __FUNCTION__, '3.1' );
return get_site_option( 'blog_count' );
}