Skip to:
Content

BuddyPress.org


Ignore:
Timestamp:
02/10/2015 12:12:52 AM (9 years ago)
Author:
johnjamesjacoby
Message:

Replace all references to bp_get_root_domain() . '/' . bp_get_members_root_slug() with bp_get_members_directory_permalink(), ensuring all usages and filters are applied uniformly. See #4954.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/bp-core/bp-core-catchuri.php

    r9428 r9467  
    649649        // the members directory to avoid redirect loops
    650650        } elseif ( bp_is_register_page() && 'register' == $front_page_component && is_user_logged_in() ) {
    651             $bp->canonical_stack['canonical_url'] = apply_filters( 'bp_loggedin_register_page_redirect_to', trailingslashit( bp_get_root_domain() . '/' . bp_get_members_root_slug() ) );
     651            $bp->canonical_stack['canonical_url'] = apply_filters( 'bp_loggedin_register_page_redirect_to', bp_get_members_directory_permalink() );
    652652        }
    653653    }
Note: See TracChangeset for help on using the changeset viewer.