Changeset 5464 for trunk/bp-core/bp-core-functions.php
- Timestamp:
- 12/08/2011 03:38:31 AM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/bp-core/bp-core-functions.php
r5429 r5464 916 916 function bp_core_redirect( $location, $status = 302 ) { 917 917 global $bp; 918 919 // On some setups, passing the value of wp_get_referer() may result in an empty value for 920 // $location, which results in an error. Ensure that we have a valid URL. 921 if ( empty( $location ) ) { 922 $location = bp_get_root_domain(); 923 } 918 924 919 925 // Make sure we don't call status_header() in bp_core_do_catch_uri()
Note: See TracChangeset
for help on using the changeset viewer.