Changeset 13436 for trunk/src/bp-core/bp-core-catchuri.php
- Timestamp:
- 03/15/2023 08:16:46 AM (2 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/bp-core/bp-core-catchuri.php
r13433 r13436 632 632 * logging in. Default: the URL originally requested. 633 633 * @type string $root The root URL of the site, used in case of error or mode 1 redirects. 634 * Default: the value of {@link bp_get_root_ domain()}.634 * Default: the value of {@link bp_get_root_url()}. 635 635 * @type string $message An error message to display to the user on the log-in page. 636 636 * Default: "You must log in to access the page you requested." … … 647 647 'mode' => 2, // 1 = $root, 2 = wp-login.php. 648 648 'redirect' => $redirect_url, // the URL you get redirected to when a user successfully logs in. 649 'root' => bp_get_root_ domain(),// the landing page you get redirected to when a user doesn't have access.649 'root' => bp_get_root_url(), // the landing page you get redirected to when a user doesn't have access. 650 650 'message' => __( 'You must log in to access the page you requested.', 'buddypress' ) 651 651 ); … … 908 908 */ 909 909 if ( false !== $front_page_component && bp_is_current_component( $front_page_component ) && ! bp_current_action() && ! bp_get_current_member_type() ) { 910 $bp->canonical_stack['canonical_url'] = trailingslashit( bp_get_root_domain());910 $bp->canonical_stack['canonical_url'] = bp_get_root_url(); 911 911 912 912 // Except when the front page is set to the registration page
Note: See TracChangeset
for help on using the changeset viewer.