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

WordPress Trac wp-trac at lists.automattic.com
Wed Oct 10 13:49:47 UTC 2012


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

 * keywords:  has-patch 2nd-opinion close => has-patch 2nd-opinion


Comment:

 Replying to [comment:6 nacin]:
 > That means that is_login() simply returns `$GLOBALS['pagenow'] == 'wp-
 login.php`, which is not really much of a shortcut. Doesn't seem all that
 needed, in that case.

 It would be more useful if it had a filter, which could be used for
 defining custom login areas for themes.

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


More information about the wp-trac mailing list