[wp-trac] [WordPress Trac] #43848: Function "user_can_access_admin_page" refactor.
WordPress Trac
noreply at wordpress.org
Fri Feb 14 10:13:58 UTC 2020
#43848: Function "user_can_access_admin_page" refactor.
-------------------------------------+-----------------------------
Reporter: rnaby | Owner: valentinbora
Type: enhancement | Status: accepted
Priority: lowest | Milestone: Future Release
Component: Administration | Version:
Severity: normal | Resolution:
Keywords: has-patch needs-refresh | Focuses:
-------------------------------------+-----------------------------
Changes (by valentinbora):
* keywords: has-patch needs-testing => has-patch needs-refresh
* owner: (none) => valentinbora
* priority: normal => lowest
* status: new => accepted
* milestone: Awaiting Review => Future Release
Comment:
Thanks for the patch @rnaby and sorry for the delay here. Unfortunately,
the patch needs a refresh as it no longer applies cleanly onto trunk.
For reference, coding standards relevant docs:
- https://developer.wordpress.org/coding-standards/wordpress-coding-
standards/php/
- https://www.php-fig.org/psr/psr-12/#51-if-elseif-else
--
Ticket URL: <https://core.trac.wordpress.org/ticket/43848#comment:2>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list