[wp-trac] [WordPress Trac] #19160: is_user_member_of_blog() gives unexpected results on single site

WordPress Trac wp-trac at lists.automattic.com
Mon Nov 7 23:07:08 UTC 2011


#19160: is_user_member_of_blog() gives unexpected results on single site
--------------------------+---------------------
 Reporter:  duck_         |       Owner:  duck_
     Type:  defect (bug)  |      Status:  closed
 Priority:  normal        |   Milestone:  3.3
Component:  Users         |     Version:  3.1
 Severity:  normal        |  Resolution:  fixed
 Keywords:  has-patch     |
--------------------------+---------------------
Changes (by duck_):

 * owner:   => duck_
 * status:  new => closed
 * resolution:   => fixed


Comment:

 In [19209]:
 {{{
 #!CommitTicketReference repository="" revision="19209"
 is_user_member_of_blog() [no args] should return true for logged in users
 on single site. $wpdb->blogid is 0, but the current blog ID isn't. Fixes
 #19160.
 }}}

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


More information about the wp-trac mailing list