[wp-trac] [WordPress Trac] #16225: Undefined properties in ms-functions.php on line 93
WordPress Trac
wp-trac at lists.automattic.com
Sun Sep 9 21:29:10 UTC 2012
#16225: Undefined properties in ms-functions.php on line 93
--------------------------+-----------------------------
Reporter: garyc40 | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: Future Release
Component: Import | Version: 3.1
Severity: normal | Resolution:
Keywords: has-patch |
--------------------------+-----------------------------
Changes (by wonderboymusic):
* keywords: needs-patch => has-patch
Comment:
this happens because {{{get_blogs_of_user()}}} builds a map of blogs,
checks to make sure {{{! $blog->archived && ! $blog->spam && !
$blog->deleted}}} but then builds a new {{{stdClass}}} and doesn't pass
that data along.
{{{( $primary->archived == 1 || $primary->spam == 1 || $primary->deleted
== 1 )}}} us checked by {{{get_active_blog_for_user()}}}, which is
correct, because sometimes {{{$primary = get_blog_details( $primary_blog
);}}} which is an object with those properties.
Patch attached.
--
Ticket URL: <http://core.trac.wordpress.org/ticket/16225#comment:4>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list