[wp-trac] [WordPress Trac] #47678: Modernize/simplify current_user_can()

WordPress Trac noreply at wordpress.org
Sun Sep 15 11:30:36 UTC 2019


#47678: Modernize/simplify current_user_can()
-------------------------------------+-------------------------------------
 Reporter:  jrf                      |       Owner:  pento
     Type:  enhancement              |      Status:  assigned
 Priority:  normal                   |   Milestone:  5.3
Component:  Role/Capability          |     Version:  trunk
 Severity:  normal                   |  Resolution:
 Keywords:  has-patch has-unit-      |     Focuses:  performance, coding-
  tests commit needs-dev-note        |  standards
-------------------------------------+-------------------------------------

Comment (by SergeyBiryukov):

 In [changeset:"46134" 46134]:
 {{{
 #!CommitTicketReference repository="" revision="46134"
 Code Modernisation: Replace `call_user_func_array()` in `wp-includes/nav-
 menu-template.php` with a dynamic function call.

 Props jrf.
 See #47678.
 }}}

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


More information about the wp-trac mailing list