Changeset 527 for trunk/bp-wire.php
- Timestamp:
- 11/10/2008 11:22:03 AM (18 years ago)
- File:
-
- 1 edited
-
trunk/bp-wire.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/bp-wire.php
r518 r527 96 96 97 97 if ( !strpos( $_SERVER['HTTP_REFERER'], $bp['wire']['slug'] ) ) { 98 wp_redirect( $bp['current_domain'] );98 bp_core_redirect( $bp['current_domain'] ); 99 99 } else { 100 wp_redirect( $bp['current_domain']. $bp['wire']['slug'] );100 bp_core_redirect( $bp['current_domain']. $bp['wire']['slug'] ); 101 101 } 102 102 } … … 118 118 119 119 if ( !strpos( $_SERVER['HTTP_REFERER'], $bp['wire']['slug'] ) ) { 120 wp_redirect( $bp['current_domain'] );120 bp_core_redirect( $bp['current_domain'] ); 121 121 } else { 122 wp_redirect( $bp['current_domain']. $bp['wire']['slug'] );122 bp_core_redirect( $bp['current_domain']. $bp['wire']['slug'] ); 123 123 } 124 124 }
Note:
See TracChangeset
for help on using the changeset viewer.