[wp-trac] [WordPress Trac] #47678: Modernize/simplify current_user_can()
WordPress Trac
noreply at wordpress.org
Sat Jul 20 18:44:10 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
-------------------------------------+-------------------------------------
Changes (by jrf):
* Attachment "47678-more-select-functions-in-wp-includes-deprecated.patch"
added.
Simplify & modernize functions in wp-includes/deprecated.php [2] While
these functions are deprecated, they can still get a minor performance
boost in case they are being called. For these functions I've verified
that they **are** still being called by > 1000 plugins, so IMO boosting
their performance a little is warranted.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/47678>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list