[wp-trac] [WordPress Trac] #25129: Properly deprecate $network_id argument in get_blog_count()
WordPress Trac
noreply at wordpress.org
Fri Aug 23 18:43:10 UTC 2013
#25129: Properly deprecate $network_id argument in get_blog_count()
--------------------------+-----------------------
Reporter: jeremyfelt | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: 3.7
Component: Multisite | Version: 3.1
Severity: normal | Keywords: has-patch
--------------------------+-----------------------
Until 3.1, `get_blog_count()` ran a query on the `$wpdb->blogs` table
based on a site id. This behavior was deprecated when `get_site_option()`
was implemented to return a cached version of the count.
Patch documents this and uses `_deprecate_argument()`
--
Ticket URL: <http://core.trac.wordpress.org/ticket/25129>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list