[wp-trac] [WordPress Trac] #38130: Multisite bug with current_user_can() and subscriber

WordPress Trac noreply at wordpress.org
Thu Sep 22 17:19:23 UTC 2016


#38130: Multisite bug with current_user_can() and subscriber
-------------------------------+------------------------------
 Reporter:  JazZ7              |       Owner:
     Type:  defect (bug)       |      Status:  new
 Priority:  normal             |   Milestone:  Awaiting Review
Component:  Users              |     Version:  4.6.1
 Severity:  normal             |  Resolution:
 Keywords:  reporter-feedback  |     Focuses:  multisite
-------------------------------+------------------------------
Changes (by johnjamesjacoby):

 * keywords:   => reporter-feedback


Comment:

 > On multisite, Subscribers have upload_files permission

 I don't think this is accurate. Can you point to where you're seeing this
 capability applied or mapped?

 `schema.php` doesn't add it to user roles, and I don't see anything in
 `map_meta_cap()`.

--
Ticket URL: <https://core.trac.wordpress.org/ticket/38130#comment:2>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list