[wp-trac] [WordPress Trac] #25128: Remove unreachable code in get_active_blog_for_user()

WordPress Trac noreply at wordpress.org
Tue Aug 27 13:13:21 UTC 2013


#25128: Remove unreachable code in get_active_blog_for_user()
--------------------------+------------------
 Reporter:  jeremyfelt    |       Owner:
     Type:  defect (bug)  |      Status:  new
 Priority:  normal        |   Milestone:  3.7
Component:  Multisite     |     Version:  3.0
 Severity:  normal        |  Resolution:
 Keywords:  has-patch     |
--------------------------+------------------

Comment (by nacin):

 > I believe the only possible way for this to happen is via a misguided
 filter on get_user_metadata.

 It seems like this could also occur if a user simply doesn't have a
 primary_blog. This could happen on initial conversion from single-site to
 multisite, or if user tables are shared, I guess.

--
Ticket URL: <http://core.trac.wordpress.org/ticket/25128#comment:2>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list