[wp-trac] [WordPress Trac] #15819: Create user_can_for_blog function
WordPress Trac
wp-trac at lists.automattic.com
Tue Dec 14 19:18:45 UTC 2010
#15819: Create user_can_for_blog function
-----------------------------+----------------------------------------------
Reporter: mweichert | Owner:
Type: enhancement | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Role/Capability | Version: 3.1
Severity: normal | Keywords: has-patch needs-testing
-----------------------------+----------------------------------------------
To compliment #14602, a user_can_for_blog function is needed.
Currently we have no function to pass a user ID, blog, and a
capability/role which will return whether the user can perform that role
or has that capability for a particular blog.
See attached patch please.
Thanks,
Mike
--
Ticket URL: <http://core.trac.wordpress.org/ticket/15819>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list