[wp-trac] [WordPress Trac] #19898: Create an is_login_screen() function similar to is_admin()
WordPress Trac
noreply at wordpress.org
Mon Oct 10 14:01:11 UTC 2022
#19898: Create an is_login_screen() function similar to is_admin()
------------------------------------------------+--------------------------
Reporter: dcowgill | Owner:
| SergeyBiryukov
Type: enhancement | Status: reopened
Priority: normal | Milestone: 6.1
Component: Login and Registration | Version: 3.3
Severity: normal | Resolution:
Keywords: has-patch 2nd-opinion has-dev-note | Focuses:
------------------------------------------------+--------------------------
Comment (by SergeyBiryukov):
Replying to [comment:38 azaozz]:
> Would the function name be better as `is_login()` or maybe
`is_login_request()`, perhaps?
My concern with `is_login_request()` is that it could be mistaken for a
request that does the actual authentication, i.e. `wp_signon()`. So I
think I'm leaning towards `is_login()` here.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/19898#comment:47>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list