[wp-trac] [WordPress Trac] #56400: Rename is_admin() and related functions for clarity
WordPress Trac
noreply at wordpress.org
Wed Sep 21 15:19:34 UTC 2022
#56400: Rename is_admin() and related functions for clarity
----------------------------------------+-----------------------------
Reporter: SergeyBiryukov | Owner: SergeyBiryukov
Type: enhancement | Status: accepted
Priority: normal | Milestone: 6.1
Component: Bootstrap/Load | Version:
Severity: normal | Resolution:
Keywords: needs-dev-note 2nd-opinion | Focuses:
----------------------------------------+-----------------------------
Changes (by johnbillion):
* type: task (blessed) => enhancement
Comment:
I agree with @azaozz that these new functions don't appear to add any
clarity and the `_screen` suffix isn't always appropriate (eg in Ajax
context). They also should not have been added to the 6.1 milestone this
close to beta.
I recommend that these new functions are reverted for 6.1 and we'll
revisit them in 6.2.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/56400#comment:10>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list