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

WordPress Trac noreply at wordpress.org
Thu Oct 18 17:21:11 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  |
----------------------------------------+-----------------------------

Comment (by nacin):

 While get_current_url() might be a nice-to-have, it isn't needed here —
 `remove_query_arg( array( 'action', 'redirect_to', 'loggedout' )` will
 automatically act against the current URL.

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


More information about the wp-trac mailing list