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

WordPress Trac wp-trac at lists.automattic.com
Sun Aug 5 21:47:42 UTC 2012


#19898: Create a is_login() function similar to is_admin()
----------------------------+--------------------
 Reporter:  dcowgill        |       Owner:
     Type:  enhancement     |      Status:  new
 Priority:  normal          |   Milestone:  3.5
Component:  Administration  |     Version:  3.3.1
 Severity:  normal          |  Resolution:
 Keywords:  has-patch       |
----------------------------+--------------------
Changes (by wonderboymusic):

 * keywords:  needs-patch => has-patch


Comment:

 The attached patch does exactly what WP_ADMIN does for WP_LOGIN - adds
 is_login() which will be true for any page rendered by wp-login.php or any
 action handled by it

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/19898#comment:5>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list