Changeset 13436 for trunk/src/bp-core/bp-core-functions.php
- Timestamp:
- 03/15/2023 08:16:46 AM (21 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/bp-core/bp-core-functions.php
r13433 r13436 1116 1116 function bp_core_get_root_domain() { 1117 1117 _deprecated_function( __FUNCTION__, '12.0.0', 'bp_rewrites_get_root_url()' ); 1118 1119 1118 $domain = bp_rewrites_get_root_url(); 1120 1119 … … 1145 1144 // have a valid URL. 1146 1145 if ( empty( $location ) ) { 1147 $location = bp_get_root_ domain();1146 $location = bp_get_root_url(); 1148 1147 } 1149 1148 … … 2530 2529 2531 2530 if ( empty( $_POST['search-terms'] ) ) { 2532 bp_core_redirect( bp_get_root_ domain() );2531 bp_core_redirect( bp_get_root_url() ); 2533 2532 return; 2534 2533 } … … 2574 2573 2575 2574 if ( empty( $slug ) && 'posts' != $search_which ) { 2576 bp_core_redirect( bp_get_root_ domain() );2575 bp_core_redirect( bp_get_root_url() ); 2577 2576 return; 2578 2577 } … … 4368 4367 } else { 4369 4368 if ( bp_is_active( 'settings' ) ) { 4370 $redirect_to = sprintf( 4371 '%s%s/notifications/', 4372 bp_members_get_user_url( $raw_user_id ), 4373 bp_get_settings_slug() 4369 $redirect_to = bp_members_get_user_url( 4370 $raw_user_id, 4371 array( 4372 'single_item_component' => bp_rewrites_get_slug( 'members', 'member_settings', bp_get_settings_slug() ), 4373 'single_item_action' => bp_rewrites_get_slug( 'members', 'member_settings_notifications', 'notifications' ), 4374 ) 4374 4375 ); 4375 4376 } else {
Note: See TracChangeset
for help on using the changeset viewer.