[wp-trac] [WordPress Trac] #47678: Modernize/simplify current_user_can()
WordPress Trac
noreply at wordpress.org
Tue Oct 8 18:06:51 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
PR Number: |
-------------------------------------+-------------------------------------
Comment (by pento):
Thank you for committing that, @SergeyBiryukov!
To close the loop (given that I originally reverted this change), I'm 💯
in favour of it landing now. @jrf did an excellent job of showing that the
back compat risks are minimal: it will only cause a PHP warning, there's
no functional breakage. It also likely affects a very small number of
sites.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/47678#comment:76>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list