[wp-trac] [WordPress Trac] #25128: Remove unreachable code in get_active_blog_for_user()
WordPress Trac
noreply at wordpress.org
Sat Dec 14 22:24:23 UTC 2013
#25128: Remove unreachable code in get_active_blog_for_user()
--------------------------+----------------------
Reporter: jeremyfelt | Owner:
Type: defect (bug) | Status: closed
Priority: normal | Milestone:
Component: Multisite | Version:
Severity: normal | Resolution: invalid
Keywords: |
--------------------------+----------------------
Changes (by jeremyfelt):
* keywords: has-patch =>
* status: new => closed
* version: 3.0 =>
* resolution: => invalid
* milestone: Awaiting Review =>
Comment:
If a user is a member of at least one blog, and has no primary blog
assigned, then this could be reached.
I haven't tested how to trigger that scenario, but the code itself appears
harmless either way.
--
Ticket URL: <http://core.trac.wordpress.org/ticket/25128#comment:4>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list