Make WordPress Core

Changeset 25113


Ignore:
Timestamp:
08/24/2013 02:41:11 AM (11 years ago)
Author:
SergeyBiryukov
Message:

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

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-includes/ms-functions.php

    r25092 r25113  
    137137 * @since MU 1.0
    138138 *
    139  * @param int $id Optional. A site_id.
     139 * @param int $network_id Deprecated, not supported.
    140140 * @return int
    141141 */
    142 function get_blog_count( $id = 0 ) {
     142function get_blog_count( $network_id = 0 ) {
     143    if ( func_num_args() )
     144        _deprecated_argument( __FUNCTION__, '3.1' );
     145
    143146    return get_site_option( 'blog_count' );
    144147}
Note: See TracChangeset for help on using the changeset viewer.