[wp-trac] [WordPress Trac] #35007: current_user_can('author') and current_user_can('contributor') returns true even if current user is administrator in multisite installation

WordPress Trac noreply at wordpress.org
Fri Dec 11 10:41:18 UTC 2015


#35007: current_user_can('author') and current_user_can('contributor') returns true
even if current user is administrator in multisite installation
--------------------------+-----------------------------
 Reporter:  edville101    |      Owner:
     Type:  defect (bug)  |     Status:  new
 Priority:  normal        |  Milestone:  Awaiting Review
Component:  General       |    Version:  4.4
 Severity:  normal        |   Keywords:
  Focuses:                |
--------------------------+-----------------------------
 After I updated two different multi-site website to WP 4.4,
 current_user_can('author') and current_user_can('contributor') are
 returning true even if the current user is administrator.

--
Ticket URL: <https://core.trac.wordpress.org/ticket/35007>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list