WordPress.org

Make WordPress Core

Changeset 36895


Ignore:
Timestamp:
03/09/2016 07:49:50 AM (4 years ago)
Author:
jeremyfelt
Message:

Docs: Update the return type for get_active_blog_for_user()

This is now a WP_Site object.

See #32450.

File:
1 edited

Legend:

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

    r36893 r36895  
    3838 *
    3939 * @param int $user_id The unique ID of the user
    40  * @return object|void The blog object
     40 * @return WP_Site|void The blog object
    4141 */
    4242function get_active_blog_for_user( $user_id ) {
Note: See TracChangeset for help on using the changeset viewer.