Changeset 7028 for trunk/tests/includes/testcase.php
- Timestamp:
- 05/09/2013 01:05:45 AM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/tests/includes/testcase.php
r7015 r7028 38 38 function go_to( $url ) { 39 39 // Set this for bp_core_set_uri_globals() 40 $GLOBALS['_SERVER']['REQUEST_URI'] = $url = str_replace( network_home_url(), '', $url );40 $GLOBALS['_SERVER']['REQUEST_URI'] = $url = str_replace( untrailingslashit( network_home_url() ), '', $url ); 41 41 42 42 // note: the WP and WP_Query classes like to silently fetch parameters
Note: See TracChangeset
for help on using the changeset viewer.