[wp-trac] [WordPress Trac] #19898: Create a is_login() function similar to is_admin()

WordPress Trac noreply at wordpress.org
Sat Sep 3 06:34:56 UTC 2016


#19898: Create a is_login() function similar to is_admin()
----------------------------+----------------------
 Reporter:  dcowgill        |       Owner:
     Type:  enhancement     |      Status:  closed
 Priority:  normal          |   Milestone:
Component:  Administration  |     Version:  3.3
 Severity:  normal          |  Resolution:  wontfix
 Keywords:  needs-refresh   |     Focuses:
----------------------------+----------------------

Comment (by tazotodua):

 My topic (https://core.trac.wordpress.org/ticket/37620) was closed  marked
 as "DUPLICATE" of this topic.

 However, MY REQUEST IS COMPLETELY DIFFERENT!

 WHAT ON EARTH, if you add
 `define('LOGIN_PAGE_EXECUTED', true);`
 or something like that in wp-login.php

 why dont you make a great help to programmers?

 we cant determine when login page is executed (when we output login page
 on other page then wp-login.php url, like many security plugins do that)

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


More information about the wp-trac mailing list