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

WordPress Trac noreply at wordpress.org
Thu Oct 3 06:50:38 UTC 2019


#47678: Modernize/simplify current_user_can()
-------------------------------------+-------------------------------------
 Reporter:  jrf                      |       Owner:  pento
     Type:  task (blessed)           |      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 jrf):

 What to do with the last two remaining patches has been discussed in Slack
 (see above mentioned logs) and it's been agreed that they are OK to go
 into WP 5.3.

 Prerequisite for merging this is that the following function gets adjusted
 in Meta:

 https://meta.trac.wordpress.org/browser/sites/trunk/wordpress.org/public_html
 /wp-content/plugins/handbook/inc/walker.php#L31

 Basically, the same changes as outlined in patch `47678-Walker-walk.patch`
 should be applied to the code in Meta.

 Anyone with commit rights to Meta want to make the change ?

 The change to Meta can go in any time, the change to Core can follow as
 soon as the Meta change has been made.

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


More information about the wp-trac mailing list