[wp-trac] [WordPress Trac] #38430: Inconsistent return type in `get_active_blog_for_user()`
WordPress Trac
noreply at wordpress.org
Tue Mar 20 23:06:59 UTC 2018
#38430: Inconsistent return type in `get_active_blog_for_user()`
--------------------------------+-------------------------
Reporter: flixos90 | Owner: jeremyfelt
Type: defect (bug) | Status: closed
Priority: normal | Milestone: 5.0
Component: Networks and Sites | Version:
Severity: normal | Resolution: fixed
Keywords: has-patch | Focuses: multisite
--------------------------------+-------------------------
Changes (by jeremyfelt):
* status: reviewing => closed
* resolution: => fixed
Comment:
In [changeset:"42866"]:
{{{
#!CommitTicketReference repository="" revision="42866"
Multisite: Return `WP_Site` as expected in `get_active_blog_for_user()`.
Previously it was possible for a standard object representing the site to
be returned in some cases.
Fixes #38430.
}}}
--
Ticket URL: <https://core.trac.wordpress.org/ticket/38430#comment:3>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list