[wp-trac] [WordPress Trac] #19898: Create an is_login_screen() function similar to is_admin()
WordPress Trac
noreply at wordpress.org
Wed Sep 21 16:15:01 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 needs-dev-note 2nd- | Focuses:
opinion |
-------------------------------------------------+-------------------------
Comment (by SergeyBiryukov):
Replying to [comment:38 azaozz]:
> Would the function name be better as `is_login()` or maybe
`is_login_request()`, perhaps?
Thanks for flagging this!
With the considerations raised here and in comment:8:ticket:56400, I agree
`is_login_request()` makes more sense. Uploaded a new patch on #56400.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/19898#comment:42>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list