[wp-trac] [WordPress Trac] #32281: get_blogs_of_user should not set archived, spam and delete to 0
WordPress Trac
noreply at wordpress.org
Wed May 27 21:22:12 UTC 2015
#32281: get_blogs_of_user should not set archived, spam and delete to 0
-------------------------------------+-------------------------
Reporter: realloc | Owner: jeremyfelt
Type: defect (bug) | Status: closed
Priority: normal | Milestone: 4.3
Component: Users | Version: 3.5
Severity: normal | Resolution: fixed
Keywords: has-patch needs-testing | Focuses: multisite
-------------------------------------+-------------------------
Changes (by jeremyfelt):
* owner: => jeremyfelt
* status: new => closed
* resolution: => fixed
Comment:
In [changeset:"32626"]:
{{{
#!CommitTicketReference repository="" revision="32626"
Provide all site flag data in objects returned by `get_blogs_of_user()`
Previously, `archived`, `spam`, and `deleted` properties were forced to
`0` when returned by `get_blogs_of_user()`. This was originally introduced
in [21794] as a way to prevent notices when properties were expected.
Instead, we can properly fill these properties with those retrieved from
`get_blog_details()`.
Props realloc.
Fixes #32281.
}}}
--
Ticket URL: <https://core.trac.wordpress.org/ticket/32281#comment:2>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list