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:
parent
656139c09e
commit
fdef243bf6
|
@ -136,10 +136,13 @@ function get_user_count() {
|
||||||
*
|
*
|
||||||
* @since MU 1.0
|
* @since MU 1.0
|
||||||
*
|
*
|
||||||
* @param int $id Optional. A site_id.
|
* @param int $network_id Deprecated, not supported.
|
||||||
* @return int
|
* @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' );
|
return get_site_option( 'blog_count' );
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue