Changeset 6760 for trunk/src/includes/common/template.php
- Timestamp:
- 12/21/2017 07:14:09 PM (8 years ago)
- File:
-
- 1 edited
-
trunk/src/includes/common/template.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/includes/common/template.php
r6745 r6760 1253 1253 if ( empty( $redirect_to ) ) { 1254 1254 if ( isset( $_SERVER['REQUEST_URI'] ) ) { 1255 $redirect_to = ( is_ssl() ? 'https://' : 'http://') . $_SERVER['HTTP_HOST'] . $_SERVER['REQUEST_URI'];1255 $redirect_to = bbp_get_url_scheme() . $_SERVER['HTTP_HOST'] . $_SERVER['REQUEST_URI']; 1256 1256 } else { 1257 1257 $redirect_to = wp_get_referer();
Note: See TracChangeset
for help on using the changeset viewer.