[wp-trac] [WordPress Trac] #43877: Do not run unnecessary `user_has_cap` filter if the caps to check for include `do_not_allow` already

WordPress Trac noreply at wordpress.org
Fri Apr 27 12:28:05 UTC 2018


#43877: Do not run unnecessary `user_has_cap` filter if the caps to check for
include `do_not_allow` already
------------------------------------------+------------------------------
 Reporter:  flixos90                      |       Owner:  (none)
     Type:  defect (bug)                  |      Status:  new
 Priority:  normal                        |   Milestone:  Awaiting Review
Component:  Role/Capability               |     Version:
 Severity:  normal                        |  Resolution:
 Keywords:  needs-patch needs-unit-tests  |     Focuses:
------------------------------------------+------------------------------
Changes (by flixos90):

 * Attachment "43877.diff" added.


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


More information about the wp-trac mailing list