[wp-trac] [WordPress Trac] #31518: WP_User::has_cap and 'map_meta_cap' filter

WordPress Trac noreply at wordpress.org
Fri Oct 21 13:46:52 UTC 2016


#31518: WP_User::has_cap and 'map_meta_cap' filter
----------------------------------------+-----------------------------
 Reporter:  dugi digitaly               |       Owner:  johnbillion
     Type:  defect (bug)                |      Status:  reviewing
 Priority:  normal                      |   Milestone:  Future Release
Component:  Role/Capability             |     Version:  2.0
 Severity:  normal                      |  Resolution:
 Keywords:  needs-patch has-unit-tests  |     Focuses:
----------------------------------------+-----------------------------

Comment (by johnbillion):

 In [changeset:"38860"]:
 {{{
 #!CommitTicketReference repository="" revision="38860"
 Role/Capability: Improve the test which asserts that a user can edit their
 own profile.

 All users can edit their own profile, as this ability is not linked to an
 explicit capability. Technically, it should map to the `exist` capability,
 which will be addressed at a later date.

 See #31518
 }}}

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


More information about the wp-trac mailing list