[wp-trac] [WordPress Trac] #19898: Create a is_login() function similar to is_admin()
WordPress Trac
noreply at wordpress.org
Tue Dec 11 00:50:30 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 |
-----------------------------------+-----------------------------
Comment (by scribu):
A `login.php` template would be great, but wouldn't you need a conditional
flag for template-redirect.php then anyway?
And also, for example, themes might want to do something like this in
header.php:
{{{
if ( is_login() ) {
// enqueue some custom js
}
}}}
--
Ticket URL: <http://core.trac.wordpress.org/ticket/19898#comment:19>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list