Deprecate $network_id argument in get_blog_count(). props jeremyfelt. fixes #25129.
git-svn-id: https://develop.svn.wordpress.org/trunk@25113 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
4839f01305
commit
086c5a8ab8
@ -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
Block a user