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

WordPress Trac noreply at wordpress.org
Thu Oct 18 06:45:07 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 needs-unit-tests  |
----------------------------------------+-----------------------------
Changes (by scribu):

 * keywords:  has-patch 2nd-opinion => has-patch needs-unit-tests


Comment:

 [attachment:19898.3.diff]:

 * renames is_login() to is_login_page() and introduces is_register_page()
 * adds necessary get_current_url() and wp_register_url() - see #17950

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


More information about the wp-trac mailing list