Skip to:
Content

BuddyPress.org


Ignore:
Timestamp:
02/21/2012 11:31:32 PM (13 years ago)
Author:
boonebgorges
Message:

Use bp_get_signup_page() when constructing the 'create an account' link in the bp-default sidebar.
Prevents incorrect registration links when using the login widget on non-root blogs.
Also added some PHPDoc.
Fixes #4032.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/bp-themes/bp-default/sidebar.php

    r5771 r5824  
    3535            <p id="login-text">
    3636
    37                 <?php printf( __( 'Please <a href="%s" title="Create an account">create an account</a> to get started.', 'buddypress' ), site_url( bp_get_signup_slug() . '/' ) ); ?>
     37                <?php printf( __( 'Please <a href="%s" title="Create an account">create an account</a> to get started.', 'buddypress' ), bp_get_signup_page() ); ?>
    3838
    3939            </p>
Note: See TracChangeset for help on using the changeset viewer.