[wp-trac] [WordPress Trac] #16702: is_blog_user() bug on Multisite

WordPress Trac wp-trac at lists.automattic.com
Wed Oct 19 22:21:04 UTC 2011


#16702: is_blog_user() bug on Multisite
--------------------------+-----------------------
 Reporter:  MattyRob      |       Owner:  ryan
     Type:  defect (bug)  |      Status:  reopened
 Priority:  normal        |   Milestone:  3.3
Component:  Multisite     |     Version:  3.0
 Severity:  normal        |  Resolution:
 Keywords:  dev-feedback  |
--------------------------+-----------------------

Comment (by nacin):

 Let's also make $user_id for is_user_member_of_blog() default to 0, thus
 the current user. Then someone could call `is_user_member_of_blog()` and
 be told about the current user's relationship to the current blog.
 Basically identical to is_blog_user() now but a bit more flexible in the
 long run.

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


More information about the wp-trac mailing list