Changeset 19032
- Timestamp:
- 10/20/2011 11:40:09 PM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-includes/general-template.php
r19027 r19032 236 236 function wp_login_form( $args = array() ) { 237 237 $defaults = array( 'echo' => true, 238 'redirect' => site_url( $_SERVER['REQUEST_URI'] ), // Default redirect is back to the current page238 'redirect' => ( is_ssl() ? 'https://' : 'http://' ) . $_SERVER['HTTP_HOST'] . $_SERVER['REQUEST_URI'], // Default redirect is back to the current page 239 239 'form_id' => 'loginform', 240 240 'label_username' => __( 'Username' ),
Note: See TracChangeset
for help on using the changeset viewer.