[wp-trac] [WordPress Trac] #43848: Function "user_can_access_admin_page" refactor.
WordPress Trac
noreply at wordpress.org
Sat Aug 8 20:22:49 UTC 2020
#43848: Function "user_can_access_admin_page" refactor.
-------------------------------------+-------------------------------
Reporter: rnaby | Owner: valentinbora
Type: enhancement | Status: closed
Priority: lowest | Milestone: 5.6
Component: Administration | Version:
Severity: normal | Resolution: fixed
Keywords: has-patch needs-refresh | Focuses: coding-standards
-------------------------------------+-------------------------------
Changes (by SergeyBiryukov):
* status: reopened => closed
* resolution: => fixed
Comment:
In [changeset:"48762" 48762]:
{{{
#!CommitTicketReference repository="" revision="48762"
Coding Standards: Simplify some parts of `user_can_access_admin_page()`
for better readability.
Props rnaby, valentinbora, khag7.
Fixes #43848.
}}}
--
Ticket URL: <https://core.trac.wordpress.org/ticket/43848#comment:6>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list