[wp-trac] [WordPress Trac] #56400: Rename is_admin() and related functions for clarity

WordPress Trac noreply at wordpress.org
Thu Sep 22 04:33:50 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:
----------------------------------------+-----------------------------

Comment (by manfcarlo):

 I agree that the word "screen" is not appropriate to describe all
 requests, but the use of the `admin_request` pattern does not solve the
 original problem. If someone wrongly thinks "admin" refers to Super Admin
 then they may still interpret `admin_request` as being a request by a
 Super Admin.

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/56400#comment:17>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list