[wp-trac] [WordPress Trac] #31223: current_user_can problem with edit_themes on network
WordPress Trac
noreply at wordpress.org
Tue Feb 3 15:27:25 UTC 2015
#31223: current_user_can problem with edit_themes on network
--------------------------+-----------------------------
Reporter: keraweb | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Users | Version: 4.1
Severity: normal | Keywords:
Focuses: |
--------------------------+-----------------------------
When I call current_user_can('edit_themes') I always get a false, even
when the current user is a super-admin.
I have the same problem with
current_user_can_for_blog(get_current_blog_id(), 'edit_themes')
--
Ticket URL: <https://core.trac.wordpress.org/ticket/31223>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list