Changeset 3626
- Timestamp:
- 11/20/2011 10:15:36 AM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/plugin/bbp-includes/bbp-common-functions.php
r3591 r3626 1184 1184 } 1185 1185 1186 $redirect_to = home_url( isset( $_SERVER['REQUEST_URI'] ) ? $_SERVER['REQUEST_URI'] : '' );1186 $redirect_to = ( is_ssl() ? 'https://' : 'http://' ) . $_SERVER['HTTP_HOST'] . $_SERVER['REQUEST_URI']; 1187 1187 1188 1188 // Sanitize $redirect_to and add it to full $url
Note: See TracChangeset
for help on using the changeset viewer.