Changeset 5320 for trunk/bp-core/bp-core-functions.php
- Timestamp:
- 11/09/2011 06:54:53 AM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/bp-core/bp-core-functions.php
r5309 r5320 831 831 * 832 832 * @package BuddyPress Core 833 * @global $bp_no_status_set Makes sure that there are no conflicts with status_header() called in bp_core_do_catch_uri()834 * @uses get_themes()835 * @ return An array containing all of the themes.833 * @global BuddyPress $bp Makes sure that there are no conflicts with 834 * status_header() called in bp_core_do_catch_uri() 835 * @uses wp_redirect() 836 836 */ 837 837 function bp_core_redirect( $location, $status = 302 ) { 838 global $bp _no_status_set;838 global $bp; 839 839 840 840 // Make sure we don't call status_header() in bp_core_do_catch_uri() 841 841 // as this conflicts with wp_redirect() 842 $bp _no_status_set = true;842 $bp->no_status_set = true; 843 843 844 844 wp_redirect( $location, $status );
Note: See TracChangeset
for help on using the changeset viewer.