Ticket #17896: general-template.diff
| File general-template.diff, 559 bytes (added by , 15 years ago) |
|---|
-
(a) general-template.php vs. (b) (current
a b 253 253 */ 254 254 function wp_login_form( $args = array() ) { 255 255 $defaults = array( 'echo' => true, 256 'redirect' => site_url( $_SERVER['REQUEST_URI'] ), // Default redirect is back to the current page256 'redirect' => ( is_ssl() ? 'https://' : 'http://' ) . $_SERVER['HTTP_HOST'] . $_SERVER['REQUEST_URI'], // Default redirect is back to the current page 257 257 'form_id' => 'loginform', 258 258 'label_username' => __( 'Username' ), 259 259 'label_password' => __( 'Password' ),